Vulnerability · Published May 21, 2024 · Assigned by Linux

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

High 7.1

In plain English

A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.3%top 83.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.14.12-1DEBIAN-CVE-2021-47401
Debian:13linux5.14.12-1DEBIAN-CVE-2021-47401
Debian:14linux5.14.12-1DEBIAN-CVE-2021-47401
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2021-47401
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2021-47401
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2021-47401

Affected products (as reported)

VendorProductVersions
Linux Linux ba4dc61fe8c545a5d6a68b63616776556b771f51 – before acb96e782bad427ca4bb1bd94af660acd1462380ba4dc61fe8c545a5d6a68b63616776556b771f51 – before 741ea2670e021350e54f491106bdaa22dc50e6a0ba4dc61fe8c545a5d6a68b63616776556b771f51 – before 2725925982dc96a78069cd118ea3d66759bfdad7ba4dc61fe8c545a5d6a68b63616776556b771f51 – before 829f13d6079cf7a2465522f39acb43033e9b320dba4dc61fe8c545a5d6a68b63616776556b771f51 – before 8657158a3b68c85234e6da3d8eae33d6183588b7ba4dc61fe8c545a5d6a68b63616776556b771f51 – before 5f6a309a699675680df15d9b6d389114515b4426ba4dc61fe8c545a5d6a68b63616776556b771f51 – before 0a9c36a2e06a249acbed64e8e0b84637c2ad7575ba4dc61fe8c545a5d6a68b63616776556b771f51 – before a89936cce87d60766a75732a9e7e25c51164f47c
Linux Linux 3.5

References