CVE-2021-47401 json
ipack: ipoctal: fix stack information leak
published 2024-05-21 2 y ago modified 2026-08-05 3 mo ago also EUVD-2021-34406
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.4.286, 4.9.285, 4.14.249, 4.19.209, 5.4.151, 5.10.71, 5.14.10, 5.15
- linux Debian 14, Debian 13, Debian 12 5.14.12-1
debian advisories DEBIAN-CVE-2021-47401
- linux Ubuntu 18.04 LTS 4.15.0-163.171
- linux Ubuntu 20.04 LTS 5.4.0-91.102
- linux-aws Ubuntu 18.04 LTS 4.15.0-1116.123
- linux-aws Ubuntu 20.04 LTS 5.4.0-1060.63
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1058.62
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1008.9
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1103.105
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1050.52
ubuntu advisories UBUNTU-CVE-2021-47401
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-source SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-default SLE Workstation Extension 15 SP5, SLE Module for Legacy 15 SP5, SLE Module for Basesystem 15 SP5 +4 more 5.14.21-150500.55.68.1
- kernel-kvmsmall openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
suse advisories SUSE-SU-2024:2190-1SUSE-SU-2024:2189-1SUSE-SU-2024:2184-1SUSE-SU-2024:2019-1SUSE-SU-2024:2011-1SUSE-SU-2024:2008-1
- git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380 commit
- git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0 commit
- git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7 commit
- git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d commit
- git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7 commit
- git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426 commit
- git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575 commit
- git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-47401 updated cvss 4.4
kernel: ipack: ipoctal: fix stack information leak
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-668 Exposure of Resource to Wrong Sphere
- Technology feeds
References
-
git.kernel.org
/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380
patch
-
git.kernel.org
/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0
patch
-
git.kernel.org
/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7
patch
-
git.kernel.org
/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d
patch
-
git.kernel.org
/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7
patch
-
git.kernel.org
/stable/c/5f6a309a699675680df15d9b6d389114515b4426
patch
-
git.kernel.org
/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575
patch
-
git.kernel.org
/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c
patch
Sources
- CVE List CVE-2021-47401
- NVD CVE-2021-47401
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.