CVE-2026-23137: Memory leak in Linux kernel device-tree unittest_data_add()
- Vendor
- Linux
A memory leak in the Linux kernel device-tree unit-test function unittest_data_add() occurs when of_resolve_phandles() fails. The error path does not release the allocated unittest_data buffer. The correction introduces scope-based cleanup with __free(kfree) and uses retain_and_null_ptr() to transfer ownership to the device tree on success without double freeing.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Each affected failure leaks kernel memory. Repeated triggering could exhaust memory and cause denial of service, although practical repeatability and production exposure are not established. Vulnerability-specific assessments identify availability impact without confidentiality or integrity impact; code execution and privilege escalation are not established.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid invoking the affected device-tree unit-test path where feasible and restrict untrusted local access. No specific workaround that repairs the faulty cleanup behavior is documented.
Remediation
Patch, then assume compromise.
Apply the upstream kernel fix or a distribution kernel update containing it, then reboot into the updated kernel and verify the running version. Debian trixie includes the correction in Linux source package version 6.12.111-1. SUSE provides corrected kernel packages at version 6.12.0-160000.27.1 for applicable supported products; use the package appropriate to the installed product and kernel flavor. The code correction automatically frees unittest_data on error and explicitly transfers ownership on success.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-23137 exploited in the wild?
- As of Nov 23, 2026, Mallory has no reports of CVE-2026-23137 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-23137?
- As of Nov 23, 2026, Mallory has found no public exploit for CVE-2026-23137.
- Is there a patch for CVE-2026-23137?
- Apply the upstream kernel fix or a distribution kernel update containing it, then reboot into the updated kernel and verify the running version. Debian trixie includes the correction in Linux source package version 6.12.111-1.
- What products are affected by CVE-2026-23137?
- Linux Kernel.
- How severe is CVE-2026-23137?
- CVE-2026-23137 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.17% (7th percentile) as of Nov 23, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.