Bug 2363414 (CVE-2022-49819) - CVE-2022-49819 kernel: octeon_ep: fix potential memory leak in octep_device_setup()
Summary: CVE-2022-49819 kernel: octeon_ep: fix potential memory leak in octep_device_s...
Keywords:
Status: NEW
Alias: CVE-2022-49819
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: 2025-05-01 15:03 UTC by OSIDB Bzimport
Modified: 2025-05-02 05:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 15:03:43 UTC
In the Linux kernel, the following vulnerability has been resolved:

octeon_ep: fix potential memory leak in octep_device_setup()

When occur unsupported_dev and mbox init errors, it did not free oct->conf
and iounmap() oct->mmio[i].hw_addr. That would trigger memory leak problem.
Add kfree() for oct->conf and iounmap() for oct->mmio[i].hw_addr under
unsupported_dev and mbox init errors to fix the problem.

Comment 1 Avinash Hanwate 2025-05-02 05:29:31 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050132-CVE-2022-49819-6eb6@gregkh/T


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