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
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:
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 : Awaiting Analysis
Published: 2025-04-17T18:15:43.623
Modified: 2025-04-17T20:21:05.203
Link: CVE-2021-47668
