CVE-2023-52473thermal: core: Fix NULL pointer dereference in zone registration error path
- 5.5MediumCVSS base score
- 0.27%Exploitation in 30 daysEPSS · top 80% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 5 days later
· 5 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 80% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 3d439b1a2ad36c8b4ea151c8de25309d60d17407 – < 335176dd8ebaca6493807dceea33c478305667fa
- affected 3d439b1a2ad36c8b4ea151c8de25309d60d17407 – < 02871710b93058eb1249d5847c0b2d1c2c3c98ae
- affected 3d439b1a2ad36c8b4ea151c8de25309d60d17407 – < 04e6ccfc93c5a1aa1d75a537cf27e418895e20ea
- affected 6.4
- unaffected < 6.4
- unaffected 6.6.14 – ≤ 6.6.*
- unaffected 6.7.2 – ≤ 6.7.*
- unaffected 6.8 – ≤ *
References
References3
- https://git.kernel.org/stable/c/335176dd8ebaca6493807dceea33c478305667fa (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/02871710b93058eb1249d5847c0b2d1c2c3c98ae (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/04e6ccfc93c5a1aa1d75a537cf27e418895e20ea (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-57098 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-52473)Record last updated .