What’s Vulnerable › Vulnerabilities

CVE-2022-49275: can: m_can: m_can_tx_handler(): fix use after free of skb

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.289, 4.19.253, 4.9.324, 5.10.110. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49275 or the next vulnerability affects your stack