CVE-2022-49819

published 1 May 2025 · updated 7 Nov 2026

octeon_ep: fix potential memory leak in octep_device_setup()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e4041be97b15302ebfffda8bbd45f3b2d096048f, Kernel 6.0.10 and Kernel 67b65a0db8a7fdad43159819f41335497a4bb04f.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=862cd659a6fbac664f1fcdd7149046040a7a7e9c <e4041be97b15302ebfffda8bbd45f3b2d096048f, =6.1, >=5.19 <6.0.10, =5.19, >=862cd659a6fbac664f1fcdd7149046040a7a7e9c <67b65a0db8a7fdad43159819f41335497a4bb04fe4041be97b15302ebfffda8bbd45f3b2d096048f, 6.0.10, 67b65a0db8a7fdad43159819f41335497a4bb04f
linux-kernel: Kernel>=5.19.0 <6.0.106.0.10

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49819 severity on Zeptric[![CVE-2022-49819](https://zeptric.io/badge/cve/CVE-2022-49819.svg)](https://zeptric.io/cve/CVE-2022-49819)