AZL-114656: CVE-2026-99328 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
HID: picoLCD: check for fbdeferredioinit() error
fbdeferredioinit() allocates deferred I/O state, populating info->fbdefiostate, or leaving it NULL if an error occurs.
Currently picolcdinitframebuffer() 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.
Also correct cleanup ordering - defio is initialised after the sysfs file, so cleanup defio first.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In picolcd_init_framebuffer(), check the return value of fb_deferred_io_init() and handle an error before fb_open() can dereference a NULL fbdefio_state.
- Compensating control
Correct cleanup ordering so deferred-I/O state is cleaned up first, because defio is initialized after the sysfs file.