CVE-2025-40059
JSON

Not scored

coresight: Fix incorrect handling for return value of devm_kzalloc

Severity
Not scored
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 4277f035d227e829133df284be7e35b7236a5b0f before 8c4e7e646d5d9050b374baf5c6bb3a00fb79e206, from 4277f035d227e829133df284be7e35b7236a5b0f before 9688b66d0a5e0eecf44f6286b8d9f7a161264035, from 4277f035d227e829133df284be7e35b7236a5b0f before 70714eb7243eaf333d23501d4c7bdd9daf011c01, 6.8
Not affected: before 6.8, from 6.12.53 up to 6.12.*, from 6.17.3 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: coresight: Corrección del manejo incorrecto para el valor de retorno de devm_kzalloc El valor de retorno de devm_kzalloc podría ser un puntero nulo, utilizar !desc.pdata para corregir el manejo incorrecto del valor de retorno de devm_kzalloc.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40059 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-40059 changed 2026-10-19Public domain