CVE-2026-138823
fbdev: udlfb: check for fb_deferred_io_init() error
Check your servers for CVE-2026-138823
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138823 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5bea1fbf942363e4114a086aefc67cdca21be7f0, before 04e56b8f72c6dd7378d394a84d218ac2631f7bcc affected from 5bea1fbf942363e4114a086aefc67cdca21be7f0, before a88b2d3c78d92a3c4ff7fdfff6c5c322283f0e33 affected from 5bea1fbf942363e4114a086aefc67cdca21be7f0, before 1efe1012f6c2790f8c75034dbd0ce7cddd2f1d89 affected from 5bea1fbf942363e4114a086aefc67cdca21be7f0, before 49e594079d7e741016ca4bd70c40964bc75cc72d affected from 5bea1fbf942363e4114a086aefc67cdca21be7f0, before 33763f4ec91602db6bc21633b18e563ae1b1b44e affected from 5bea1fbf942363e4114a086aefc67cdca21be7f0, before b4165e730e7807b90fd1b0e847f7fb826c674027 affected from 5bea1fbf942363e4114a086aefc67cdca21be7f0, before b8d058d9520315db836b07c4d0ef04d170b9f9a5 affected from 5bea1fbf942363e4114a086aefc67cdca21be7f0, before eae055f33e41e1d3e1a7e905bdcb1e9f196ed31d
Other versions: unaffected
|
| Linux |
affected 2.6.37 unaffected before 2.6.37 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138823 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138823
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-138823
trivy image --scanners vuln IMAGE | grep CVE-2026-138823
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/04e56b8f72c6dd7378d394a84d218ac2631f7bcc git.kernel.org
- https://git.kernel.org/stable/c/a88b2d3c78d92a3c4ff7fdfff6c5c322283f0e33 git.kernel.org
- https://git.kernel.org/stable/c/1efe1012f6c2790f8c75034dbd0ce7cddd2f1d89 git.kernel.org
- https://git.kernel.org/stable/c/49e594079d7e741016ca4bd70c40964bc75cc72d git.kernel.org
- https://git.kernel.org/stable/c/33763f4ec91602db6bc21633b18e563ae1b1b44e git.kernel.org
- https://git.kernel.org/stable/c/b4165e730e7807b90fd1b0e847f7fb826c674027 git.kernel.org
- https://git.kernel.org/stable/c/b8d058d9520315db836b07c4d0ef04d170b9f9a5 git.kernel.org
- https://git.kernel.org/stable/c/eae055f33e41e1d3e1a7e905bdcb1e9f196ed31d git.kernel.org
Source: the record CVE-2026-138823 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse