Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 8bdb3a2d7df48b861972c4bfb58490853a228f51 before b149f77d04082a9da75944cdc488becb0e35258f; affected 8bdb3a2d7df48b861972c4bfb58490853a228f51 before 0352fdac3cbf11e3b323322ff8cd95e20cbf5cd7; affected 8bdb3a2d7df48b861972c4bfb58490853a228f51 before 17518e7123f7ef01b1155064dc01f2087583908e; affected 8bdb3a2d7df48b861972c4bfb58490853a228f51 before 9eb7b3cbe99c9c0edbff69eb155c723e30983c22; affected 8bdb3a2d7df48b861972c4bfb58490853a228f51 before 9f8a822b44c42502f105cf6574f4867067eecdd0; affected 8bdb3a2d7df48b861972c4bfb58490853a228f51 before 466a8af0dee2cf745307155e26884e19a37b7e15; affected 8bdb3a2d7df48b861972c4bfb58490853a228f51 before 9e768ae51426af2034d479133cfd73010d641b1a; affected 8bdb3a2d7df48b861972c4bfb58490853a228f51 before de8db23aa7c337e606fca9faf48b3ba72968597a |
| Linux / Linux | affected 2.6.24; unaffected 0 before 2.6.24; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.109 through 6.12.*; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b149f77d04082a9da75944cdc488becb0e35258f
- https://git.kernel.org/stable/c/0352fdac3cbf11e3b323322ff8cd95e20cbf5cd7
- https://git.kernel.org/stable/c/17518e7123f7ef01b1155064dc01f2087583908e
- https://git.kernel.org/stable/c/9eb7b3cbe99c9c0edbff69eb155c723e30983c22
- https://git.kernel.org/stable/c/9f8a822b44c42502f105cf6574f4867067eecdd0
- https://git.kernel.org/stable/c/466a8af0dee2cf745307155e26884e19a37b7e15
- https://git.kernel.org/stable/c/9e768ae51426af2034d479133cfd73010d641b1a
- https://git.kernel.org/stable/c/de8db23aa7c337e606fca9faf48b3ba72968597a