CVE-2025-21775

medium

Description

In the Linux kernel, the following vulnerability has been resolved: can: ctucanfd: handle skb allocation failure If skb allocation fails, the pointer to struct can_frame is NULL. This is actually handled everywhere inside ctucan_err_interrupt() except for the only place. Add the missed NULL check. Found by Linux Verification Center (linuxtesting.org) with SVACE static analysis tool.

References

https://git.kernel.org/stable/c/e7e2e2318b1f085044126ba553a4e619842fc36d

https://git.kernel.org/stable/c/e505b83b9ee6aa0ae2f4395f573a66579ae403fb

https://git.kernel.org/stable/c/b0e592dd46a0a952b41c3bf6c963afdd6a42b526

https://git.kernel.org/stable/c/9bd24927e3eeb85642c7baa3b28be8bea6c2a078

https://git.kernel.org/stable/c/84b9ac59978a6a4e0812d1c938fad97306272cef

Details

Source: Mitre, NVD

Published: 2025-02-27

Updated: 2025-03-05

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/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