CVE-2021-47668
published 2025-04-17CVE-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…
PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.18%
7.7th percentile
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.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.10.12-1 (bookworm) | linux 5.10.12-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 260925a0b7d2da5449f8ecfd02c1405e0c8a45b8 | 260925a0b7d2da5449f8ecfd02c1405e0c8a45b8 |
| linux | linux | >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < bbc6847b9b8978b520f62fbc7c68c54ef0f8d282 | bbc6847b9b8978b520f62fbc7c68c54ef0f8d282 |
| linux | linux | >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 92668d28c7e6a7a2ba07df287669ffcdf650c421 | 92668d28c7e6a7a2ba07df287669ffcdf650c421 |
| linux | linux | >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 08ab951787098ae0b6c0364aeea7a8138226f234 | 08ab951787098ae0b6c0364aeea7a8138226f234 |
| linux | linux | >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < ac48ef15826e83f4206c47add61072e8fc76d328 | ac48ef15826e83f4206c47add61072e8fc76d328 |
| linux | linux | >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 593c072b7b3c4d7044416eb039d9ad706bedd67a | 593c072b7b3c4d7044416eb039d9ad706bedd67a |
| linux | linux | >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 03f16c5075b22c8902d2af739969e878b0879c94 | 03f16c5075b22c8902d2af739969e878b0879c94 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.12-1 | 5.10.12-1 |
| linux | linux_kernel | >= 0 < 5.10.12-1 | 5.10.12-1 |
| linux | linux_kernel | >= 0 < 5.10.12-1 | 5.10.12-1 |
| linux | linux_kernel | >= 0 < 5.10.12-1 | 5.10.12-1 |
| linux | linux_kernel | >= 2.6.31 < 4.4.254 | 4.4.254 |
| linux | linux_kernel | >= 4.10 < 4.14.218 | 4.14.218 |
| linux | linux_kernel | >= 4.15 < 4.19.171 | 4.19.171 |
| linux | linux_kernel | >= 4.20 < 5.4.93 | 5.4.93 |
| linux | linux_kernel | >= 4.5 < 4.9.254 | 4.9.254 |
| linux | linux_kernel | >= 5.5 < 5.10.11 | 5.10.11 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
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), dere
osv·2025-04-17·CVSS 7.8
CVE-2021-47668 [HIGH] 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), dere
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.
GHSA
GHSA-78xp-xvw2-6rw6: 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), de
ghsa_unreviewed·2025-04-17
CVE-2021-47668 [HIGH] CWE-416 GHSA-78xp-xvw2-6rw6: 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), de
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.
Red Hat
kernel: can: dev: can_restart: fix use after free bug
vendor_redhat·2025-04-17·CVSS 7.8
CVE-2021-47668 [HIGH] CWE-416 kernel: can: dev: can_restart: fix use after free bug
kernel: can: dev: can_restart: fix use after free bug
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel-rt (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 8) - Out of support scope
Package: kernel-rt (Red Hat Enterprise Linux 8) - Out of support sc
Debian
CVE-2021-47668: linux - In the Linux kernel, the following vulnerability has been resolved: can: dev: c...
vendor_debian·2021·CVSS 7.8
CVE-2021-47668 [HIGH] CVE-2021-47668: linux - In the Linux kernel, the following vulnerability has been resolved: can: dev: c...
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.
Scope: local
bookworm: resolved (fixed in 5.10.12-1)
bullseye: resolved (fixed in 5.10.12-1)
forky: resolved (fixed in 5.10.12-1)
sid: resolved (fixed in 5.10.12-1)
trixie: resolved (fixed in 5.10.12-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/03f16c5075b22c8902d2af739969e878b0879c94https://git.kernel.org/stable/c/08ab951787098ae0b6c0364aeea7a8138226f234https://git.kernel.org/stable/c/260925a0b7d2da5449f8ecfd02c1405e0c8a45b8https://git.kernel.org/stable/c/593c072b7b3c4d7044416eb039d9ad706bedd67ahttps://git.kernel.org/stable/c/92668d28c7e6a7a2ba07df287669ffcdf650c421https://git.kernel.org/stable/c/ac48ef15826e83f4206c47add61072e8fc76d328https://git.kernel.org/stable/c/bbc6847b9b8978b520f62fbc7c68c54ef0f8d282
2025-04-17
Published