CVE-2023-52473
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52473 is a NULL pointer dereference vulnerability discovered in the Linux kernel's thermal subsystem. The issue occurs in the thermal zone registration error path when deviceregister() in thermalzonedeviceregisterwithtrips() returns an error, causing the tz variable to be set to NULL and subsequently dereferenced in kfree(tz->tzp). This vulnerability affects Linux kernel versions from 6.4.0 up to (excluding) 6.6.14 and versions from 6.7.0 up to (excluding) 6.7.2 (NVD).

Technical details

The vulnerability stems from a redundant NULL assignment introduced by commit adc8749b150c ("thermal/drivers/core: Use putdevice() if deviceregister() fails") which was intended to avoid a possible double-free after dropping the reference to the zone device. However, after commit 4649620d9404 ("thermal: core: Make thermalzonedevice_unregister() return after freeing the zone"), this assignment became problematic as dropping the reference to the zone device no longer causes the zone object to be freed. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a NULL pointer dereference in the Linux kernel's thermal subsystem, potentially causing a system crash or denial of service condition (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed by removing the redundant NULL assignment in the thermal core code. The fix has been implemented in the Linux kernel through patches that address the NULL pointer dereference issue. Users should update their Linux kernel to versions 6.6.14, 6.7.2 or later to receive the fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management