CVE-2026-138821
fbdev: sh_mobile_lcdc: check for fb_deferred_io_init() error
Check your servers for CVE-2026-138821
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-138821 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: sh_mobile_lcdc: 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 sh_mobile_lcdc_start() 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.
When the file is subsequently opened, fb_open() will dereference a NULL pointer (calling fb_deferred_io_open()).
Fix this by checking for the error.
Also clear info->fbdefio in that case, so that sh_mobile_lcdc_stop() does not attempt to clean up deferred I/O state that was never initialised.
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
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.67% of all scored CVEs. Scores of 2 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 186b89659c4c67cccead52961eab0ca3b23951dc, before ccd7d2a7ca8eae95afa2ef8323bf185bf275205e affected from 56c134f7f1b58be08bdb0ca8372474a4a5165f31, before ac709b87bd958ddb69541c1a3e21e2171aaab121 affected from 56c134f7f1b58be08bdb0ca8372474a4a5165f31, before e34ec5752ac1bcf012b294562a0426ee9ad5b156 affected from 56c134f7f1b58be08bdb0ca8372474a4a5165f31, before 4a9ad942a4b32138ca9167de22c6df02b02f8b09 affected from 56c134f7f1b58be08bdb0ca8372474a4a5165f31, before 8e21bbb7c2ce772ea3d672c1de662c5da1e9fbeb affected from 56c134f7f1b58be08bdb0ca8372474a4a5165f31, before 3ec236beefafd91734f5539f12e1918a1392a60f affected from 56c134f7f1b58be08bdb0ca8372474a4a5165f31, before 5192201aaac2a923ff98306e3ccda58718ee395f affected from 5.15.149, before 5.15.226
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 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-138821 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138821
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-138821
trivy image --scanners vuln IMAGE | grep CVE-2026-138821
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/ccd7d2a7ca8eae95afa2ef8323bf185bf275205e git.kernel.org
- https://git.kernel.org/stable/c/ac709b87bd958ddb69541c1a3e21e2171aaab121 git.kernel.org
- https://git.kernel.org/stable/c/e34ec5752ac1bcf012b294562a0426ee9ad5b156 git.kernel.org
- https://git.kernel.org/stable/c/4a9ad942a4b32138ca9167de22c6df02b02f8b09 git.kernel.org
- https://git.kernel.org/stable/c/8e21bbb7c2ce772ea3d672c1de662c5da1e9fbeb git.kernel.org
- https://git.kernel.org/stable/c/3ec236beefafd91734f5539f12e1918a1392a60f git.kernel.org
- https://git.kernel.org/stable/c/5192201aaac2a923ff98306e3ccda58718ee395f git.kernel.org
Source: the record CVE-2026-138821 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