CVE-2022-49819

Source
https://cve.org/CVERecord?id=CVE-2022-49819
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49819.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49819
Downstream
Published
2025-05-01T14:09:41.606Z
Modified
2026-03-20T12:22:29.420875Z
Summary
octeon_ep: fix potential memory leak in octep_device_setup()
Details

In the Linux kernel, the following vulnerability has been resolved:

octeonep: fix potential memory leak in octepdevice_setup()

When occur unsupporteddev and mbox init errors, it did not free oct->conf and iounmap() oct->mmio[i].hwaddr. That would trigger memory leak problem. Add kfree() for oct->conf and iounmap() for oct->mmio[i].hwaddr under unsupporteddev and mbox init errors to fix the problem.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49819.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-49819.json"