CVE-2024-36940: Debian Linux
High severity, CVSS 7.8. EPSS: 0.2% chance of exploitation in the next 30 days.
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.
Affected products
- Debian Debian Linux: version 10.0 only
- Linux Linux Kernel: from 4.11, before 4.19.314 (fixed in 4.19.314); from 4.20, before 5.4.276 (fixed in 5.4.276); from 5.5, before 5.10.217 (fixed in 5.10.217); from 5.11, before 5.15.159 (fixed in 5.15.159); from 5.16, before 6.1.91 (fixed in 6.1.91); from 6.2, before 6.6.31 (fixed in 6.6.31); …
Published 2024-05-30. Last modified 2026-08-04.