CVE-2024-50028: thermal: core: Reference count the zone in thermal_zone_get_by_id()
In the Linux kernel, the following vulnerability has been resolved:
thermal: core: Reference count the zone in thermalzonegetbyid()
There are places in the thermal netlink code where nothing prevents the thermal zone object from going away while being accessed after it has been returned by thermalzonegetbyid().
To address this, make thermalzonegetbyid() get a reference on the thermal zone device object to be returned with the help of getdevice(), under thermallistlock, and adjust all of its callers to this change with the help of the cleanup.h infrastructure.
Other sources
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 6.12.25-1Fixed in 6.12.27-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50028?
CVE-2024-50028 has a moderate severity rating due to potential impact on system stability.
How do I fix CVE-2024-50028?
To fix CVE-2024-50028, update your Linux kernel to version 6.12-rc2 or later.
What versions of the Linux kernel are affected by CVE-2024-50028?
CVE-2024-50028 affects Linux kernel versions from 5.9 to 6.11.4 and includes 6.12-rc1 and 6.12-rc2.
Can CVE-2024-50028 lead to system crashes?
Yes, CVE-2024-50028 can potentially lead to system crashes due to improper handling of thermal zone objects.
Is CVE-2024-50028 a local or remote vulnerability?
CVE-2024-50028 is classified as a local vulnerability as it requires local system access to exploit.