CVE-2024-50027: thermal: core: Free tzp copy along with the thermal zone
In the Linux kernel, the following vulnerability has been resolved:
thermal: core: Free tzp copy along with the thermal zone
The object pointed to by tz->tzp may still be accessed after being freed in thermalzonedeviceunregister(), so move the freeing of it to the point after the removal completion has been completed at which it cannot be accessed any more.
Other sources
In the Linux kernel, the following vulnerability has been resolved:
thermal: core: Free tzp copy along with the thermal zone
The object pointed to by tz->tzp may still be accessed after being freed in thermalzonedeviceunregister(), so move the freeing of it to the point after the removal completion has been completed at which it cannot be accessed any more.
— NVD
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50027?
CVE-2024-50027 has a moderate severity level due to the potential for use-after-free vulnerabilities.
How do I fix CVE-2024-50027?
To fix CVE-2024-50027, update your Linux kernel to the latest version that includes the patch for this vulnerability.
Which versions of the Linux kernel are affected by CVE-2024-50027?
CVE-2024-50027 affects Linux kernel versions from 6.4 to 6.11.4 and specifically the release candidates 6.12-rc1 and 6.12-rc2.
What type of vulnerability is CVE-2024-50027?
CVE-2024-50027 is categorized as a use-after-free vulnerability within the thermal subsystem of the Linux kernel.
Is there a workaround for CVE-2024-50027?
There is no known workaround for CVE-2024-50027; the best course of action is to apply the available patches.