can: ctucanfd: handle skb allocation failure
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.129, 6.12.16, 6.13.4, 6.6.79
- CVEs
- CVE-2025-21775
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 01:54 UTC · Revision 1
Source evidence
can: ctucanfd: handle skb allocation failure
core-osv · Original sourcePublished 27 Feb 2025, 02:18 UTC
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.
osv:CVE-2025-21775
Kernel
Fixed versions: 6.1.129, 6.6.79, 6.12.16, 6.13.4
Complete source record
{
"id": "56941d23d05889f8d2a1dd0bab5cc133cfd70faff098d951354b0b0e6ac09a70",
"url": "https://osv.dev/vulnerability/CVE-2025-21775",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "can: ctucanfd: handle skb allocation failure",
"summary": "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.",
"evidence": "osv:CVE-2025-21775",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.129",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.79",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.16",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2025-21775",
"aliases": [
"CVE-2025-21775"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7"
},
{
"fixed": "84b9ac59978a6a4e0812d1c938fad97306272cef"
},
{
"fixed": "e505b83b9ee6aa0ae2f4395f573a66579ae403fb"
},
{
"fixed": "b0e592dd46a0a952b41c3bf6c963afdd6a42b526"
},
{
"fixed": "e7e2e2318b1f085044126ba553a4e619842fc36d"
},
{
"fixed": "9bd24927e3eeb85642c7baa3b28be8bea6c2a078"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21775.json"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21775.json"
}
}
],
"modified": "2026-10-28T02:30:46.177936519Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/84b9ac59978a6a4e0812d1c938fad97306272cef",
"https://git.kernel.org/stable/c/9bd24927e3eeb85642c7baa3b28be8bea6c2a078",
"https://git.kernel.org/stable/c/b0e592dd46a0a952b41c3bf6c963afdd6a42b526",
"https://git.kernel.org/stable/c/e505b83b9ee6aa0ae2f4395f573a66579ae403fb",
"https://git.kernel.org/stable/c/e7e2e2318b1f085044126ba553a4e619842fc36d",
"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21775.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-21775",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21775.json"
}
},
"related_cves": [
{
"value": "CVE-2025-21775",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514041,
"published_at": "2025-02-27T02:18:21.019+00:00"
}