Skip to main content
Network Thinking Solutions Logo

CVE-2021-47668

In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe.

All CVEs
CVE-2021-47668Published 4/17/2025

In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe.

Vendor advisory
CVSS8.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the netif_rx_ni() in: stats->rx_bytes += cf->len; Reordering the lines solves the issue.

Published
4/17/2025
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.31, < 4.4.254

Verify advisory

Source
linux kernel
linux
≥ 4.5, < 4.9.254

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.218

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.171

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.93

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.11

Verify advisory

Source
linux kernel
linux
5.11

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 260925a0b7d2da5449f8ecfd02c1405e0c8a45b8

Verify advisory

Source
Linux
Linux
≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < bbc6847b9b8978b520f62fbc7c68c54ef0f8d282

Verify advisory

Source
Linux
Linux
≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 92668d28c7e6a7a2ba07df287669ffcdf650c421

Verify advisory

Source
Linux
Linux
≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 08ab951787098ae0b6c0364aeea7a8138226f234

Verify advisory

Source
Linux
Linux
≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < ac48ef15826e83f4206c47add61072e8fc76d328

Verify advisory

Source
Linux
Linux
≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 593c072b7b3c4d7044416eb039d9ad706bedd67a

Verify advisory

Source
Linux
Linux
≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 03f16c5075b22c8902d2af739969e878b0879c94

Verify advisory

Source
Linux
Linux
2.6.31

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.