CVE-2024-50028

published 21 Oct 2024 · updated 5 Aug 2026

thermal: core: Reference count the zone in thermal_zone_get_by_id()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a42a5839f400e929c489bb1b58f54596c4535167 and Kernel c95538b286efc6109c987e97a051bc7844ede802.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.9, >=1ce50e7d408ef2bdc8ca021363fd46d1b8bfad00 <a42a5839f400e929c489bb1b58f54596c4535167, >=1ce50e7d408ef2bdc8ca021363fd46d1b8bfad00 <c95538b286efc6109c987e97a051bc7844ede802a42a5839f400e929c489bb1b58f54596c4535167, c95538b286efc6109c987e97a051bc7844ede802

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50028 severity on Zeptric[![CVE-2024-50028](https://zeptric.io/badge/cve/CVE-2024-50028.svg)](https://zeptric.io/cve/CVE-2024-50028)