Linux
fbdev: uvesafb: unregister connector callback on init failure
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8bdb3a2d7df48b861972c4bfb58490853a228f51, < b149f77d04082a9da75944cdc488becb0e35258f
- >= 8bdb3a2d7df48b861972c4bfb58490853a228f51, < 0352fdac3cbf11e3b323322ff8cd95e20cbf5cd7
- >= 8bdb3a2d7df48b861972c4bfb58490853a228f51, < 17518e7123f7ef01b1155064dc01f2087583908e
- >= 8bdb3a2d7df48b861972c4bfb58490853a228f51, < 9eb7b3cbe99c9c0edbff69eb155c723e30983c22
- >= 8bdb3a2d7df48b861972c4bfb58490853a228f51, < 9f8a822b44c42502f105cf6574f4867067eecdd0
- >= 8bdb3a2d7df48b861972c4bfb58490853a228f51, < 466a8af0dee2cf745307155e26884e19a37b7e15
- >= 8bdb3a2d7df48b861972c4bfb58490853a228f51, < 9e768ae51426af2034d479133cfd73010d641b1a
- >= 8bdb3a2d7df48b861972c4bfb58490853a228f51, < de8db23aa7c337e606fca9faf48b3ba72968597a
Fixed in b149f77d04082a9da75944cdc488becb0e35258f, 0352fdac3cbf11e3b323322ff8cd95e20cbf5cd7, 17518e7123f7ef01b1155064dc01f2087583908e, 9eb7b3cbe99c9c0edbff69eb155c723e30983c22, 9f8a822b44c42502f105cf6574f4867067eecdd0, 466a8af0dee2cf745307155e26884e19a37b7e15, 9e768ae51426af2034d479133cfd73010d641b1a, de8db23aa7c337e606fca9faf48b3ba72968597a
- 2.6.24
Fixed in 0, 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4, 7.3
Mitigation
Upgrade Linux to b149f77d04082a9da75944cdc488becb0e35258f or 0352fdac3cbf11e3b323322ff8cd95e20cbf5cd7 or 17518e7123f7ef01b1155064dc01f2087583908e or 9eb7b3cbe99c9c0edbff69eb155c723e30983c22 or 9f8a822b44c42502f105cf6574f4867067eecdd0 or 466a8af0dee2cf745307155e26884e19a37b7e15 or 9e768ae51426af2034d479133cfd73010d641b1a or de8db23aa7c337e606fca9faf48b3ba72968597a or later.
Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.