CVE-2024-36940 Details
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.
A double free vulnerability has been identified in the Linux kernel's pinctrl subsystem. The issue arises in the 'pinctrl_enable()' function, where the 'pctldev' struct, a device-managed pointer, is incorrectly freed. This struct is allocated in 'devm_pinctrl_register_and_init()' and should be released by 'devm_pinctrl_dev_release()'. The improper memory management can lead to memory corruption and potential exploitation.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. For Debian users, the updated version is included in the Debian LTS security update DLA-3843-1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 5, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-415 | Double Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.11, < 4.19.314 >= 4.20, < 5.4.276 >= 5.5, < 5.10.217 >= 5.11, < 5.15.159 >= 5.16, < 6.1.91 >= 6.2, < 6.6.31 >= 6.7, < 6.8.10 6.9 rc1 6.9 rc2 6.9 rc3 6.9 rc4 6.9 rc5 6.9 rc6 |
CPE
Remediation
| |
| debian debian linux | 10.0 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Jan 10, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Nov 5, 2024 | CVE Modified | kernel.org |
| Jun 27, 2024 | CVE Modified | kernel.org |
| Jun 27, 2024 | CVE Modified | kernel.org |
| May 30, 2024 | New CVE Received | kernel.org |