CVE-2022-49819

octeon_ep: fix potential memory leak in octep_device_setup()

published May 1, 2025

CVSS
—
EPSS
0%
Percentile
6.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00170 · 6.1th percentile
Published
2025-05-01T14:09Z
EPSS history
Timeline
  • 01 MAY 14:09Z
    octeon_ep: fix potential memory leak in octep_device_setup()
    cvelistv5