What’s Vulnerable › Vulnerabilities

CVE-2025-40059: coresight: Fix incorrect handling for return value of devm_kzalloc

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-40059 or the next vulnerability affects your stack