Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-36898
HistoryMay 30, 2024 - 3:29 p.m.

CVE-2024-36898 gpiolib: cdev: fix uninitialised kfifo

2024-05-3015:29:02
Linux
github.com
linux kernel
vulnerability
cve-2024-36898
gpiolib
cdev
uninitialised kfifo
software debounce
edge detection
events

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

In the Linux kernel, the following vulnerability has been resolved:

gpiolib: cdev: fix uninitialised kfifo

If a line is requested with debounce, and that results in debouncing
in software, and the line is subsequently reconfigured to enable edge
detection then the allocation of the kfifo to contain edge events is
overlooked. This results in events being written to and read from an
uninitialised kfifo. Read events are returned to userspace.

Initialise the kfifo in the case where the software debounce is
already active.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpio/gpiolib-cdev.c"
    ],
    "versions": [
      {
        "version": "65cff7046406",
        "lessThan": "1a51e24404d7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "65cff7046406",
        "lessThan": "883e4bbf06eb",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "65cff7046406",
        "lessThan": "bd7139a70ee8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "65cff7046406",
        "lessThan": "ee0166b637a5",
        "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/gpio/gpiolib-cdev.c"
    ],
    "versions": [
      {
        "version": "5.10",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.10",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.91",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.31",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.10",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

Related for VULNRICHMENT:CVE-2024-36898