CVE-2026-23137
Last modified
CVE-2026-23137 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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 estimates a 0.11% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.18, < 6.18.6 | — |
| Linux | Linux Kernel | 6.19 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-23137?
How severe is CVE-2026-23137?
How do I fix CVE-2026-23137?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-23131In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23132In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23133In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23134In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23135In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23136In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23138In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23139In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-2314Heap buffer overflow in Codecs in Google Chrome prior to 145…8.8
- CVE-2026-23140In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23141In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-23142In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2026-23137?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
