# CVE-2025-21775: can: ctucanfd: handle skb allocation failure

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-02-27T02:18:21.019Z
- Modified: 2026-06-17T08:44:14.973Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 before 84b9ac59978a6a4e0812d1c938fad97306272cef; from 2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 before e505b83b9ee6aa0ae2f4395f573a66579ae403fb; from 2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 before b0e592dd46a0a952b41c3bf6c963afdd6a42b526; from 2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 before e7e2e2318b1f085044126ba553a4e619842fc36d; from 2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 before 9bd24927e3eeb85642c7baa3b28be8bea6c2a078; 5.19 (not affected: before 5.19; from 6.1.129 up to 6.1.*; from 6.6.79 up to 6.6.*; from 6.12.16 up to 6.12.*; from 6.13.4 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.19 before 6.1.129; from 6.2 before 6.6.79; from 6.7 before 6.12.16; from 6.13 before 6.13.4; 6.14

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/84b9ac59978a6a4e0812d1c938fad97306272cef> (patch)
- <https://git.kernel.org/stable/c/e505b83b9ee6aa0ae2f4395f573a66579ae403fb> (patch)
- <https://git.kernel.org/stable/c/b0e592dd46a0a952b41c3bf6c963afdd6a42b526> (patch)
- <https://git.kernel.org/stable/c/e7e2e2318b1f085044126ba553a4e619842fc36d> (patch)
- <https://git.kernel.org/stable/c/9bd24927e3eeb85642c7baa3b28be8bea6c2a078> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>

## Sources

- CVE List: [CVE-2025-21775](https://www.cve.org/CVERecord?id=CVE-2025-21775), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-21775](https://nvd.nist.gov/vuln/detail/CVE-2025-21775), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21775 · Whole record: https://cve.day/CVE-2025-21775.json · Rebuilt by cve.day 2026-11-25T22:58:54.554Z
