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
Affected Vendors & Products
References
History
Mon, 21 Apr 2025 19:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Linux
Linux linux Kernel |
|
CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.11:rc1:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.11:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.11:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.11:rc4:*:*:*:*:*:* |
|
Vendors & Products |
Linux
Linux linux Kernel |
Sat, 19 Apr 2025 01:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
threat_severity
|
Thu, 17 Apr 2025 19:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-416 | |
Metrics |
cvssV3_1
|
Thu, 17 Apr 2025 18:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | can: dev: can_restart: fix use after free bug | |
References |
|
|

Status: PUBLISHED
Assigner: Linux
Published: 2025-04-17T18:01:29.315Z
Updated: 2025-04-17T18:25:25.427Z
Reserved: 2025-04-16T07:16:05.752Z
Link: CVE-2021-47668

Updated: 2025-04-17T18:17:58.458Z

Status : Analyzed
Published: 2025-04-17T18:15:43.623
Modified: 2025-04-21T18:41:27.987
Link: CVE-2021-47668
