ipack: ipoctal: fix stack information leak (Linux Linux)

CVE-2021-47401
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-668 — Exposure of Resource to Wrong Sphere

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ba4dc61fe8c545a5d6a68b63616776556b771f51 < acb96e782bad427ca4bb1bd94af660acd1462380 ; affected ba4dc61fe8c545a5d6a68b63616776556b771f51 < 741ea2670e021350e54f491106bdaa22dc50e6a0 ; affected ba4dc61fe8c545a5d6a68b63616776556b771f51 < 2725925982dc96a78069cd118ea3d66759bfdad7 ; affected ba4dc61fe8c545a5d6a68b63616776556b771f51 < 829f13d6079cf7a2465522f39acb43033e9b320d ; affected ba4dc61fe8c545a5d6a68b63616776556b771f51 < 8657158a3b68c85234e6da3d8eae33d6183588b7 ; affected ba4dc61fe8c545a5d6a68b63616776556b771f51 < 5f6a309a699675680df15d9b6d389114515b4426
Linux · Linuxaffected 3.5 ; unaffected 0 < 3.5 ; unaffected 4.4.286 ≤ 4.4.* ; unaffected 4.9.285 ≤ 4.9.* ; unaffected 4.14.249 ≤ 4.14.* ; unaffected 4.19.209 ≤ 4.19.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD