← CVE Intelligence

CVE-2022-49024

can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods In m_can_pci_remove() and error handling path of m_can_pci_probe(), m_can_class_free_dev() should be called to free resource allocated by m_can_class_allocate_dev(), otherwise there will be memleak.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected cab7ffc0324f053c8fb56c821cdd63dc0383270d before ea8dc27bb044e19868155e500ce397007be98656; affected cab7ffc0324f053c8fb56c821cdd63dc0383270d before 0bbb88651ef6b7fbb1bf75ec7ba69add632e834b; affected cab7ffc0324f053c8fb56c821cdd63dc0383270d before 1eca1d4cc21b6d0fc5f9a390339804c0afce9439
Linux / Linuxaffected 5.11; unaffected 0 before 5.11; unaffected 5.15.82 through 5.15.*; unaffected 6.0.12 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.