
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-40059 is a vulnerability discovered in the Linux kernel's coresight subsystem, specifically related to incorrect handling of return values from devm_kzalloc function. The vulnerability was disclosed on October 28, 2025, affecting various Linux kernel versions (NVD, Debian).
The vulnerability stems from improper handling of the return value of devm_kzalloc function in the coresight subsystem. Specifically, the function could return a null pointer, and the code needed to be modified to use '!desc.pdata' to properly handle such cases (Debian).
The vulnerability affects multiple Linux distributions and versions, with varying levels of impact. Several Ubuntu releases including 25.10 (questing), 25.04 (plucky), and 24.04 LTS (noble) are marked as vulnerable, while older versions like 22.04 LTS (jammy) and 20.04 LTS (focal) are not affected (Ubuntu).
Fixed versions have been released for various distributions. Debian has addressed the issue in version 6.17.6-1 for unstable and 6.12.57-1 for trixie. The vulnerability is not present in some older releases like bookworm and bullseye (Debian).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."