CVE-2022-49275 Details
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 use-after-free vulnerability has been identified in the Linux kernel's m_can transmission handler. This issue arises because the function skbcan_put_echo_skb() clones a socket buffer (skb) and then frees it, creating a potential use-after-free condition. The vulnerability affects the m_can version 3.0.x. The issue has been addressed by moving the skbcan_put_echo_skb() call to before the transmission starts in hardware, aligning it with the 3.1.x branch.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/08d90846e438ac22dc56fc49ec0b0d195831c5ed | kernel.org | Patch |
| https://git.kernel.org/stable/c/2e8e79c416aae1de224c0f1860f2e3350fa171f8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/31417073493f302d26ab66b3abc098d43227b835 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4db7d6f481990dd179a9ee7126dc7aa31ea4fff3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7728d937ec403a1ceff9483023252d2cb8777f81 | kernel.org | Patch |
| https://git.kernel.org/stable/c/869016a2938ac44f7b2fb7fc22c89edad99eb9b3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d3892a747ab16b1eb6593a19d29f62c3b3f020ac | kernel.org | Patch |
| https://git.kernel.org/stable/c/d93ed9aff64968f4cdad690712eb4f48ae537bde | kernel.org | Patch |
| https://git.kernel.org/stable/c/f43e64076ff1b1dcb893fb77ad1204105f710a29 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.18, < 4.9.324 >= 4.10, < 4.14.289 >= 4.15, < 4.19.253 >= 4.20, < 5.4.207 >= 5.5, < 5.10.110 >= 5.11, < 5.15.33 >= 5.16, < 5.16.19 >= 5.17, < 5.17.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 25, 2025 | Initial Analysis | [email protected] |
| Mar 4, 2025 | CVE Modified | CISA-ADP |
| Feb 26, 2025 | New CVE Received | kernel.org |