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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-30T13:25:20.727Z
- Modified: 2026-11-30T14:17:36.870Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from a979182a2453de8e20858c14b2766062c67ab3bd before 63940f48d6611e67ba37d640e56086f1ac7c21c2; from a979182a2453de8e20858c14b2766062c67ab3bd before 0fa0e681da02ff63dfffd033279b792b8b2e7cb0; from a979182a2453de8e20858c14b2766062c67ab3bd before 317a8be730919177956be32422ebe00cf7e46710; 6.15 (not affected: before 6.15; from 6.18.64 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/63940f48d6611e67ba37d640e56086f1ac7c21c2>
- <https://git.kernel.org/stable/c/0fa0e681da02ff63dfffd033279b792b8b2e7cb0>
- <https://git.kernel.org/stable/c/317a8be730919177956be32422ebe00cf7e46710>

## Sources

- CVE List: [CVE-2026-138826](https://www.cve.org/CVERecord?id=CVE-2026-138826), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138826](https://nvd.nist.gov/vuln/detail/CVE-2026-138826), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138826 · Whole record: https://cve.day/CVE-2026-138826.json · Rebuilt by cve.day 2026-11-30T14:32:22.337Z
