Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53997

published high CVSS 3.1 · 7.8

thermal: of: fix double-free on unregistration

Published
24 Dec 2025, 10:55:34 UTC
Updated
05 Aug 2026, 09:16:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3d439b1a2ad36c8b4ea151c8de25309d60d17407 to < adce49089412a9ae28f5c666e0bb12fbcd86b3f7 · 3d439b1a2ad36c8b4ea151c8de25309d60d17407 to < ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.4.8 through 6.4.* (unaffected · semver) · 6.5 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-headersaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-headersppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-headerss390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-headersx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: thermal: of: fix double-free on unregistration Since commit 3d439b1a2ad3 ("thermal/core: Alloc-copy-free the thermal zone parameters structure"), thermal_zone_device_register() allocates a copy of the tzp argument and frees it when unregistering, so thermal_of_zone_register() now ends up leaking its original tzp and double-freeing the tzp copy. Fix this by locating tzp on stack instead.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The double free is reached through local operations on the sensor device — sysfs driver unbind, module unload, or device removal — with no network-facing component anywhere on the path. No remote or adjacent protocol handler reaches `thermal_of_zone_unregister()`. AC:L - The `kfree(tzp)` after `thermal_zone_device_unregister()` already freed `tz->tzp` executes unconditionally on every teardown; there is no race to win and no allocation failure required. Attacker-chosen zone geometry (trip count) further lets the freed object share `kmalloc-64` with `trips`, evading the naive freelist-hardening check. PR:L - Consistent with how driver-teardown and probe-unwind double frees are scored, this is treated as low-privilege rather than requiring full administrative rights; the corrupting free also occurs spontaneously on `thermal_zone_device_enable()` and devres error unwinding with no attacker privilege at all. UI:N - Driver unbind or module removal completes entirely without any victim action, and the probe/devres error-unwind variant needs no interaction whatsoever. S:U - The corruption stays inside the kernel's slab allocator and the compromise remains within the kernel's own security authority. No hypervisor, IOMMU, or sandbox boundary is crossed. C:H - The looping SLUB freelist hands the same `kmalloc-64` object to two independent owners, giving type confusion that permits reading arbitrary kernel data placed in the aliased allocation. Per kernel scoring guidance, memory corruption of this class is High confidentiality impact. I:H - The double free yields a classic freelist-corruption write primitive — the attacker can reclaim the aliased object with an attacker-controlled structure and overwrite kernel state, enabling control-flow hijack and privilege escalation. Out-of-band writes through a confused type are unbounded. A:H - With `CONFIG_SLAB_FREELIST_HARDENED` the second free hits `BUG_ON(object == fp)`, and with `SLUB_DEBUG`/KASAN it raises a fatal "double free" report — either way a kernel panic. Even undetected, the corrupted freelist reliably crashes the system shortly afterward.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3d439b1a2ad36c8b4ea151c8de25309d60d17407 to < adce49089412a9ae28f5c666e0bb12fbcd86b3f7 (affected · git)3d439b1a2ad36c8b4ea151c8de25309d60d17407 to < ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.4 (affected)0 to < 6.4 (unaffected · semver)6.4.8 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

thermal: of: fix double-free on unregistration

Provenance

Schema
5.2
Searchable
yes
Content hash
b30aec96cb3d8b55a2e834cd5b5ffbbe3b4afda954b58ed2ad68451e31aeac6d
Ingested
23 Sep 2026, 08:15:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected