CVE-2025-40059

medium

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.

References

https://git.kernel.org/stable/c/9688b66d0a5e0eecf44f6286b8d9f7a161264035

https://git.kernel.org/stable/c/8c4e7e646d5d9050b374baf5c6bb3a00fb79e206

https://git.kernel.org/stable/c/70714eb7243eaf333d23501d4c7bdd9daf011c01

Details

Source: Mitre, NVD

Published: 2025-10-28

Updated: 2025-10-30

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00017