Skip to main content
Network Thinking Solutions Logo

CVE-2026-23137

Linux kernel: of: unittest: Fix memory leak in unittest_data_add()

All CVEs
CVE-2026-23137Published 2/14/2026

Linux kernel: of: unittest: Fix memory leak in unittest_data_add()

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
2/14/2026
Last modified
10/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.18, < 6.18.6

Verify advisory

Source
linux kernel
linux
6.19

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 2eb46da2a760e5764c48b752a5ef320e02b96b21, < 4bafaec9e3a784d103ab9da11095708fcca70e76

Verify advisory

Source
Linux
Linux
≥ 2eb46da2a760e5764c48b752a5ef320e02b96b21, < 4c7ad40c285ab85e3614433e063f14aac2e2fe17

Verify advisory

Source
Linux
Linux
≥ 2eb46da2a760e5764c48b752a5ef320e02b96b21, < 58baf98d1bdab897fd796f39a16061bade229d71

Verify advisory

Source
Linux
Linux
≥ 2eb46da2a760e5764c48b752a5ef320e02b96b21, < f09b0f705bd7197863b90256ef533a6414d1db2c

Verify advisory

Source
Linux
Linux
≥ 2eb46da2a760e5764c48b752a5ef320e02b96b21, < 235a1eb8d2dcc49a6cf0a5ee1aa85544a5d0054b

Verify advisory

Source
Linux
Linux
3.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.