CVE-2025-40059 Details
Description
In the Linux kernel, the following vulnerability has been resolved: coresight: Fix incorrect handling for return value of devm_kzalloc The return value of devm_kzalloc could be an null pointer, use "!desc.pdata" to fix incorrect handling return value of devm_kzalloc.
A vulnerability exists in the Linux kernel's handling of return values from the devm_kzalloc function within the Coresight TRBE driver. The issue arises because devm_kzalloc can return a null pointer, leading to potential null pointer dereferences. This vulnerability affects the stable versions of the Linux kernel.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/70714eb7243eaf333d23501d4c7bdd9daf011c01 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/8c4e7e646d5d9050b374baf5c6bb3a00fb79e206 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9688b66d0a5e0eecf44f6286b8d9f7a161264035 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 28, 2025 | New CVE Received | kernel.org |
Volerion