← CVE Intelligence

CVE-2022-49275

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 80646733f11c2e9de3b6339f7e635047e6087280 before d93ed9aff64968f4cdad690712eb4f48ae537bde; affected 80646733f11c2e9de3b6339f7e635047e6087280 before d3892a747ab16b1eb6593a19d29f62c3b3f020ac; affected 80646733f11c2e9de3b6339f7e635047e6087280 before 7728d937ec403a1ceff9483023252d2cb8777f81; affected 80646733f11c2e9de3b6339f7e635047e6087280 before 08d90846e438ac22dc56fc49ec0b0d195831c5ed; affected 80646733f11c2e9de3b6339f7e635047e6087280 before 869016a2938ac44f7b2fb7fc22c89edad99eb9b3; affected 80646733f11c2e9de3b6339f7e635047e6087280 before f43e64076ff1b1dcb893fb77ad1204105f710a29; affected 80646733f11c2e9de3b6339f7e635047e6087280 before 4db7d6f481990dd179a9ee7126dc7aa31ea4fff3; affected 80646733f11c2e9de3b6339f7e635047e6087280 before 31417073493f302d26ab66b3abc098d43227b835; affected 80646733f11c2e9de3b6339f7e635047e6087280 before 2e8e79c416aae1de224c0f1860f2e3350fa171f8
Linux / Linuxaffected 3.18; unaffected 0 before 3.18; unaffected 4.9.324 through 4.9.*; unaffected 4.14.289 through 4.14.*; unaffected 4.19.253 through 4.19.*; unaffected 5.4.207 through 5.4.*; unaffected 5.10.110 through 5.10.*; unaffected 5.15.33 through 5.15.*; unaffected 5.16.19 through 5.16.*; unaffected 5.17.2 through 5.17.*; unaffected 5.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.