{"id":"CVE-2022-49819","summary":"octeon_ep: fix potential memory leak in octep_device_setup()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteon_ep: fix potential memory leak in octep_device_setup()\n\nWhen occur unsupported_dev and mbox init errors, it did not free oct-\u003econf\nand iounmap() oct-\u003emmio[i].hw_addr. That would trigger memory leak problem.\nAdd kfree() for oct-\u003econf and iounmap() for oct-\u003emmio[i].hw_addr under\nunsupported_dev and mbox init errors to fix the problem.","modified":"2026-04-02T08:27:57.574735Z","published":"2025-05-01T14:09:41.606Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49819.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/67b65a0db8a7fdad43159819f41335497a4bb04f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4041be97b15302ebfffda8bbd45f3b2d096048f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49819.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49819"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"862cd659a6fbac664f1fcdd7149046040a7a7e9c"},{"fixed":"67b65a0db8a7fdad43159819f41335497a4bb04f"},{"fixed":"e4041be97b15302ebfffda8bbd45f3b2d096048f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49819.json"}}],"schema_version":"1.7.5"}