Bug 2360786 (CVE-2021-47670) - CVE-2021-47670 kernel: can: peak_usb: fix use after free bugs
Summary: CVE-2021-47670 kernel: can: peak_usb: fix use after free bugs
Keywords:
Status: NEW
Alias: CVE-2021-47670
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-17 19:01 UTC by OSIDB Bzimport
Modified: 2025-04-20 17:10 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-17 19:01:43 UTC
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.

Comment 1 Avinash Hanwate 2025-04-18 03:49:52 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025041734-CVE-2021-47670-2b77@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.