CVE-2025-21775

can: ctucanfd: handle skb allocation failure

MEDIUM
5.5
CVSS Score
Published: February 27, 2025 at 02:18 AM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.19 ≤ v < 6.1.1295.19 ≤ v < 6.12.165.19 ≤ v < 6.13.45.19 ≤ v < 6.145.19 ≤ v < 6.6.796.13 ≤ v < 6.13.46.2 ≤ v < 6.6.796.7 ≤ v < 6.12.162dcb8e8782d8e4c38903bf37b1a24d3ffd193da76.14 rc16.14 rc2
Vendor states this is fixed in 84b9ac59978a6a4e0812d1c938fad97306272cef (fixed)
Vendor states this is fixed in 9bd24927e3eeb85642c7baa3b28be8bea6c2a078 (fixed)
Vendor states this is fixed in b0e592dd46a0a952b41c3bf6c963afdd6a42b526 (fixed)
Vendor states this is fixed in e505b83b9ee6aa0ae2f4395f573a66579ae403fb (fixed)
Vendor states this is fixed in e7e2e2318b1f085044126ba553a4e619842fc36d (fixed)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.16 (unaffected)
Vendor states this is fixed in 6.13.4 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.79 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/84b9ac59978a6a4e0812d1c938fad97306272cef
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9bd24927e3eeb85642c7baa3b28be8bea6c2a078
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b0e592dd46a0a952b41c3bf6c963afdd6a42b526
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e505b83b9ee6aa0ae2f4395f573a66579ae403fb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e7e2e2318b1f085044126ba553a4e619842fc36d
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card