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

Mon, 21 Apr 2025 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
CPEs 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:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel

Mon, 21 Apr 2025 02:45:00 +0000

Type Values Removed Values Added
Metrics threat_severity

Important

threat_severity

Moderate


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: 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.
Title can: peak_usb: fix use after free bugs
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-04-17T18:01:30.722Z

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

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

Link: CVE-2021-47670

cve-icon Vulnrichment

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

cve-icon NVD

Status : Analyzed

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

Modified: 2025-04-21T18:41:16.860

Link: CVE-2021-47670

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2021-47670 - Bugzilla