Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.19, < 6.0.10 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/67b65a0db8a7fdad43159819f41335497a4bb04fPatch
- https://git.kernel.org/stable/c/e4041be97b15302ebfffda8bbd45f3b2d096048fPatch
FAQ
What is CVE-2022-49819?
CVE-2022-49819 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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-...
How severe is CVE-2022-49819?
CVE-2022-49819 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49819?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.