# CVE-2021-47401: ipack: ipoctal: fix stack information leak

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 17% of CVEs (2026-11-30)
- Published: 2024-05-21T15:03:56.024Z
- Modified: 2026-08-05T08:47:41.078Z
- Weaknesses: CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ipack: ipoctal: fix stack information leak

The tty driver name is used also after registering the driver and must
specifically not be allocated on the stack to avoid leaking information
to user space (or triggering an oops).

Drivers should not try to encode topology information in the tty device
name but this one snuck in through staging without anyone noticing and
another driver has since copied this malpractice.

Fixing the ABI is a separate issue, but this at least plugs the security
hole.

(As written by CVE List.)

## Affected

- Linux Linux: from ba4dc61fe8c545a5d6a68b63616776556b771f51 before acb96e782bad427ca4bb1bd94af660acd1462380; from ba4dc61fe8c545a5d6a68b63616776556b771f51 before 741ea2670e021350e54f491106bdaa22dc50e6a0; from ba4dc61fe8c545a5d6a68b63616776556b771f51 before 2725925982dc96a78069cd118ea3d66759bfdad7; from ba4dc61fe8c545a5d6a68b63616776556b771f51 before 829f13d6079cf7a2465522f39acb43033e9b320d; from ba4dc61fe8c545a5d6a68b63616776556b771f51 before 8657158a3b68c85234e6da3d8eae33d6183588b7; from ba4dc61fe8c545a5d6a68b63616776556b771f51 before 5f6a309a699675680df15d9b6d389114515b4426; from ba4dc61fe8c545a5d6a68b63616776556b771f51 before 0a9c36a2e06a249acbed64e8e0b84637c2ad7575; from ba4dc61fe8c545a5d6a68b63616776556b771f51 before a89936cce87d60766a75732a9e7e25c51164f47c; 3.5 (not affected: before 3.5; from 4.4.286 up to 4.4.*; from 4.9.285 up to 4.9.*; from 4.14.249 up to 4.14.*; from 4.19.209 up to 4.19.*; from 5.4.151 up to 5.4.*; from 5.10.71 up to 5.10.*; from 5.14.10 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: from 3.5 before 4.4.286; from 4.5 before 4.9.285; from 4.10 before 4.14.249; from 4.15 before 4.19.209; from 4.20 before 5.4.151; from 5.5 before 5.10.71; from 5.11 before 5.14.10; 5.15

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380> (patch)
- <https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0> (patch)
- <https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7> (patch)
- <https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d> (patch)
- <https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7> (patch)
- <https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426> (patch)
- <https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575> (patch)
- <https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c> (patch)

## Sources

- CVE List: [CVE-2021-47401](https://www.cve.org/CVERecord?id=CVE-2021-47401), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-47401](https://nvd.nist.gov/vuln/detail/CVE-2021-47401), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-47401 · Whole record: https://cve.day/CVE-2021-47401.json · Rebuilt by cve.day 2026-11-25T22:58:08.837Z
