CVE-2025-21775: can: ctucanfd: handle skb allocation failure

Published Feb 27, 2025
·
Updated

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 ctucanerrinterrupt() except for the only place.

Add the missed NULL check.

Found by Linux Verification Center (linuxtesting.org) with SVACE static analysis tool.

Affected Software

6 affected components
Linux Linux kernel>=5.19<6.1.129
Linux Linux kernel>=6.2<6.6.79
Linux Linux kernel>=6.7<6.12.16
Linux Linux kernel>=6.13<6.13.4
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Add the missing NULL check in the Linux kernel can: ctucanfd code to handle skb allocation failure before dereferencing the struct can_frame pointer in ctucan_err_interrupt().

Event History

Feb 27, 2025
CVE Published
via MITRE·02:18 AM
Data Sourced
via MITRE·02:18 AM
Description
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-21775?

CVE-2025-21775 has been classified with a severity level that indicates potential impact on the Linux kernel due to handling skb allocation failures.

2

How do I fix CVE-2025-21775?

To fix CVE-2025-21775, ensure that you are running an updated version of the Linux kernel where this vulnerability has been patched.

3

Which versions of the Linux kernel are affected by CVE-2025-21775?

CVE-2025-21775 affects Linux kernel versions between 5.19 and 6.1.129, as well as several other specified versions up to 6.14-rc2.

4

What components of the Linux kernel are impacted by CVE-2025-21775?

CVE-2025-21775 specifically impacts the 'can: ctucanfd' component related to handling skb allocation failures in the Linux kernel.

5

Is CVE-2025-21775 actively being exploited?

As of the current date, there is no public information indicating that CVE-2025-21775 is actively being exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203