{"dataType":"CVE_RECORD","dataVersion":"5.2","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":"2026-08-05T08:47:41.078Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T08:47:41.078Z"},"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."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires local access to read /proc/tty/drivers or open the ipoctal tty after the IndustryPack IP-OCTAL driver has probed; it is not reachable via network packets or physical plug-in interaction alone.\nAC:L - Any local user can reliably trigger the dangling driver->name read by reading world-readable /proc/tty/drivers; no race or attacker-uncontrollable condition is required.\nPR:L - /proc/tty/drivers is world-readable, so an unprivileged local user can obtain the leaked stack contents without root or special capabilities.\nUI:N - No victim action is required; the attacker independently reads /proc or opens the device once the hardware driver is bound.\nS:U - Impact is confined to the host kernel's confidentiality/availability; this is a standard in-kernel bug with no VM, IOMMU, or other security-authority boundary crossed.\nC:H - The dangling name pointer is printed with %s into /proc/tty/drivers, disclosing reused kernel stack memory (pointers and other secrets) without a strict small bound, enabling KASLR bypass and broader info disclosure.\nI:N - The defect is a dangling read of stack memory used as a C string; it does not provide a controlled write or integrity primitive against kernel or user data.\nA:H - The fix commit explicitly notes that using the stack-backed name after return can trigger a kernel oops (e.g., when the underlying stack mapping is gone under VMAP_STACK), which is a full availability impact."}]}],"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"]}]}]}}