What’s Vulnerable › Vulnerabilities

CVE-2022-49024: can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.82, 6.0.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49024 or the next vulnerability affects your stack