CVE-2026-23137: of: unittest: Fix memory leak in unittest_data_add()
Vulnerability summary
CVE-2026-23137 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.9% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 22 · Related 20Timeline
- 14-02-2026PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.14% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu159 products
- linuxAll versions (No fix recorded) | < 6.8.0-149.149
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1069.74
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
- linux-aws-6.12< 6.12.77-r2 | < 6.12.78-r0 | < 6.12.80-r0 | < 6.12.77-r1
- linux-azure-6.12< 6.12.77-r1 | < 6.12.80-r0 | < 6.12.77-r2 | < 6.12.78-r0
- linux-gcp-6.12< 6.12.78-r0 | < 6.12.80-r0 | < 6.12.77-r1 | < 6.12.77-r2
- linux-qemu-6.12< 6.12.78-r0 | < 6.12.77-r2 | < 6.12.77-r1 | < 6.12.80-r0
- linux-vmware-6.12< 6.12.77-r2 | < 6.12.78-r0 | < 6.12.80-r0 | < 6.12.77-r1
Debian2 products
- linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.111-1 | < 6.18.8-1
- linux-6.12< 6.12.111-1~deb12u1
Linux2 products
- linux≥ 2eb46da2a760e5764c48b752a5ef320e02b96b21, < 4bafaec9e3a784d103ab9da11095708fcca70e76 | ≥ 2eb46da2a760e5764c48b752a5ef320e02b96b21, < 4c7ad40c285ab85e3614433e063f14aac2e2fe17 | ≥ 2eb46da2a760e5764c48b752a5ef320e02b96b21, < 58baf98d1bdab897fd796f39a16061bade229d71 | ≥ 2eb46da2a760e5764c48b752a5ef320e02b96b21, < f09b0f705bd7197863b90256ef533a6414d1db2c | ≥ 2eb46da2a760e5764c48b752a5ef320e02b96b21, < 235a1eb8d2dcc49a6cf0a5ee1aa85544a5d0054b | 3.18
- linux_kernel≥ 3.18, < 6.18.6 | 6.19:rc1 | 6.19:rc2 | 6.19:rc3 | 6.19:rc4
4 vendors · 168 products