Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.0CVE-2026-138821

fbdev: sh_mobile_lcdc: check for fb_deferred_io_init() error

Published 30/11/2026 · Updated 01/12/2026 · Linux

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.

Affected products and versions

Linux Linux186b89659c4c67cccead52961eab0ca3b23951dc – < ccd7d2a7ca8eae95afa2ef8323bf185bf275205e · 56c134f7f1b58be08bdb0ca8372474a4a5165f31 – < ac709b87bd958ddb69541c1a3e21e2171aaab121 · 56c134f7f1b58be08bdb0ca8372474a4a5165f31 – < e34ec5752ac1bcf012b294562a0426ee9ad5b156 · 56c134f7f1b58be08bdb0ca8372474a4a5165f31 – < 4a9ad942a4b32138ca9167de22c6df02b02f8b09 · 56c134f7f1b58be08bdb0ca8372474a4a5165f31 – < 8e21bbb7c2ce772ea3d672c1de662c5da1e9fbeb · 56c134f7f1b58be08bdb0ca8372474a4a5165f31 – < 3ec236beefafd91734f5539f12e1918a1392a60f · 56c134f7f1b58be08bdb0ca8372474a4a5165f31 – < 5192201aaac2a923ff98306e3ccda58718ee395f · 5.15.149 – < 5.15.226Fixed in: ccd7d2a7ca8eae95afa2ef8323bf185bf275205e · ac709b87bd958ddb69541c1a3e21e2171aaab121 · e34ec5752ac1bcf012b294562a0426ee9ad5b156 · 4a9ad942a4b32138ca9167de22c6df02b02f8b09 · 8e21bbb7c2ce772ea3d672c1de662c5da1e9fbeb · 3ec236beefafd91734f5539f12e1918a1392a60f · 5192201aaac2a923ff98306e3ccda58718ee395f · 5.15.226
Linux Linux5.19Fixed in: 5.15.226 · 6.1.193 · 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1

CVSS vector, explained

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
High
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.