Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-36940

published high CVSS 3.1 · 7.8

pinctrl: core: delete incorrect free in pinctrl_enable()

Published
30 May 2024, 15:29:28 UTC
Updated
15 Oct 2026, 00:42:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6118714275f0a313ecc296a87ed1af32d9691bed to < 735f4c6b6771eafe336404c157ca683ad72a040d · 6118714275f0a313ecc296a87ed1af32d9691bed to < cdaa171473d98962ae86f2a663d398fda2fbeefd · 6118714275f0a313ecc296a87ed1af32d9691bed to < 288bc4aa75f150d6f1ee82dd43c6da1b438b6068 · 6118714275f0a313ecc296a87ed1af32d9691bed to < 41f88ef8ba387a12f4a2b8c400b6c9e8e54b2cca · 6118714275f0a313ecc296a87ed1af32d9691bed to < ac7d65795827dc0cf7662384ed27caf4066bd72e · 6118714275f0a313ecc296a87ed1af32d9691bed to < 558c8039fdf596a584a92c171cbf3298919c448c · 6118714275f0a313ecc296a87ed1af32d9691bed to < f9f1e321d53e4c5b666b66e5b43da29841fb55ba · 6118714275f0a313ecc296a87ed1af32d9691bed to < 5038a66dad0199de60e5671603ea6623eb9e5c79 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.11 (affected) · 0 to < 4.11 (unaffected · semver) · 4.19.314 through 4.19.* (unaffected · semver) · 5.4.276 through 5.4.* (unaffected · semver) · 5.10.217 through 5.10.* (unaffected · semver) · 5.15.159 through 5.15.* (unaffected · semver) · 6.1.91 through 6.1.* (unaffected · semver) · 6.6.31 through 6.6.* (unaffected · semver) · 6.8.10 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — RUGGEDCOM RST2428P0 to < V3.1 · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0 and later · Other versions: unknown Unaffected Not stated siemens-SADP
Amazon Linux AL2 Release evaluationALAS2-2024-2581 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-060 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Debian bullseye linux Advisory build 5.10.218-1 DSA-5703-1
Show 103 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Siemens — SCALANCE XCM-/XRM-/XCH-/XRH-300 family0 to < V3.1 · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-044 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-069 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-643 Fixed Not stated Amazon Linux assessment
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
AlmaLinux 8 kernel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Debian buster linux Advisory build 4.19.316-1 DLA-3840-1
Debian buster linux-5.10 Advisory build 5.10.218-1~deb10u1 DLA-3843-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: pinctrl: core: delete incorrect free in pinctrl_enable() The "pctldev" struct is allocated in devm_pinctrl_register_and_init(). It's a devm_ managed pointer that is freed by devm_pinctrl_dev_release(), so freeing it in pinctrl_enable() will lead to a double free. The devm_pinctrl_dev_release() function frees the pindescs and destroys the mutex as well.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

89

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The pinctrl core is reached only through local operations — driver probe/re-probe via module load, deferred-probe retry, or bind/unbind — with no network- or peer-supplied data anywhere on the path. There is no remote or adjacent protocol handler involved. AC:L - The failing condition in `pinctrl_claim_hogs()` includes `-ENOMEM` from `create_pinctrl()`'s `kzalloc()` and from `pinctrl_dt_to_map()`, which a local attacker can drive via sustained memory pressure timed against a driver probe. Once the free happens the devres release is guaranteed to run on the dangling pointer, so no unwinnable race is required. PR:L - An unprivileged local account suffices to apply the allocation pressure that induces the `pinctrl_claim_hogs()` error path on a system where an affected pinctrl driver probes or re-probes. No capability check guards `pinctrl_enable()` itself, and the resulting double free is in shared kernel slab state. UI:N - The vulnerable path executes autonomously during driver probe and devres teardown; no victim action such as mounting a filesystem or opening a file is needed. S:U - The corruption is confined to kernel slab memory within the same security authority — a standard kernel-level compromise with no crossing of a VM, IOMMU, or sandbox boundary. C:H - `pinctrl_unregister()` reads extensively through the freed `pctldev` (`->mutex`, `->node`, `->desc->pins`, `->p`), and if the slab object is reclaimed by attacker-groomed data the double free enables heap-layout manipulation that can be leveraged into arbitrary kernel memory disclosure. I:H - The stale `list_del(&pctldev->node)` writes through `next`/`prev` pointers in freed — and potentially attacker-controlled — memory, giving a write-what-where primitive, while the second `kfree()` corrupts the slab freelist and permits overlapping-allocation attacks leading to control-flow hijack. A:H - Double free plus use-after-free reliably corrupts the SLUB freelist and locks/destroys an already-destroyed mutex, producing an oops or panic; drivers that ignore `pinctrl_enable()`'s return value (e.g. sppctl) leave a dangling pointer live until unbind, guaranteeing a later crash.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6118714275f0a313ecc296a87ed1af32d9691bed to < 735f4c6b6771eafe336404c157ca683ad72a040d (affected · git)6118714275f0a313ecc296a87ed1af32d9691bed to < cdaa171473d98962ae86f2a663d398fda2fbeefd (affected · git)6118714275f0a313ecc296a87ed1af32d9691bed to < 288bc4aa75f150d6f1ee82dd43c6da1b438b6068 (affected · git)6118714275f0a313ecc296a87ed1af32d9691bed to < 41f88ef8ba387a12f4a2b8c400b6c9e8e54b2cca (affected · git)6118714275f0a313ecc296a87ed1af32d9691bed to < ac7d65795827dc0cf7662384ed27caf4066bd72e (affected · git)6118714275f0a313ecc296a87ed1af32d9691bed to < 558c8039fdf596a584a92c171cbf3298919c448c (affected · git)6118714275f0a313ecc296a87ed1af32d9691bed to < f9f1e321d53e4c5b666b66e5b43da29841fb55ba (affected · git)6118714275f0a313ecc296a87ed1af32d9691bed to < 5038a66dad0199de60e5671603ea6623eb9e5c79 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.11 (affected)0 to < 4.11 (unaffected · semver)4.19.314 through 4.19.* (unaffected · semver)5.4.276 through 5.4.* (unaffected · semver)5.10.217 through 5.10.* (unaffected · semver)5.15.159 through 5.15.* (unaffected · semver)6.1.91 through 6.1.* (unaffected · semver)6.6.31 through 6.6.* (unaffected · semver)6.8.10 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens RUGGEDCOM RST2428P 0 to < V3.1 (affected · custom)Default: unknown siemens-SADP · adp
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 0 and later (unaffected · custom)Default: unknown siemens-SADP · adp
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family 0 to < V3.1 (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 to < V1.1.1 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

12

Provider assertions

4

Linux · cna

pinctrl: core: delete incorrect free in pinctrl_enable()

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
c7b31c4a7331c1f7e2844dd547ffb087beb64b9f047c0b59d167692cda2e93b6
Ingested
15 Oct 2026, 13:09:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected