CVE-2025-21774: Linux kernel · can: rockchip: rkcanfd_handle_rx_fifo_overflow_int(): bail out if skb cannot be
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 24 Nov 2026, 19:46 UTC
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
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther 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 fix is available that adds a NULL pointer check in the rkcanfd_handle_rx_fifo_overflow_int() function to bail out if skb allocation fails. Users should update to a patched Linux kernel version that includes this fix. No additional mitigation is required.
Description
A vulnerability in the Linux kernel's Rockchip CAN FD driver (rkcanfd_handle_rx_fifo_overflow_int) was fixed by adding a NULL pointer check to bail out if socket buffer (skb) allocation fails. This prevents a potential kernel crash due to a NULL pointer dereference when the skb cannot be allocated during RX FIFO overflow handling.
References
- ubuntu.com/security/CVE-2025-21774 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21774 (opens in a new tab)
- git.kernel.org/linus/f7f0adfe64de08803990dc4cbecd2849c04e314a (opens in a new tab)
- git.kernel.org/stable/c/118fb35681bd2c0d2afa22f7be0ef94bb4d06849 (opens in a new tab)
- git.kernel.org/stable/c/946750e7865df2e70045071051abf768785dd570 (opens in a new tab)
- git.kernel.org/stable/c/f7f0adfe64de08803990dc4cbecd2849c04e314a (opens in a new tab)