Skip to content
7.8 High

CVE-2024-36940 In the Linux kernel, the following vulnerability has been resolved: pinctrl: core: delete incorrect free in…

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.

Affected products and versions

Product Affected versions Fixed in
Linux 6.9 earliest → < 6.9 6.9
Linux 6.8 earliest → < 6.8.10 6.8.10
Linux 6.6 earliest → < 6.6.31 6.6.31
Linux 6.1 earliest → < 6.1.91 6.1.91
Linux 5.15 earliest → < 5.15.159 5.15.159
Linux 5.10 earliest → < 5.10.217 5.10.217
Linux 5.4 earliest → < 5.4.276 5.4.276
Linux 4.19 earliest → < 4.19.314 4.19.314
Linux 4.11 No fix stated
Show the 4 other branches
Product Affected versions Fixed in
RUGGEDCOM RST2428P 3.1 earliest → < 3.1 3.1
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Versions not published
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.1 earliest → < 3.1 3.1
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE