What’s Vulnerable › Vulnerabilities
CVE-2022-49819: octeon_ep: fix potential memory leak in octep_device_setup()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-01 · updated 2026-06-17
- Weakness: CWE-401
Description
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 products
- Linux kernel: from 5.19 before 6.0.10; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4, 6.1-rc5 — fixed in 6.0.10
How to fix
Upgrade to a fixed version: Linux kernel 6.0.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/67b65a0db8a7fdad43159819f41335497a4bb04f
- https://git.kernel.org/stable/c/e4041be97b15302ebfffda8bbd45f3b2d096048f
Get alerted when CVE-2022-49819 or the next vulnerability affects your stack