In the Linux kernel, the following vulnerability has been resolved: fbdev: uvesafb: unregister connector callback on init failure uvesafb_init() registers the v86d connector callback before registering the platform driver. If platform_driver_register() fails, the function returns the error directly and leaves the connector callback registered. The later platform-device failure path already unregisters the callback. Add the same cleanup before the final return when platform-driver registration fails. This issue was identified during our ongoing static-analysis research while reviewing kernel code.
https://git.kernel.org/stable/c/de8db23aa7c337e606fca9faf48b3ba72968597a
https://git.kernel.org/stable/c/b149f77d04082a9da75944cdc488becb0e35258f
https://git.kernel.org/stable/c/9f8a822b44c42502f105cf6574f4867067eecdd0
https://git.kernel.org/stable/c/9eb7b3cbe99c9c0edbff69eb155c723e30983c22
https://git.kernel.org/stable/c/9e768ae51426af2034d479133cfd73010d641b1a
https://git.kernel.org/stable/c/466a8af0dee2cf745307155e26884e19a37b7e15
https://git.kernel.org/stable/c/17518e7123f7ef01b1155064dc01f2087583908e
https://git.kernel.org/stable/c/0352fdac3cbf11e3b323322ff8cd95e20cbf5cd7