CVE-2025-40059

published 28 Oct 2025 · updated 11 May 2026

coresight: Fix incorrect handling for return value of devm_kzalloc

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 70714eb7243eaf333d23501d4c7bdd9daf011c01, Kernel 8c4e7e646d5d9050b374baf5c6bb3a00fb79e206 and Kernel 9688b66d0a5e0eecf44f6286b8d9f7a161264035.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.8, >=4277f035d227e829133df284be7e35b7236a5b0f <70714eb7243eaf333d23501d4c7bdd9daf011c01, >=4277f035d227e829133df284be7e35b7236a5b0f <8c4e7e646d5d9050b374baf5c6bb3a00fb79e206, >=4277f035d227e829133df284be7e35b7236a5b0f <9688b66d0a5e0eecf44f6286b8d9f7a16126403570714eb7243eaf333d23501d4c7bdd9daf011c01, 8c4e7e646d5d9050b374baf5c6bb3a00fb79e206, 9688b66d0a5e0eecf44f6286b8d9f7a161264035

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40059 severity on Zeptric[![CVE-2025-40059](https://zeptric.io/badge/cve/CVE-2025-40059.svg)](https://zeptric.io/cve/CVE-2025-40059)