# CVE-2025-21774: can: rockchip: rkcanfd_handle_rx_fifo_overflow_int(): bail out if skb cannot be allocated

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-02-27T02:18:20.526Z
- Modified: 2026-06-17T08:44:14.820Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

can: rockchip: rkcanfd_handle_rx_fifo_overflow_int(): bail out if skb cannot be allocated

Fix NULL pointer check in rkcanfd_handle_rx_fifo_overflow_int() to
bail out if skb cannot be allocated.

(As written by CVE List.)

## Affected

- Linux Linux: from ff60bfbaf67f219c634cfe89a52250efe8e600d0 before 118fb35681bd2c0d2afa22f7be0ef94bb4d06849; from ff60bfbaf67f219c634cfe89a52250efe8e600d0 before 946750e7865df2e70045071051abf768785dd570; from ff60bfbaf67f219c634cfe89a52250efe8e600d0 before f7f0adfe64de08803990dc4cbecd2849c04e314a; 6.12 (not affected: before 6.12; from 6.12.16 up to 6.12.*; from 6.13.4 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.12 before 6.12.16; from 6.13 before 6.13.4; 6.14

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/118fb35681bd2c0d2afa22f7be0ef94bb4d06849> (patch)
- <https://git.kernel.org/stable/c/946750e7865df2e70045071051abf768785dd570> (patch)
- <https://git.kernel.org/stable/c/f7f0adfe64de08803990dc4cbecd2849c04e314a> (patch)

## Sources

- CVE List: [CVE-2025-21774](https://www.cve.org/CVERecord?id=CVE-2025-21774), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-21774](https://nvd.nist.gov/vuln/detail/CVE-2025-21774), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21774 · Whole record: https://cve.day/CVE-2025-21774.json · Rebuilt by cve.day 2026-11-25T22:58:54.554Z
