Skip to main content
Network Thinking Solutions Logo

CVE-2024-36940

Linux kernel: pinctrl: core: delete incorrect free in pinctrl_enable()

All CVEs
CVE-2024-36940Published 5/30/2024

Linux kernel: pinctrl: core: delete incorrect free in pinctrl_enable()

Vendor advisory
CVSS7.8High

Overview

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.

Published
5/30/2024
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.11, < 4.19.314

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.276

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.217

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.159

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.91

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.31

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.8.10

Verify advisory

Source
linux kernel
linux
6.9

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
10.0

Verify advisory

Source
Linux
Linux
≥ 6118714275f0a313ecc296a87ed1af32d9691bed, < 735f4c6b6771eafe336404c157ca683ad72a040d

Verify advisory

Source
Linux
Linux
≥ 6118714275f0a313ecc296a87ed1af32d9691bed, < cdaa171473d98962ae86f2a663d398fda2fbeefd

Verify advisory

Source
Linux
Linux
≥ 6118714275f0a313ecc296a87ed1af32d9691bed, < 288bc4aa75f150d6f1ee82dd43c6da1b438b6068

Verify advisory

Source
Linux
Linux
≥ 6118714275f0a313ecc296a87ed1af32d9691bed, < 41f88ef8ba387a12f4a2b8c400b6c9e8e54b2cca

Verify advisory

Source
Linux
Linux
≥ 6118714275f0a313ecc296a87ed1af32d9691bed, < ac7d65795827dc0cf7662384ed27caf4066bd72e

Verify advisory

Source
Linux
Linux
≥ 6118714275f0a313ecc296a87ed1af32d9691bed, < 558c8039fdf596a584a92c171cbf3298919c448c

Verify advisory

Source
Linux
Linux
≥ 6118714275f0a313ecc296a87ed1af32d9691bed, < f9f1e321d53e4c5b666b66e5b43da29841fb55ba

Verify advisory

Source
Linux
Linux
≥ 6118714275f0a313ecc296a87ed1af32d9691bed, < 5038a66dad0199de60e5671603ea6623eb9e5c79

Verify advisory

Source
Linux
Linux
4.11

Verify advisory

Source
RUGGEDCOM RST2428P
Siemens
< V3.1

Verify advisory

Source
SCALANCE XCM-/XRM-/XCH-/XRH-300 family
Siemens
< V3.1

Verify advisory

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< V1.1.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.