CVE-2026-143410: fbdev: ssd1307fb: check for fb_deferred_io_init() error
In the Linux kernel, the following vulnerability has been resolved:
fbdev: ssd1307fb: check for fbdeferredioinit() error
fbdeferredioinit() allocates deferred I/O state, populating info->fbdefiostate, or leaving it NULL if an error occurs.
Currently ssd1307fbprobe() ignores its return value.
Therefore if an error arises in fbdeferredioinit() (for instance, due to an allocation failure) info->fbdefiostate is left NULL.
When the file is subsequently opened, fbopen() will dereference a NULL pointer (calling fbdeferredioopen()).
Fix this by checking for the error.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In ssd1307fb_probe(), check and handle the return value of fb_deferred_io_init() so an initialization error is not ignored.
Event History
Frequently Asked Questions
What conditions are required to trigger the crash?
The ssd1307fb driver must encounter an error during fb_deferred_io_init(), such as an allocation failure, leaving info->fbdefio_state NULL. A subsequent open of the framebuffer device can then cause fb_open() to dereference the NULL state through fb_deferred_io_open().
What is the practical impact if the issue is triggered?
The provided information describes a NULL-pointer dereference when the framebuffer device is opened after deferred I/O initialization failed. This can result in a kernel crash or denial of service.
How can I tell whether a system is affected at runtime?
The relevant failure sequence is an error from fb_deferred_io_init() during ssd1307fb probe followed by opening the framebuffer device. Systems showing such an initialization failure and then a NULL-pointer dereference in fb_open() or fb_deferred_io_open() match the described condition.