CVE-2022-49819

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux862cd659a6fbac664f1fcdd7149046040a7a7e9c < 67b65a0db8a7fdad43159819f41335497a4bb04faffected
LinuxLinux862cd659a6fbac664f1fcdd7149046040a7a7e9c < e4041be97b15302ebfffda8bbd45f3b2d096048faffected
LinuxLinux5.19affected
LinuxLinux0 < 5.19unaffected
LinuxLinux6.0.10 <= 6.0.*unaffected
LinuxLinux6.1 <= *unaffected

Weaknesses

References