CVE-2021-47401
JSON

7.1high

ipack: ipoctal: fix stack information leak

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.32% (higher than 17% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List
linux linux_kernelfrom 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.15NVD

All scores

Linux7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-668

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ipack: ipoctal: corrige la fuga de información de la pila. El nombre del controlador tty también se usa después de registrar el controlador y específicamente no debe asignarse en la pila para evitar filtrar información al espacio del usuario (o activar un ups). Los controladores no deberían intentar codificar información de topología en el nombre del dispositivo tty, pero este se coló durante la preparación sin que nadie se diera cuenta y desde entonces otro controlador copió esta mala práctica. Arreglar la ABI es un tema aparte, pero esto al menos tapa el agujero de seguridad.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47401 changed 2026-08-05CVE Terms of Use
NVDCVE-2021-47401 changed 2026-08-04Public domain