In the Linux kernel, the following vulnerability has been resolved: octeonep: fix potential memory leak in octepdevicesetup() 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 unsupported_dev and mbox init errors to fix the problem.