{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipack: ipoctal: fix stack information leak\n\nThe tty driver name is used also after registering the driver and must\nspecifically not be allocated on the stack to avoid leaking information\nto user space (or triggering an oops).\n\nDrivers should not try to encode topology information in the tty device\nname but this one snuck in through staging without anyone noticing and\nanother driver has since copied this malpractice.\n\nFixing the ABI is a separate issue, but this at least plugs the security\nhole."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/ipack/devices/ipoctal.c"
               ],
               "versions": [
                  {
                     "version": "ba4dc61fe8c5",
                     "lessThan": "acb96e782bad",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ba4dc61fe8c5",
                     "lessThan": "741ea2670e02",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ba4dc61fe8c5",
                     "lessThan": "2725925982dc",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ba4dc61fe8c5",
                     "lessThan": "829f13d6079c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ba4dc61fe8c5",
                     "lessThan": "8657158a3b68",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ba4dc61fe8c5",
                     "lessThan": "5f6a309a6996",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ba4dc61fe8c5",
                     "lessThan": "0a9c36a2e06a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ba4dc61fe8c5",
                     "lessThan": "a89936cce87d",
                     "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/ipack/devices/ipoctal.c"
               ],
               "versions": [
                  {
                     "version": "3.5",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "3.5",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.4.286",
                     "lessThanOrEqual": "4.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.9.285",
                     "lessThanOrEqual": "4.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.249",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.209",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.151",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.71",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.14.10",
                     "lessThanOrEqual": "5.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380"
            },
            {
               "url": "https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0"
            },
            {
               "url": "https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7"
            },
            {
               "url": "https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d"
            },
            {
               "url": "https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7"
            },
            {
               "url": "https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426"
            },
            {
               "url": "https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575"
            },
            {
               "url": "https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c"
            }
         ],
         "title": "ipack: ipoctal: fix stack information leak",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47401",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
