Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-36959
HistoryMay 30, 2024 - 4:15 p.m.

CVE-2024-36959

2024-05-3016:15:18
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
28
linux kernel
pinctrl
devicetree
refcount leak

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.0%

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

pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()

If we fail to allocate propname buffer, we need to drop the reference
count we just took. Because the pinctrl_dt_free_maps() includes the
droping operation, here we call it directly.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.14.19.314
OR
linuxlinux_kernelRange4.20.05.4.276
OR
linuxlinux_kernelRange5.5.05.10.217
OR
linuxlinux_kernelRange5.11.05.15.159
OR
linuxlinux_kernelRange5.16.06.1.91
OR
linuxlinux_kernelRange6.2.06.6.31
OR
linuxlinux_kernelRange6.7.06.8.10
OR
linuxlinux_kernelRange6.9.0

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/pinctrl/devicetree.c"
    ],
    "versions": [
      {
        "version": "a988dcd3dd9e",
        "lessThan": "06780473cb8a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "040f726fecd8",
        "lessThan": "47d253c48549",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "777430aa4ddc",
        "lessThan": "35ab679e8bb5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "97e5b508e961",
        "lessThan": "76aa2440deb9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "91d5c5060ee2",
        "lessThan": "518d5ddafeb0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "91d5c5060ee2",
        "lessThan": "026e24cf3173",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "91d5c5060ee2",
        "lessThan": "c7e02ccc9fdc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "91d5c5060ee2",
        "lessThan": "a0cedbcc8852",
        "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/pinctrl/devicetree.c"
    ],
    "versions": [
      {
        "version": "6.1",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.1",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.314",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.276",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.217",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.159",
        "lessThanOrEqual": "5.15.*",
        "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.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.0%