CVE-2021-47668
can: dev: can_restart: fix use after free bug
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
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.
The SUSE Linux Enterprise 15 SP3 kernel was updated to receive various security bug fixes.
CVSS Scores
SSVC
- Decision:Track*
Timeline
- 2025-04-16 CVE Reserved
- 2025-04-17 CVE Published
- 2025-05-04 CVE Updated
- 2025-06-24 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-416: Use After Free
CAPEC
References (8)
URL | Tag | Source |
---|---|---|
https://git.kernel.org/stable/c/39549eef3587f1c1e8c65c88a2400d10fd30ea17 | Vuln. Introduced |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 2.6.31 < 4.4.254 Search vendor "Linux" for product "Linux Kernel" and version " >= 2.6.31 < 4.4.254" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 2.6.31 < 4.9.254 Search vendor "Linux" for product "Linux Kernel" and version " >= 2.6.31 < 4.9.254" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 2.6.31 < 4.14.218 Search vendor "Linux" for product "Linux Kernel" and version " >= 2.6.31 < 4.14.218" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 2.6.31 < 4.19.171 Search vendor "Linux" for product "Linux Kernel" and version " >= 2.6.31 < 4.19.171" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 2.6.31 < 5.4.93 Search vendor "Linux" for product "Linux Kernel" and version " >= 2.6.31 < 5.4.93" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 2.6.31 < 5.10.11 Search vendor "Linux" for product "Linux Kernel" and version " >= 2.6.31 < 5.10.11" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 2.6.31 < 5.11 Search vendor "Linux" for product "Linux Kernel" and version " >= 2.6.31 < 5.11" | en |
Affected
|