---
title: "CVE-2026-23137"
canonical_url: "https://pkgseek.com/security/CVE-2026-23137"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-23137

In the Linux kernel, the following vulnerability has been resolved:  of: unittest: Fix memory leak in unittest_data_add()  In unittest_data_add(), if of_resolve_phandles() fails, the allocated unittest_data is not freed, leading to a memory leak.  Fix this by using scope-based cleanup helper __free(kfree) for automatic resource cleanup. This ensures unittest_data is automatically freed when it goes out of scope in error paths.  For the success path, use retain_and_null_ptr() to transfer ownership of the memory to the device tree and prevent double freeing.

CVE-2026-23137 is rated MEDIUM (5.5), with 13 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 13
- **Affected distros**: 1
- **Distros with fixed_in**: Debian

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | linux-headers-6.12.107+deb13-amd64 | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-cloud-amd64 | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-common | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-common-rt | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-rt-amd64 | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-image-6.12.107+deb13-amd64-dbg | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-image-6.12.107+deb13-amd64-unsigned | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-image-6.12.107+deb13-cloud-amd64-dbg | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-image-6.12.107+deb13-cloud-amd64-unsigned | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-image-6.12.107+deb13-rt-amd64-dbg | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-image-6.12.107+deb13-rt-amd64-unsigned | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-kbuild-6.12.107+deb13 | 6.12.107-1 | 6.12.111-1 |
| Debian | trixie | linux-support-6.12.107+deb13 | 6.12.107-1 | 6.12.111-1 |
