CVE-2022-49275Published Feb 26, 2025 · Feb 26Updated Oct 28
can: m_can: m_can_tx_handler(): fix use after free of skb
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 80646733f11c2e9de3b6339f7e635047e6087280 · < f43e64076ff1b1dcb893fb77ad1204105f710a29| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s m_can transmit handler has a use-after-free involving an skb freed by can_put_echo_skb(). The input does not specify how an attacker could trigger it or whether local access, authentication, or user interaction is required.
Engineers running the Linux kernel with the m_can driver should check their versions; affected kernel versions are not specified.