{"id":"CVE-2022-49819","title":"octeon_ep: fix potential memory leak in octep_device_setup()","summary":"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->conf\nand iounmap() oct->mmio[i].hw_a…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 862cd659a6fbac664f1fcdd7149046040a7a7e9c < 67b65a0db8a7fdad43159819f41335497a4bb04f","Linux >= 862cd659a6fbac664f1fcdd7149046040a7a7e9c < e4041be97b15302ebfffda8bbd45f3b2d096048f","Linux 5.19"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T19:49:28.978552Z"},"published":"2025-05-01","updated":"2026-11-05","sourceUpdated":"2026-11-05T19:49:51.384Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-49819","references":[{"url":"https://git.kernel.org/stable/c/67b65a0db8a7fdad43159819f41335497a4bb04f"},{"url":"https://git.kernel.org/stable/c/e4041be97b15302ebfffda8bbd45f3b2d096048f"}],"tags":["cve.org"],"epss":0.0017,"epssPercentile":0.06465,"ingestedAt":"2026-11-05T22:38:31.604Z","slug":"CVE-2022-49819","body":"## Overview\n\nIn 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->conf\nand iounmap() oct->mmio[i].hw_addr. That would trigger memory leak problem.\nAdd kfree() for oct->conf and iounmap() for oct->mmio[i].hw_addr under\nunsupported_dev and mbox init errors to fix the problem.\n\n## Affected\n\n- `Linux >= 862cd659a6fbac664f1fcdd7149046040a7a7e9c < 67b65a0db8a7fdad43159819f41335497a4bb04f`\n- `Linux >= 862cd659a6fbac664f1fcdd7149046040a7a7e9c < e4041be97b15302ebfffda8bbd45f3b2d096048f`\n- `Linux 5.19`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}