CVE-2025-40059

coresight: Fix incorrect handling for return value of devm_kzalloc

State
Published
Severity
Not scored
Published
Oct 28, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4277f035d227e829133df284be7e35b7236a5b0f to before 8c4e7e646d5d9050b374baf5c6bb3a00fb79e206Affected
  • 4277f035d227e829133df284be7e35b7236a5b0f to before 9688b66d0a5e0eecf44f6286b8d9f7a161264035Affected
  • 4277f035d227e829133df284be7e35b7236a5b0f to before 70714eb7243eaf333d23501d4c7bdd9daf011c01Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.12.53 through 6.12.*Not affected
  • 6.17.3 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.