CVE-2026-138826: fbdev: sh_mobile_lcdcfb: Restore the per-overlay sysfs attributes

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

fbdev: shmobilelcdcfb: Restore the per-overlay sysfs attributes

The ovl files documented in Documentation/ABI/testing/sysfs-devices-platform-shmobilelcdcfb 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 devgroups and renamed them overlay. There is now only one set of attributes for the whole LCDC. The callbacks still expect devgetdrvdata() to return a struct fbinfo, but the platform device holds struct shmobilelcdcpriv, so they access the wrong structure.

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

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

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch a979182a2453

Event History

Nov 30, 2026
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel's sh_mobile_lcdcfb framebuffer driver are relevant. The issue concerns per-overlay sysfs attributes associated with that driver's framebuffer overlay devices.

2

How can I identify an affected kernel?

An affected kernel may lack the documented ovl_* sysfs files and instead expose a single set of renamed overlay_* attributes on the LCDC platform device. In that state, the attribute callbacks can interpret the platform device's driver data as the wrong structure.

3

What does the fix change?

The fix restores the documented ovl_* attribute names and registers their sysfs group on each overlay framebuffer device. It also removes the group before framebuffer unregistration and does not create it when the framebuffer device is unavailable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203