What’s Vulnerable › Vulnerabilities
CVE-2024-50028: thermal: core: Reference count the zone in thermal_zone_get_by_id()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-08-04
Description
In the Linux kernel, the following vulnerability has been resolved: thermal: core: Reference count the zone in thermal_zone_get_by_id() 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 thermal_zone_get_by_id(). To address this, make thermal_zone_get_by_id() get a reference on the thermal zone device object to be returned with the help of get_device(), under thermal_list_lock, and adjust all of its callers to this change with the help of the cleanup.h infrastructure.
Affected products
- Linux kernel: from 5.9 before 6.11.4; 6.12-rc1, 6.12-rc2 — fixed in 6.11.4
How to fix
Upgrade to a fixed version: Linux kernel 6.11.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/a42a5839f400e929c489bb1b58f54596c4535167
- https://git.kernel.org/stable/c/c95538b286efc6109c987e97a051bc7844ede802
Get alerted when CVE-2024-50028 or the next vulnerability affects your stack