CVE-2025-21775

Source
https://nvd.nist.gov/vuln/detail/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
2025-11-27T19:35:50.019061Z
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
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/ee626f5d79d5817bb21d6f048dc0da4c4e383443/cves/2025/21xxx/CVE-2025-21775.json"
}
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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7
Fixed
e505b83b9ee6aa0ae2f4395f573a66579ae403fb
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7
Fixed
b0e592dd46a0a952b41c3bf6c963afdd6a42b526
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7
Fixed
e7e2e2318b1f085044126ba553a4e619842fc36d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7
Fixed
9bd24927e3eeb85642c7baa3b28be8bea6c2a078

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.129
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.79
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.16
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.4