CVE-2021-47668CWE-416

CVE-2021-47668

High · published April 17, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
13.6
In the wild
Unconfirmed
What it is

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 record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00235 · 13.6th percentile
Weakness
CWE-416 · Use After Free
Published
2025-04-17T22:15Z
Affected products (10)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.31, < 4.4.2544.4.254
linux/linux_kernel≥ 4.5, < 4.9.2544.9.254
linux/linux_kernel≥ 4.10, < 4.14.2184.14.218
linux/linux_kernel≥ 4.15, < 4.19.1714.19.171
linux/linux_kernel≥ 4.20, < 5.4.935.4.93
linux/linux_kernel≥ 5.5, < 5.10.115.10.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (7)
EPSS history
Timeline
  • 17 APR 18:01Z
    can: dev: can_restart: fix use after free bug
    cvelistv5