Bug 2347795 (CVE-2022-49275) - CVE-2022-49275 kernel: can: m_can: m_can_tx_handler(): fix use after free of skb
Summary: CVE-2022-49275 kernel: can: m_can: m_can_tx_handler(): fix use after free of skb
Keywords:
Status: NEW
Alias: CVE-2022-49275
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-02-26 03:07 UTC by OSIDB Bzimport
Modified: 2025-04-29 06:44 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:07:00 UTC
In the Linux kernel, the following vulnerability has been resolved:

can: m_can: m_can_tx_handler(): fix use after free of skb

can_put_echo_skb() will clone skb then free the skb. Move the
can_put_echo_skb() for the m_can version 3.0.x directly before the
start of the xmit in hardware, similar to the 3.1.x branch.

Comment 1 Avinash Hanwate 2025-02-26 19:36:20 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022630-CVE-2022-49275-9e36@gregkh/T


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