All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49275

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-22

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.

A flaw was found in the Linux kernel. A use-after-free vulnerability exists in the Controller Area Network (CAN) Bosch M_CAN driver when transmitting packets, where a socket buffer is freed prematurely during transmission handling. A local attacker could exploit this vulnerability to cause a system crash resulting in a denial of service (DoS) or potentially execute arbitrary code.