In the Linux kernel, the following vulnerability has been resolved:
media: vimc: Fix wrong function called when vimc_init() fails
In vimcinit(), when platformdriverregister(&vimcpdrv) fails, platformdriverunregister(&vimcpdrv) is wrongly called rather than platformdeviceunregister(&vimcpdev), which causes kernel warning:
Unexpected driver unregister! WARNING: CPU: 1 PID: 14517 at drivers/base/driver.c:270 driverunregister+0x8f/0xb0 RIP: 0010:driverunregister+0x8f/0xb0 Call Trace: <TASK> vimcinit+0x7d/0x1000 [vimc] dooneinitcall+0xd0/0x4e0 doinitmodule+0x1cf/0x6b0 loadmodule+0x65c2/0x7820