CVE-2026-89597: 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
uvesafbinit() registers the v86d connector callback before registering the platform driver. If platformdriverregister() 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 Software
Event History
Frequently Asked Questions
Under what condition does the callback remain registered?
The callback is left registered only when uvesafb_init() has registered the v86d connector callback and the subsequent platform_driver_register() call fails.
Is the platform-device failure path affected by the same cleanup omission?
No. The description states that the later platform-device failure path already unregisters the connector callback.
What does the available fix change?
The fix adds connector-callback cleanup before returning an error when platform-driver registration fails.