CVE-2025-21775: Linux kernel · can: ctucanfd: handle skb allocation failure
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1035.37~22.04.1 : update Linux kernel when convenient.
Data as of 24 Nov 2026, 19:46 UTC
- Patch
- Available – fixed in 6.8.0-1035.37~22.04.1, 6.8.0-1034.39~22.04.1, 6.8.0-1036.38~22.04.1 +29
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7521-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7703-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7703-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7703-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7719-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7703-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7737-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch addressing this vulnerability is available in Linux kernel versions 6.8.0 and later. Users and administrators should update to these fixed versions to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.
Description
CVE-2025-21775 is a vulnerability in the Linux kernel's CAN (Controller Area Network) subsystem, specifically in the ctucanfd driver. The issue arises from a missing NULL pointer check when skb (socket buffer) allocation fails, which can lead to a NULL pointer dereference. This flaw has been addressed by adding the missing NULL check. The vulnerability affects multiple Linux kernel versions prior to 6.8.0 and several specific older versions. A fix is available in Linux kernel versions 6.8.0 and later.
References
- ubuntu.com/security/CVE-2025-21775 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21775 (opens in a new tab)
- git.kernel.org/linus/9bd24927e3eeb85642c7baa3b28be8bea6c2a078 (opens in a new tab)
- git.kernel.org/stable/c/84b9ac59978a6a4e0812d1c938fad97306272cef (opens in a new tab)
- git.kernel.org/stable/c/9bd24927e3eeb85642c7baa3b28be8bea6c2a078 (opens in a new tab)
- git.kernel.org/stable/c/b0e592dd46a0a952b41c3bf6c963afdd6a42b526 (opens in a new tab)
- git.kernel.org/stable/c/e505b83b9ee6aa0ae2f4395f573a66579ae403fb (opens in a new tab)
- git.kernel.org/stable/c/e7e2e2318b1f085044126ba553a4e619842fc36d (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7703-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7703-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7703-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7719-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7703-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7737-1 (opens in a new tab)