CVE-2023-52473
Last modified
CVE-2023-52473 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: thermal: core: Fix NULL pointer dereference in zone registration error path If device_register() in thermal_zone_device_register_with_trips() returns an error, the tz variable is set to NULL and subsequently dereferenced in kfree(tz->tzp). Commit adc8749b150c ("thermal/drivers/core: Use put_device() if device_register() fails") added the tz = NULL assignment in question to avoid a possible double-free after dropping the reference to the zone device. However, after commit 4649620d9404 ("thermal: core: Make thermal_zone_device_unregister() return after freeing the zone"), that assignment has become redundant, because dropping the reference to the zone device does not cause the zone object to be freed any more. Drop it to address the NULL pointer dereference.. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: thermal: core: Fix NULL pointer dereference in zone registration error path If device_register() in thermal_zone_device_register_with_trips() returns an error, the tz variable is set to NULL and subsequently dereferenced in kfree(tz->tzp). Commit adc8749b150c ("thermal/drivers/core: Use put_device() if device_register() fails") added the tz = NULL assignment in question to avoid a possible double-free after dropping the reference to the zone device. However, after commit 4649620d9404 ("thermal: core: Make thermal_zone_device_unregister() return after freeing the zone"), that assignment has become redundant, because dropping the reference to the zone device does not cause the zone object to be freed any more. Drop it to address the NULL pointer dereference.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.4.0, < 6.6.14 |
| Linux | Linux Kernel | >= 6.7.0, < 6.7.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-52473?
How severe is CVE-2023-52473?
How do I fix CVE-2023-52473?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-52468In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52469In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-5247Malicious Code Execution Vulnerability due to External Contr…7.8
- CVE-2023-52470In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52471In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52472In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52474In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52475In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52476In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52477In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52478In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2023-52479In the Linux kernel, the following vulnerability has been re…8.8
Are you affected by CVE-2023-52473?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
