Vulnerabilities

CVE-2024-36940

High 7.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-05-30
Last modified
2026-10-15
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 16 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Debian Debian Linux 10.0 Affected
Linux Linux Kernel 6.9 Affected
Linux Linux Kernel ≥ 4.11, < 4.19.314 Affected
Linux Linux Kernel ≥ 4.20, < 5.4.276 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.159 Affected
Linux Linux Kernel ≥ 5.16, < 6.1.91 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.217 Affected
Linux Linux Kernel ≥ 6.2, < 6.6.31 Affected
Linux Linux Kernel ≥ 6.7, < 6.8.10 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities