{"id":"CVE-2022-49819","aliases":["CVE-2022-49819"],"related":[],"kind":"vulnerability","state":"published","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_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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_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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: octeon_ep: se corrige una posible fuga de memoria en octep_device_setup(). Cuando se producen errores unsupported_dev e init de mbox, no se liberan oct-&gt;conf ni iounmap() de oct-&gt;mmio[i].hw_addr. Esto causaría un problema de fuga de memoria. Se añaden kfree() para oct-&gt;conf e iounmap() para oct-&gt;mmio[i].hw_addr en los errores unsupported_dev e init de mbox para solucionar el problema.","source":"nvd"}],"published":"2025-05-01T14:09:41.606Z","modified":"2026-11-05T20:17:13.997Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"862cd659a6fbac664f1fcdd7149046040a7a7e9c","fixed":"67b65a0db8a7fdad43159819f41335497a4bb04f","status":"affected"},{"type":"git","introduced":"862cd659a6fbac664f1fcdd7149046040a7a7e9c","fixed":"e4041be97b15302ebfffda8bbd45f3b2d096048f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"6.0.10","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.19","fixed":"6.0.10"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/67b65a0db8a7fdad43159819f41335497a4bb04f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4041be97b15302ebfffda8bbd45f3b2d096048f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:49:28.978Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49819","url":"https://www.cve.org/CVERecord?id=CVE-2022-49819","licence":"CVE Terms of Use","modified":"2026-11-05T19:49:51.384Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49819","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49819","licence":"Public domain","modified":"2026-11-05T20:17:13.997Z"}],"updatedAt":"2026-11-25T22:58:20.885Z","epss":{"score":0.00242,"percentile":0.09209,"date":"2026-11-30T12:00:22.000Z"}}