CVE-2025-40059
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-40059, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-10-28

Last updated on: 2025-10-30

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-10-28
Last Modified
2025-10-30
Generated
2026-07-06
AI Q&A
2025-10-28
EPSS Evaluated
2026-07-04
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves incorrect handling of the return value from the function devm_kzalloc in the coresight component. Specifically, devm_kzalloc could return a null pointer, and the code did not properly check for this condition. The fix involves using "!desc.pdata" to correctly handle the null return value, preventing potential issues caused by dereferencing a null pointer.

Impact Analysis

If the return value of devm_kzalloc is not properly checked and is null, it could lead to null pointer dereferences in the Linux kernel, potentially causing system crashes or instability. This could impact system reliability and availability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-40059. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart