CVE-2021-47401

ipack: ipoctal: fix stack information leak

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 03:03 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.5 ≤ v < 4.14.2493.5 ≤ v < 4.19.2093.5 ≤ v < 4.4.2863.5 ≤ v < 4.9.2853.5 ≤ v < 5.10.713.5 ≤ v < 5.14.103.5 ≤ v < 5.153.5 ≤ v < 5.4.1514.10 ≤ v < 4.14.2494.15 ≤ v < 4.19.2094.20 ≤ v < 5.4.1514.5 ≤ v < 4.9.2855.11 ≤ v < 5.14.105.5 ≤ v < 5.10.715.15 rc15.15 rc25.15 rc3ba4dc61fe8c545a5d6a68b63616776556b771f51
Vendor states this is fixed in 0a9c36a2e06a249acbed64e8e0b84637c2ad7575 (fixed)
Vendor states this is fixed in 2725925982dc96a78069cd118ea3d66759bfdad7 (fixed)
Vendor states this is fixed in 5f6a309a699675680df15d9b6d389114515b4426 (fixed)
Vendor states this is fixed in 741ea2670e021350e54f491106bdaa22dc50e6a0 (fixed)
Vendor states this is fixed in 829f13d6079cf7a2465522f39acb43033e9b320d (fixed)
Vendor states this is fixed in 8657158a3b68c85234e6da3d8eae33d6183588b7 (fixed)
Vendor states this is fixed in a89936cce87d60766a75732a9e7e25c51164f47c (fixed)
Vendor states this is fixed in acb96e782bad427ca4bb1bd94af660acd1462380 (fixed)
Vendor states this is fixed in 3.5 (unaffected)
Vendor states this is fixed in 4.14.249 (unaffected)
Vendor states this is fixed in 4.19.209 (unaffected)
Vendor states this is fixed in 4.4.286 (unaffected)
Vendor states this is fixed in 4.9.285 (unaffected)
Vendor states this is fixed in 5.10.71 (unaffected)
Vendor states this is fixed in 5.14.10 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.4.151 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-668

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card