8.8high
can: peak_usb: fix use after free bugs
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0a25e1f4f18566b750ebd3ae995af64e23111e63 before 5408824636fa0dfedb9ecb0d94abd573131bfbbe, from 0a25e1f4f18566b750ebd3ae995af64e23111e63 before ddd1416f44130377798c1430b76503513b7497c2, from 0a25e1f4f18566b750ebd3ae995af64e23111e63 before ec939c13c3fff2114479769c8380b7f1a54feca9, from 0a25e1f4f18566b750ebd3ae995af64e23111e63 before 50aca891d7a554db0901b245167cd653d73aaa71, 4.0 Not affected: before 4.0, from 4.19.171 up to 4.19.*, from 5.4.93 up to 5.4.*, from 5.10.11 up to 5.10.*, from 5.11 up to * | CVE List |
| linux linux_kernel | from 4.0 before 4.19.171, from 4.20 before 5.4.93, from 5.5 before 5.10.11, 5.11 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: peak_usb: corrección de errores de use after free. Tras llamar a peak_usb_netif_rx_ni(skb), desreferenciar skb no es seguro. En particular, se accede al cf can_frame, que crea un alias de memoria skb, después de peak_usb_netif_rx_ni(). Reordenar las líneas soluciona el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47670 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2021-47670 changed 2026-08-04 | Public domain |