VDB

CVE-2025-40059

CVE-2025-40059 PUBLISHED

coresight: Fix incorrect handling for return value of devm_kzalloc

Reported by linux · Published October 28, 2025

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.

EPSS 0.21% · 11.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux9688b66d0a5e0eecf44f6286b8d9f7a161264035, 8c4e7e646d5d9050b374baf5c6bb3a00fb79e206, 70714eb7243eaf333d23501d4c7bdd9daf011c01

Risk scores

EPSS Score
0.21%
11.6th percentile

Affected products

VendorProductVersions
LinuxLinux4277f035d227e829133df284be7e35b7236a5b0f, 4277f035d227e829133df284be7e35b7236a5b0f, 4277f035d227e829133df284be7e35b7236a5b0f
LinuxLinux6.8, 0, 6.12.53
LinuxLinux6.12.53, 0, 6.17.3
linuxlinux_kernel6.8, 6.8, 6.8

Timeline

  • Oct 28, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 28, 2025 Coalition ESS Score (5 in total, the first dated here)
  • Oct 28, 2025 CVE Published
  • Dec 15, 2025 Security Advisory (127 in total, the first dated here)
  • Dec 15, 2025 CVE Updated
  • Mar 29, 2026 Distribution Patch (118 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40059
vulnetix vdb fixes CVE-2025-40059

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40059/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›