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.