CVE-2026-138822
fbdev: smscufx: check for fb_deferred_io_init() error
Check your servers for CVE-2026-138822
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-138822 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: smscufx: 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 ufx_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 ufx_ops_open() returns.
Additionally, if the allocation of info->fbdefio itself fails, ufx_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 3c8a63e22a08 ("Add support for SMSC UFX6000/7000 USB display adapters"), so target that for the fix.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.60% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5, before 1bdc84c2f4bc95053eb9dc377dddc693c9c882da affected from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5, before 76e1fc68b4c6147477b69542772ea2559d1342dc affected from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5, before 66863d15504d5c039a9c0cb57ea763253eaa3b33 affected from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5, before b3b1f1fbf469983ef4f12510ac3b4468ded7b206 affected from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5, before 78e9ae9d0ff757e6f3d4477111f8d96d5ad028be affected from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5, before db62efc3ecbd4447d90714a8c613955206179b33 affected from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5, before 4310425b130e4b66c4a8e02e9ed2e88afb265622 affected from 3c8a63e22a0802fd56380f6ab305b419f18eb6f5, before 8ea6c6e77ccf887f3e68c64f4c261071a345da1e
Other versions: unaffected
|
| Linux |
affected 3.2 unaffected before 3.2 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-138822 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138822
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-138822
trivy image --scanners vuln IMAGE | grep CVE-2026-138822
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/1bdc84c2f4bc95053eb9dc377dddc693c9c882da git.kernel.org
- https://git.kernel.org/stable/c/76e1fc68b4c6147477b69542772ea2559d1342dc git.kernel.org
- https://git.kernel.org/stable/c/66863d15504d5c039a9c0cb57ea763253eaa3b33 git.kernel.org
- https://git.kernel.org/stable/c/b3b1f1fbf469983ef4f12510ac3b4468ded7b206 git.kernel.org
- https://git.kernel.org/stable/c/78e9ae9d0ff757e6f3d4477111f8d96d5ad028be git.kernel.org
- https://git.kernel.org/stable/c/db62efc3ecbd4447d90714a8c613955206179b33 git.kernel.org
- https://git.kernel.org/stable/c/4310425b130e4b66c4a8e02e9ed2e88afb265622 git.kernel.org
- https://git.kernel.org/stable/c/8ea6c6e77ccf887f3e68c64f4c261071a345da1e git.kernel.org
Source: the record CVE-2026-138822 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