{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: fix possible use-after-free in smsc75xx_bind\n\nThe commit 46a8b29c6306 (\"net: usb: fix memory leak in smsc75xx_bind\")\nfails to clean up the work scheduled in smsc75xx_reset->\nsmsc75xx_set_multicast, which leads to use-after-free if the work is\nscheduled to start after the deallocation. In addition, this patch\nalso removes a dangling pointer - dev->data[0].\n\nThis patch calls cancel_work_sync to cancel the scheduled work and set\nthe dangling pointer to NULL."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/usb/smsc75xx.c"
               ],
               "versions": [
                  {
                     "version": "200dbfcad801",
                     "lessThan": "7cc8b2e05fce",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "22c840596af0",
                     "lessThan": "64160d1741a3",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9e6b8c1ff9d9",
                     "lessThan": "c4e3be2e7742",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9e6a3eccb287",
                     "lessThan": "2fc8300c9cfa",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "b95fb96e6339",
                     "lessThan": "4252bf6c2b24",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "635ac38b3625",
                     "lessThan": "570a52cf3e01",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "70c886ac93f8",
                     "lessThan": "14616c372a7b",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "46a8b29c6306",
                     "lessThan": "56b786d86694",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/usb/smsc75xx.c"
               ],
               "versions": [
                  {
                     "version": "4.4.271",
                     "lessThan": "4.4.274",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.9.271",
                     "lessThan": "4.9.274",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.235",
                     "lessThan": "4.14.238",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.193",
                     "lessThan": "4.19.196",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.124",
                     "lessThan": "5.4.128",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.42",
                     "lessThan": "5.10.46",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.12.9",
                     "lessThan": "5.12.13",
                     "status": "affected",
                     "versionType": "custom"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b"
            },
            {
               "url": "https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504"
            },
            {
               "url": "https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b"
            },
            {
               "url": "https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b"
            },
            {
               "url": "https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b"
            },
            {
               "url": "https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb"
            },
            {
               "url": "https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d"
            },
            {
               "url": "https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d"
            }
         ],
         "title": "net: usb: fix possible use-after-free in smsc75xx_bind",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47239",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
