Bug 2320610 (CVE-2024-50028) - CVE-2024-50028 kernel: thermal: core: Reference count the zone in thermal_zone_get_by_id()
Summary: CVE-2024-50028 kernel: thermal: core: Reference count the zone in thermal_zon...
Keywords:
Status: NEW
Alias: CVE-2024-50028
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320910
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 20:03 UTC by OSIDB Bzimport
Modified: 2025-05-13 08:31 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:6966 0 None None None 2025-05-13 08:31:11 UTC

Description OSIDB Bzimport 2024-10-21 20:03:14 UTC
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.

Comment 1 Avinash Hanwate 2024-10-22 10:41:51 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024102130-CVE-2024-50028-5655@gregkh/T

Comment 2 errata-xmlrpc 2025-05-13 08:31:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:6966 https://access.redhat.com/errata/RHSA-2025:6966


Note You need to log in before you can comment on or make changes to this bug.