CVE-2026-138821

Source
https://cve.org/CVERecord?id=CVE-2026-138821
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138821.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138821
Downstream
Published
2026-11-30T13:25:17Z
Modified
2026-12-01T07:00:29Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
fbdev: sh_mobile_lcdc: check for fb_deferred_io_init() error
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138821.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
186b89659c4c67cccead52961eab0ca3b23951dc
Fixed
ccd7d2a7ca8eae95afa2ef8323bf185bf275205e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
56c134f7f1b58be08bdb0ca8372474a4a5165f31
Fixed
ac709b87bd958ddb69541c1a3e21e2171aaab121
Fixed
e34ec5752ac1bcf012b294562a0426ee9ad5b156
Fixed
4a9ad942a4b32138ca9167de22c6df02b02f8b09
Fixed
8e21bbb7c2ce772ea3d672c1de662c5da1e9fbeb
Fixed
3ec236beefafd91734f5539f12e1918a1392a60f
Fixed
5192201aaac2a923ff98306e3ccda58718ee395f

Affected versions

v5.*
v5.15.149
v5.15.150
v5.15.151
v5.15.152
v5.15.153
v5.15.154
v5.15.155
v5.15.156
v5.15.157
v5.15.158
v5.15.159
v5.15.160
v5.15.161
v5.15.162
v5.15.163
v5.15.164
v5.15.165
v5.15.166
v5.15.167
v5.15.168
v5.15.169
v5.15.170
v5.15.171
v5.15.172
v5.15.173
v5.15.174
v5.15.175
v5.15.176
v5.15.177
v5.15.178
v5.15.179
v5.15.180
v5.15.181
v5.15.182
v5.15.183
v5.15.184
v5.15.185
v5.15.186
v5.15.187
v5.15.188
v5.15.189
v5.15.190
v5.15.191
v5.15.192
v5.15.193
v5.15.194
v5.15.195
v5.15.196
v5.15.197
v5.15.198
v5.15.199
v5.15.200
v5.15.201
v5.15.202
v5.15.203
v5.15.204
v5.15.205
v5.15.206
v5.15.207
v5.15.208
v5.15.209
v5.15.210
v5.15.211
v5.15.212
v5.15.213
v5.15.214
v5.15.215
v5.15.216
v5.15.217
v5.15.218
v5.15.219
v5.15.220
v5.15.221
v5.15.222
v5.15.223
v5.15.224
v5.15.225

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138821.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.149
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138821.json"