{"id":"CVE-2026-138826","aliases":["CVE-2026-138826"],"related":[],"kind":"vulnerability","state":"published","title":"fbdev: sh_mobile_lcdcfb: Restore the per-overlay sysfs attributes","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: sh_mobile_lcdcfb: Restore the per-overlay sysfs attributes\n\nThe ovl_* files documented in\nDocumentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb no\nlonger exist.\n\nCommit a979182a2453 (\"fbdev: lcdcfb: Register sysfs groups through driver\ncore\") moved the attributes from each overlay's framebuffer device to\nthe platform driver's dev_groups and renamed them overlay_*. There is\nnow only one set of attributes for the whole LCDC. The callbacks still\nexpect dev_get_drvdata() to return a struct fb_info, but the platform\ndevice holds struct sh_mobile_lcdc_priv, so they access the wrong\nstructure.\n\nRestore the documented names and register the group on each overlay's\nframebuffer device with device_add_groups(). Remove it with\ndevice_remove_groups() before unregistering the framebuffer. Skip\ncreation when dev_of_fbinfo(info) is NULL, as the old device_create_file()\ncalls did.\n\nDrop the CONFIG_FB_DEVICE guard, since the driver already depends on it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: sh_mobile_lcdcfb: Restore the per-overlay sysfs attributes\n\nThe ovl_* files documented in\nDocumentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb no\nlonger exist.\n\nCommit a979182a2453 (\"fbdev: lcdcfb: Register sysfs groups through driver\ncore\") moved the attributes from each overlay's framebuffer device to\nthe platform driver's dev_groups and renamed them overlay_*. There is\nnow only one set of attributes for the whole LCDC. The callbacks still\nexpect dev_get_drvdata() to return a struct fb_info, but the platform\ndevice holds struct sh_mobile_lcdc_priv, so they access the wrong\nstructure.\n\nRestore the documented names and register the group on each overlay's\nframebuffer device with device_add_groups(). Remove it with\ndevice_remove_groups() before unregistering the framebuffer. Skip\ncreation when dev_of_fbinfo(info) is NULL, as the old device_create_file()\ncalls did.\n\nDrop the CONFIG_FB_DEVICE guard, since the driver already depends on it.","source":"cvelist"}],"published":"2026-11-30T13:25:20.727Z","modified":"2026-11-30T14:17:36.870Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a979182a2453de8e20858c14b2766062c67ab3bd","fixed":"63940f48d6611e67ba37d640e56086f1ac7c21c2","status":"affected"},{"type":"git","introduced":"a979182a2453de8e20858c14b2766062c67ab3bd","fixed":"0fa0e681da02ff63dfffd033279b792b8b2e7cb0","status":"affected"},{"type":"git","introduced":"a979182a2453de8e20858c14b2766062c67ab3bd","fixed":"317a8be730919177956be32422ebe00cf7e46710","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/63940f48d6611e67ba37d640e56086f1ac7c21c2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0fa0e681da02ff63dfffd033279b792b8b2e7cb0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/317a8be730919177956be32422ebe00cf7e46710","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138826","url":"https://www.cve.org/CVERecord?id=CVE-2026-138826","licence":"CVE Terms of Use","modified":"2026-11-30T13:25:20.727Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138826","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138826","licence":"Public domain","modified":"2026-11-30T14:17:36.870Z"}],"updatedAt":"2026-11-30T14:32:22.337Z","epss":{"score":0.00166,"percentile":0.06193,"date":"2026-12-01T12:00:22.000Z"}}