CVE-2026-23137
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Feb 14, 2026
CISA due date
—
Cloudanix analysis
A bug in Linux testing code could waste memory when certain checks fail, which might eventually slow down or crash test systems if left unfixed.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
Memory leak in Linux kernel device tree unittest code when of_resolve_phandles fails after allocation of unittest_data, leaving the buffer unfreed on error paths.
Why it matters to the business
Over extended operation of kernel test suites, gradual memory exhaustion can occur in development or CI environments, leading to reduced stability during prolonged testing; production kernels are unaffected as this resides only in unittest paths.
How an attack unfolds
An attacker with local access triggers the unittest_data_add error path by causing of_resolve_phandles to fail after allocation; repeated triggering exhausts kernel memory, resulting in availability impact. No named threat actors or ransomware campaigns are associated.
How to fix it
Update the Linux kernel to the fixed commit f09b0f705bd7197863b90256ef533a6414d1db2c or later stable releases containing the scope-based cleanup with __free(kfree) and retain_and_null_ptr usage.
How to confirm the fix worked
Confirm the presence of the fix commit in the kernel source; review unittest_data_add implementation for automatic cleanup helpers and absence of manual kfree on all error paths.
Typical attack path
- Obtain local user access to a system running the affected kernel
- Invoke or manipulate device tree unittest execution to reach unittest_data_add
- Force of_resolve_phandles failure after memory allocation
- Repeat to accumulate leaked memory until system impact
How to detect it
Search kernel logs and test execution traces for repeated calls to unittest_data_add followed by of_resolve_phandles failures without corresponding kfree; no public exploitation artifacts exist.
What your security team should do
- Prioritize upgrade of development and CI kernel images to the fixed commit within standard patch cycles
- Monitor EPSS trend for any increase indicating rising exploit interest
- Restrict local access to systems executing device tree unittests
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 3.18.0 | 6.18.6 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-azure | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-default | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 0 | 6.12.0-160000.27.1.160000.2.8 |
| openSUSE:Leap 16.0 | kernel-docs | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-rt | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-source | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-syms | 0 | 6.12.0-160000.27.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 0 | 6.12.0-160000.27.1 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel