Bug 2586140 (CVE-2026-138821) - CVE-2026-138821 kernel: kernel: Denial of Service via NULL pointer dereference in sh_mobile_lcdc driver
Summary: CVE-2026-138821 kernel: kernel: Denial of Service via NULL pointer dereferenc...
Keywords:
Status: NEW
Alias: CVE-2026-138821
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:31 UTC by OSIDB Bzimport
Modified: 2026-11-30 15:42 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:31:46 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.