Bug 2586194 (CVE-2026-138826) - CVE-2026-138826 kernel: kernel: Denial of Service via mismatched data structure access in sh_mobile_lcdcfb
Summary: CVE-2026-138826 kernel: kernel: Denial of Service via mismatched data structu...
Keywords:
Status: NEW
Alias: CVE-2026-138826
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:34 UTC by OSIDB Bzimport
Modified: 2026-11-30 16:34 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:34:55 UTC
In the Linux kernel, the following vulnerability has been resolved:

fbdev: sh_mobile_lcdcfb: Restore the per-overlay sysfs attributes

The ovl_* files documented in
Documentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb no
longer exist.

Commit a979182a2453 ("fbdev: lcdcfb: Register sysfs groups through driver
core") moved the attributes from each overlay's framebuffer device to
the platform driver's dev_groups and renamed them overlay_*. There is
now only one set of attributes for the whole LCDC. The callbacks still
expect dev_get_drvdata() to return a struct fb_info, but the platform
device holds struct sh_mobile_lcdc_priv, so they access the wrong
structure.

Restore the documented names and register the group on each overlay's
framebuffer device with device_add_groups(). Remove it with
device_remove_groups() before unregistering the framebuffer. Skip
creation when dev_of_fbinfo(info) is NULL, as the old device_create_file()
calls did.

Drop the CONFIG_FB_DEVICE guard, since the driver already depends on it.


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