VDB

CVE-2026-23137

CVE-2026-23137 PUBLISHED

of: unittest: Fix memory leak in unittest_data_add()

Reported by linux · Published February 14, 2026

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.

EPSS 0.17% · 6.9th percentile

Risk scores

EPSS Score
0.17%
6.9th percentile

Affected products

VendorProductVersions
LinuxLinux2eb46da2a760e5764c48b752a5ef320e02b96b21, 2eb46da2a760e5764c48b752a5ef320e02b96b21, 2eb46da2a760e5764c48b752a5ef320e02b96b21
LinuxLinux3.18, 0, 6.1.191
linuxlinux_kernel3.18, 3.18, 3.18
LinuxLinux2eb46da2a760e5764c48b752a5ef320e02b96b21, 2eb46da2a760e5764c48b752a5ef320e02b96b21, 2eb46da2a760e5764c48b752a5ef320e02b96b21

Timeline

  • Feb 14, 2026 CVE Published
  • Feb 15, 2026 EPSS Score (30 in total, the first dated here)
  • Feb 23, 2026 Security Advisory (165 in total, the first dated here)
  • Mar 19, 2026 PoC Published (2 in total, the first dated here)
  • Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Oct 4, 2026 Distribution Patch (162 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-23137
vulnetix vdb fixes CVE-2026-23137

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23137/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›