CVE-2021-47668
Last modified
CVE-2021-47668 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.31, < 4.4.254 | — |
| Linux | Linux Kernel | >= 4.5, < 4.9.254 | — |
| Linux | Linux Kernel | >= 4.10, < 4.14.218 | — |
| Linux | Linux Kernel | >= 4.15, < 4.19.171 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.93 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.11 | — |
| Linux | Linux Kernel | 5.11 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-47668?
How severe is CVE-2021-47668?
How do I fix CVE-2021-47668?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47659In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47660In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47662Due to missing authorization an unauthenticated remote attac…7.5
- CVE-2021-47663Due to improper JSON Web Tokens implementation an unauthenti…8.1
- CVE-2021-47664Due to improper authentication mechanism an unauthenticated …5.3
- CVE-2021-47667An OS command injection vulnerability in lib/NSSDropoff.php …10
- CVE-2021-47669In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47670In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2021-47671In the Linux kernel, the following vulnerability has been re…3.3
- CVE-2021-47672Rejected reason: ** REJECT ** DO NOT USE THIS CVE RECORD. Co…
- CVE-2021-47673Rejected reason: ** REJECT ** DO NOT USE THIS CVE RECORD. Co…
- CVE-2021-47674Rejected reason: ** REJECT ** DO NOT USE THIS CVE RECORD. Co…
Are you affected by CVE-2021-47668?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
