Bug 2320722 (CVE-2022-49024) - CVE-2022-49024 kernel: can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods
Summary: CVE-2022-49024 kernel: can: m_can: pci: add missing m_can_class_free_dev() in...
Keywords:
Status: NEW
Alias: CVE-2022-49024
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 21:05 UTC by OSIDB Bzimport
Modified: 2024-10-22 08:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 21:05:00 UTC
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.

Comment 1 Avinash Hanwate 2024-10-22 06:41:48 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024102154-CVE-2022-49024-e31a@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.