Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • cab7ffc0324f053c8fb56c821cdd63dc0383270d to < ea8dc27bb044e19868155e500ce397007be98656affected
  • cab7ffc0324f053c8fb56c821cdd63dc0383270d to < 0bbb88651ef6b7fbb1bf75ec7ba69add632e834baffected
  • cab7ffc0324f053c8fb56c821cdd63dc0383270d to < 1eca1d4cc21b6d0fc5f9a390339804c0afce9439affected

Linux Linux

Default version status: affected

  • 5.11affected
  • 0 to < 5.11unaffected
  • 5.15.82 to ≤ 5.15.*unaffected
  • 6.0.12 to ≤ 6.0.*unaffected
  • 6.1 to ≤ *unaffected

References