# CVE-2024-50028: thermal: core: Reference count the zone in thermal_zone_get_by_id()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-10-21T19:39:31.809Z
- Modified: 2026-08-05T11:41:04.376Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1ce50e7d408ef2bdc8ca021363fd46d1b8bfad00 before c95538b286efc6109c987e97a051bc7844ede802; from 1ce50e7d408ef2bdc8ca021363fd46d1b8bfad00 before a42a5839f400e929c489bb1b58f54596c4535167; 5.9 (not affected: before 5.9; from 6.11.4 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 5.9 before 6.11.4; 6.12

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c95538b286efc6109c987e97a051bc7844ede802> (patch)
- <https://git.kernel.org/stable/c/a42a5839f400e929c489bb1b58f54596c4535167> (patch)

## Sources

- CVE List: [CVE-2024-50028](https://www.cve.org/CVERecord?id=CVE-2024-50028), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-50028](https://nvd.nist.gov/vuln/detail/CVE-2024-50028), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-50028 · Whole record: https://cve.day/CVE-2024-50028.json · Rebuilt by cve.day 2026-11-25T22:58:47.104Z
