CVE-2025-21775
JSON

5.5medium

can: ctucanfd: handle skb allocation failure

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 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.14NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: ctucanfd: manejar la falla de asignación de skb Si la asignación de skb falla, el puntero a struct can_frame es NULL. Esto se maneja en realidad en todas partes dentro de ctucan_err_interrupt() excepto en el único lugar. Agregue la verificación NULL omitida. Encontrado por Linux Verification Center (linuxtesting.org) con la herramienta de análisis estático SVACE.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21775 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-21775 changed 2026-06-17Public domain