Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47401
HistoryMay 21, 2024 - 3:03 p.m.

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

2024-05-2115:03:56
Linux
github.com
linux kernel
ipack
ipoctal
stack information leak
tty driver
user space
security hole

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.1%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/ipack/devices/ipoctal.c"
    ],
    "versions": [
      {
        "version": "ba4dc61fe8c5",
        "lessThan": "acb96e782bad",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba4dc61fe8c5",
        "lessThan": "741ea2670e02",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba4dc61fe8c5",
        "lessThan": "2725925982dc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba4dc61fe8c5",
        "lessThan": "829f13d6079c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba4dc61fe8c5",
        "lessThan": "8657158a3b68",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba4dc61fe8c5",
        "lessThan": "5f6a309a6996",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba4dc61fe8c5",
        "lessThan": "0a9c36a2e06a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ba4dc61fe8c5",
        "lessThan": "a89936cce87d",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/ipack/devices/ipoctal.c"
    ],
    "versions": [
      {
        "version": "3.5",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "3.5",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.4.286",
        "lessThanOrEqual": "4.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.9.285",
        "lessThanOrEqual": "4.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.14.249",
        "lessThanOrEqual": "4.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.209",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.151",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.71",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.14.10",
        "lessThanOrEqual": "5.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.1%