CVE-2021-47670

high

Description

In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: fix use after free bugs After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the peak_usb_netif_rx_ni(). Reordering the lines solves the issue.

References

https://git.kernel.org/stable/c/ec939c13c3fff2114479769c8380b7f1a54feca9

https://git.kernel.org/stable/c/ddd1416f44130377798c1430b76503513b7497c2

https://git.kernel.org/stable/c/5408824636fa0dfedb9ecb0d94abd573131bfbbe

https://git.kernel.org/stable/c/50aca891d7a554db0901b245167cd653d73aaa71

Details

Source: Mitre, NVD

Published: 2025-04-17

Updated: 2025-04-21

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.00012