CVE-2026-138826
publishedfbdev: sh_mobile_lcdcfb: Restore the per-overlay sysfs attributes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa979182a2453de8e20858c14b2766062c67ab3bd to < 63940f48d6611e67ba37d640e56086f1ac7c21c2 · a979182a2453de8e20858c14b2766062c67ab3bd to < 0fa0e681da02ff63dfffd033279b792b8b2e7cb0 · a979182a2453de8e20858c14b2766062c67ab3bd to < 317a8be730919177956be32422ebe00cf7e46710 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a979182a2453de8e20858c14b2766062c67ab3bd to < 63940f48d6611e67ba37d640e56086f1ac7c21c2 (affected · git)a979182a2453de8e20858c14b2766062c67ab3bd to < 0fa0e681da02ff63dfffd033279b792b8b2e7cb0 (affected · git)a979182a2453de8e20858c14b2766062c67ab3bd to < 317a8be730919177956be32422ebe00cf7e46710 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
fbdev: sh_mobile_lcdcfb: Restore the per-overlay sysfs attributes
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 33c3799ce95925e5903de30495d2740a25299a5a1d08f1b4ee21b3b10caec507
- Ingested
- 30 Nov 2026, 13:30:06 UTC
- Source record
- Official CVE record