CVE-2022-49024

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

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
May 11, 2026
Reserved
Aug 22, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • cab7ffc0324f053c8fb56c821cdd63dc0383270d to before ea8dc27bb044e19868155e500ce397007be98656Affected
  • cab7ffc0324f053c8fb56c821cdd63dc0383270d to before 0bbb88651ef6b7fbb1bf75ec7ba69add632e834bAffected
  • cab7ffc0324f053c8fb56c821cdd63dc0383270d to before 1eca1d4cc21b6d0fc5f9a390339804c0afce9439Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.82 through 5.15.*Not affected
  • 6.0.12 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.