CVE Catalog

CVE-2024-36940

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

16th percentile - higher than 16% of all known CVEs

Summary

A vulnerability has been identified in the Linux kernel related to incorrect memory freeing in the pinctrl_enable() function. The 'pctldev' struct is allocated in devm_pinctrl_register_and_init() and is managed by devm_, leading to a double free.

Risk Assessment

Double freeing memory can lead to unpredictable system behavior, including crashes or potential exploitation by an attacker.

Recommendation

It is recommended to update the Linux kernel to the latest version to mitigate this vulnerability and to monitor the system for any irregular behavior.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS