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.
History

Sat, 19 Apr 2025 01:30:00 +0000


Thu, 17 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2025-04-17T18:25:25.427Z

Reserved: 2025-04-16T07:16:05.752Z

Link: CVE-2021-47668

cve-icon Vulnrichment

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

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-04-17T18:15:43.623

Modified: 2025-04-17T20:21:05.203

Link: CVE-2021-47668

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-04-17T00:00:00Z

Links: CVE-2021-47668 - Bugzilla