CVE-2025-21775

Source
https://cve.org/CVERecord?id=CVE-2025-21775
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21775.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21775
Downstream
Related
Published
2025-02-27T02:18:21.019Z
Modified
2026-03-12T02:18:37.251996Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
can: ctucanfd: handle skb allocation failure
Details

In the Linux kernel, the following vulnerability has been resolved:

can: ctucanfd: handle skb allocation failure

If skb allocation fails, the pointer to struct canframe is NULL. This is actually handled everywhere inside ctucanerr_interrupt() except for the only place.

Add the missed NULL check.

Found by Linux Verification Center (linuxtesting.org) with SVACE static analysis tool.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21775.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7
Fixed
84b9ac59978a6a4e0812d1c938fad97306272cef
Fixed
e505b83b9ee6aa0ae2f4395f573a66579ae403fb
Fixed
b0e592dd46a0a952b41c3bf6c963afdd6a42b526
Fixed
e7e2e2318b1f085044126ba553a4e619842fc36d
Fixed
9bd24927e3eeb85642c7baa3b28be8bea6c2a078

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21775.json"