CVE-2025-21775

can: ctucanfd: handle skb allocation failure

State
Published
Severity
5.5 Medium
Published
Feb 27, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 to before 84b9ac59978a6a4e0812d1c938fad97306272cefAffected
  • 2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 to before e505b83b9ee6aa0ae2f4395f573a66579ae403fbAffected
  • 2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 to before b0e592dd46a0a952b41c3bf6c963afdd6a42b526Affected
  • 2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 to before e7e2e2318b1f085044126ba553a4e619842fc36dAffected
  • 2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 to before 9bd24927e3eeb85642c7baa3b28be8bea6c2a078Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.129 through 6.1.*Not affected
  • 6.6.79 through 6.6.*Not affected
  • 6.12.16 through 6.12.*Not affected
  • 6.13.4 through 6.13.*Not affected
  • 6.14 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.