Cloudanix VulnDB

CVE-2026-23137

Medium · 5.5

CVSS

5.5

EPSS

0.2%

Published

Feb 14, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

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

  1. Obtain local user access to a system running the affected kernel
  2. Invoke or manipulate device tree unittest execution to reach unittest_data_add
  3. Force of_resolve_phandles failure after memory allocation
  4. 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