CVE-2026-138823

Not scored yetLast modified Nov 30, 2026

Description

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

fbdev: udlfb: check for fb_deferred_io_init() error

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

Currently dlfb_ops_open() ignores its return value.

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

fb_open() will then dereference a NULL pointer (calling fb_deferred_io_open()) as soon as dlfb_ops_open() returns.

Additionally, if the allocation of info->fbdefio itself fails, dlfb_ops_open() sets info->fbdefio to NULL and invokes fb_deferred_io_init() regardless, hitting BUG_ON(!fbdefio).

Fix this by only invoking fb_deferred_io_init() 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 BUG_ON() issue originates from the earlier commit 5bea1fbf9423 ("staging: udlfb: fix incorrect fb_defio implementation for multiple framebuffers"), so target that for the fix.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138824In the Linux kernel, the following vulnerability has been resolved: fbdev: xen-fbfront: check for fb_deferred_io_init() error fb_deferred_CVE-2026-138825In the Linux kernel, the following vulnerability has been resolved: fbdev: core: Initialize modelist in framebuffer_alloc() framebuffer_alCVE-2026-138826In the Linux kernel, the following vulnerability has been resolved: fbdev: sh_mobile_lcdcfb: Restore the per-overlay sysfs attributes The CVE-2026-138827In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd: hfi: Fix out-of-bounds reads when parsing ranking datCVE-2026-138828In the Linux kernel, the following vulnerability has been resolved: platform/x86: asus-wmi: Serialize WMI method evaluations with a mutex CVE-2026-138829In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: fix 16-byte heap overflow for empty auth tokeCVE-2026-138839.6Type Confusion in ANGLE in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to potentially perform a sandbox escape via a crafCVE-2026-138830In the Linux kernel, the following vulnerability has been resolved: mm/shmem: don't release a swapin-error marker as a swap entry A failedCVE-2026-138831In the Linux kernel, the following vulnerability has been resolved: mm/shmem: report RCU-tasks quiescent states while undoing a range ThisCVE-2026-138832In the Linux kernel, the following vulnerability has been resolved: mm/madvise: reclaim isolated folios if PTE restart fails MADV_PAGEOUT CVE-2026-138833In the Linux kernel, the following vulnerability has been resolved: proc/task_mmu: handle special PMDs in clear_refs and pagemap mshv_vtl_CVE-2026-138834In the Linux kernel, the following vulnerability has been resolved: xprtrdma: trim head iovec when the payload arrives via a Write chunk T
CVE-2026-138823: Unscored | Vulnix