CVE-2021-47670

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*

History

21 Apr 2025, 18:41

Type Values Removed Values Added
CPE 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:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Summary
  • (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.
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/50aca891d7a554db0901b245167cd653d73aaa71 - () https://git.kernel.org/stable/c/50aca891d7a554db0901b245167cd653d73aaa71 - Patch
References () https://git.kernel.org/stable/c/5408824636fa0dfedb9ecb0d94abd573131bfbbe - () https://git.kernel.org/stable/c/5408824636fa0dfedb9ecb0d94abd573131bfbbe - Patch
References () https://git.kernel.org/stable/c/ddd1416f44130377798c1430b76503513b7497c2 - () https://git.kernel.org/stable/c/ddd1416f44130377798c1430b76503513b7497c2 - Patch
References () https://git.kernel.org/stable/c/ec939c13c3fff2114479769c8380b7f1a54feca9 - () https://git.kernel.org/stable/c/ec939c13c3fff2114479769c8380b7f1a54feca9 - Patch

17 Apr 2025, 19:15

Type Values Removed Values Added
CWE CWE-416
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

17 Apr 2025, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-04-17 18:15

Updated : 2025-04-21 18:41


NVD link : CVE-2021-47670

Mitre link : CVE-2021-47670

CVE.ORG link : CVE-2021-47670


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free