{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-47401","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-05-21T14:58:30.816Z","datePublished":"2024-05-21T15:03:56.024Z","dateUpdated":"2025-05-04T07:10:12.360Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T07:10:12.360Z"},"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":"ba4dc61fe8c545a5d6a68b63616776556b771f51","lessThan":"acb96e782bad427ca4bb1bd94af660acd1462380","status":"affected","versionType":"git"},{"version":"ba4dc61fe8c545a5d6a68b63616776556b771f51","lessThan":"741ea2670e021350e54f491106bdaa22dc50e6a0","status":"affected","versionType":"git"},{"version":"ba4dc61fe8c545a5d6a68b63616776556b771f51","lessThan":"2725925982dc96a78069cd118ea3d66759bfdad7","status":"affected","versionType":"git"},{"version":"ba4dc61fe8c545a5d6a68b63616776556b771f51","lessThan":"829f13d6079cf7a2465522f39acb43033e9b320d","status":"affected","versionType":"git"},{"version":"ba4dc61fe8c545a5d6a68b63616776556b771f51","lessThan":"8657158a3b68c85234e6da3d8eae33d6183588b7","status":"affected","versionType":"git"},{"version":"ba4dc61fe8c545a5d6a68b63616776556b771f51","lessThan":"5f6a309a699675680df15d9b6d389114515b4426","status":"affected","versionType":"git"},{"version":"ba4dc61fe8c545a5d6a68b63616776556b771f51","lessThan":"0a9c36a2e06a249acbed64e8e0b84637c2ad7575","status":"affected","versionType":"git"},{"version":"ba4dc61fe8c545a5d6a68b63616776556b771f51","lessThan":"a89936cce87d60766a75732a9e7e25c51164f47c","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":"semver"},{"version":"4.4.286","lessThanOrEqual":"4.4.*","status":"unaffected","versionType":"semver"},{"version":"4.9.285","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.249","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.209","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.151","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.71","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.14.10","lessThanOrEqual":"5.14.*","status":"unaffected","versionType":"semver"},{"version":"5.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"4.4.286"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"4.9.285"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"4.14.249"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"4.19.209"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"5.4.151"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"5.10.71"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"5.14.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5","versionEndExcluding":"5.15"}]}]}],"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-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-47401","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-21T17:32:53.103904Z"}}}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:15:10.169Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T05:39:59.319Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c","tags":["x_transferred"]}]}]}}