First published: Thu May 30 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/kernel | <4.19.314 | 4.19.314 |
redhat/kernel | <5.4.276 | 5.4.276 |
redhat/kernel | <5.10.217 | 5.10.217 |
redhat/kernel | <5.15.159 | 5.15.159 |
redhat/kernel | <6.1.91 | 6.1.91 |
redhat/kernel | <6.6.31 | 6.6.31 |
redhat/kernel | <6.8.10 | 6.8.10 |
redhat/kernel | <6.9 | 6.9 |
Linux kernel | >=4.11<4.19.314 | |
Linux kernel | >=4.20<5.4.276 | |
Linux kernel | >=5.5<5.10.217 | |
Linux kernel | >=5.11<5.15.159 | |
Linux kernel | >=5.16<6.1.91 | |
Linux kernel | >=6.2<6.6.31 | |
Linux kernel | >=6.7<6.8.10 | |
Linux kernel | =6.9-rc1 | |
Linux kernel | =6.9-rc2 | |
Linux kernel | =6.9-rc3 | |
Linux kernel | =6.9-rc4 | |
Linux kernel | =6.9-rc5 | |
Linux kernel | =6.9-rc6 | |
Debian | =10.0 | |
debian/linux | 5.10.223-1 5.10.234-1 6.1.123-1 6.1.128-1 6.12.12-1 6.12.16-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-36940 is classified as a moderate severity vulnerability in the Linux kernel.
To fix CVE-2024-36940, update to a kernel version that is equal to or higher than the remedied versions specified in the vulnerability report.
CVE-2024-36940 affects several kernel versions, specifically those below 4.19.314, 5.4.276, 5.10.217, 5.15.159, 6.1.91, 6.6.31, and 6.8.10.
CVE-2024-36940 impacts various distributions that utilize vulnerable kernel versions, particularly those based on the Red Hat and Debian kernels.
There are currently no reports indicating active exploitation of CVE-2024-36940 in the wild.