CVE-2026-138823: fbdev: udlfb: check for fb_deferred_io_init() error

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

fbdev: udlfb: check for fbdeferredioinit() error

fbdeferredioinit() allocates deferred I/O state, populating info->fbdefiostate, or leaving it NULL if an error occurs.

Currently dlfbopsopen() ignores its return value.

Therefore if an error arises in fbdeferredioinit() (for instance, due to an allocation failure) info->fbdefiostate is left NULL.

fbopen() will then dereference a NULL pointer (calling fbdeferredioopen()) as soon as dlfbopsopen() returns.

Additionally, if the allocation of info->fbdefio itself fails, dlfbopsopen() sets info->fbdefio to NULL and invokes fbdeferredioinit() regardless, hitting BUGON(!fbdefio).

Fix this by only invoking fbdeferredioinit() if the allocation succeeded, and checking for the error.

The driver already supports operating without deferred I/O, so in either case fall back to that by setting info->fbdefio to NULL.

The ignored return value was introduced in commit 56c134f7f1b5 ("fbdev: Track deferred-I/O pages in pageref struct").

However, the BUGON() issue originates from the earlier commit 5bea1fbf9423 ("staging: udlfb: fix incorrect fbdefio implementation for multiple framebuffers"), so target that for the fix.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In dlfb_ops_open(), check the result of fb_deferred_io_init() and invoke it only if allocation of info->fbdefio succeeded; on error, set info->fbdefio to NULL so the driver falls back to operating without deferred I/O.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203