We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-49819

octeon_ep: fix potential memory leak in octep_device_setup()



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.

Reserved 2025-05-01 | Published 2025-05-01 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

862cd659a6fbac664f1fcdd7149046040a7a7e9c before 67b65a0db8a7fdad43159819f41335497a4bb04f
affected

862cd659a6fbac664f1fcdd7149046040a7a7e9c before e4041be97b15302ebfffda8bbd45f3b2d096048f
affected

Default status
affected

5.19
affected

Any version before 5.19
unaffected

6.0.10
unaffected

6.1
unaffected

References

git.kernel.org/...c/67b65a0db8a7fdad43159819f41335497a4bb04f

git.kernel.org/...c/e4041be97b15302ebfffda8bbd45f3b2d096048f

cve.org (CVE-2022-49819)

nvd.nist.gov (CVE-2022-49819)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2022-49819

Support options

Helpdesk Chat, Email, Knowledgebase