7.8high
can: m_can: m_can_tx_handler(): fix use after free of skb
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.28% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 80646733f11c2e9de3b6339f7e635047e6087280 before d93ed9aff64968f4cdad690712eb4f48ae537bde, from 80646733f11c2e9de3b6339f7e635047e6087280 before d3892a747ab16b1eb6593a19d29f62c3b3f020ac, from 80646733f11c2e9de3b6339f7e635047e6087280 before 7728d937ec403a1ceff9483023252d2cb8777f81, from 80646733f11c2e9de3b6339f7e635047e6087280 before 08d90846e438ac22dc56fc49ec0b0d195831c5ed, from 80646733f11c2e9de3b6339f7e635047e6087280 before 869016a2938ac44f7b2fb7fc22c89edad99eb9b3, from 80646733f11c2e9de3b6339f7e635047e6087280 before f43e64076ff1b1dcb893fb77ad1204105f710a29, from 80646733f11c2e9de3b6339f7e635047e6087280 before 4db7d6f481990dd179a9ee7126dc7aa31ea4fff3, from 80646733f11c2e9de3b6339f7e635047e6087280 before 31417073493f302d26ab66b3abc098d43227b835 and 2 more Not affected: before 3.18, from 4.9.324 up to 4.9.*, from 4.14.289 up to 4.14.*, from 4.19.253 up to 4.19.*, from 5.4.207 up to 5.4.*, from 5.10.110 up to 5.10.* | CVE List |
| linux linux_kernel | from 3.18 before 4.9.324, from 4.10 before 4.14.289, from 4.15 before 4.19.253, from 4.20 before 5.4.207, from 5.5 before 5.10.110, from 5.11 before 5.15.33, from 5.16 before 5.16.19, from 5.17 before 5.17.2 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
En el núcleo de Linux, se ha resuelto la siguiente vulnerabilidad: can: m_can: m_can_tx_handler(): se corrige el use after free skb can_put_echo_skb() clonará skb y luego lo liberará. Mueva can_put_echo_skb() para la versión 3.0.x de m_can directamente antes del inicio de la transmisión en el hardware, de manera similar a la rama 3.1.x.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49275 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2022-49275 changed 2026-06-17 | Public domain |