{
   "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 memory leak in smsc75xx_bind\n\nSyzbot reported memory leak in smsc75xx_bind().\nThe problem was is non-freed memory in case of\nerrors after memory allocation.\n\nbacktrace:\n  [<ffffffff84245b62>] kmalloc include/linux/slab.h:556 [inline]\n  [<ffffffff84245b62>] kzalloc include/linux/slab.h:686 [inline]\n  [<ffffffff84245b62>] smsc75xx_bind+0x7a/0x334 drivers/net/usb/smsc75xx.c:1460\n  [<ffffffff82b5b2e6>] usbnet_probe+0x3b6/0xc30 drivers/net/usb/usbnet.c:1728"
            }
         ],
         "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": "d0cad871703b",
                     "lessThan": "200dbfcad801",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d0cad871703b",
                     "lessThan": "22c840596af0",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d0cad871703b",
                     "lessThan": "9e6b8c1ff9d9",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d0cad871703b",
                     "lessThan": "9e6a3eccb287",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d0cad871703b",
                     "lessThan": "b95fb96e6339",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d0cad871703b",
                     "lessThan": "635ac38b3625",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d0cad871703b",
                     "lessThan": "70c886ac93f8",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d0cad871703b",
                     "lessThan": "46a8b29c6306",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/usb/smsc75xx.c"
               ],
               "versions": [
                  {
                     "version": "2.6.34",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "2.6.34",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.4.271",
                     "lessThanOrEqual": "4.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.9.271",
                     "lessThanOrEqual": "4.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.235",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.193",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.124",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.42",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.12.9",
                     "lessThanOrEqual": "5.12.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.13",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/200dbfcad8011e50c3cec269ed7b980836eeb1fa"
            },
            {
               "url": "https://git.kernel.org/stable/c/22c840596af0c09068b6cf948616e6496e59e07f"
            },
            {
               "url": "https://git.kernel.org/stable/c/9e6b8c1ff9d997e1fa16cbd2d60739adf6dc1bbc"
            },
            {
               "url": "https://git.kernel.org/stable/c/9e6a3eccb28779710cbbafc4f4258d92509c6d07"
            },
            {
               "url": "https://git.kernel.org/stable/c/b95fb96e6339e34694dd578fb6bde3575b01af17"
            },
            {
               "url": "https://git.kernel.org/stable/c/635ac38b36255d3cfb8312cf7c471334f4d537e0"
            },
            {
               "url": "https://git.kernel.org/stable/c/70c886ac93f87ae7214a0c69151a28a8075dd95b"
            },
            {
               "url": "https://git.kernel.org/stable/c/46a8b29c6306d8bbfd92b614ef65a47c900d8e70"
            }
         ],
         "title": "net: usb: fix memory leak in smsc75xx_bind",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47171",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
