{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a979182a2453de8e20858c14b2766062c67ab3bd"
            },
            {
              "fixed": "63940f48d6611e67ba37d640e56086f1ac7c21c2"
            },
            {
              "fixed": "0fa0e681da02ff63dfffd033279b792b8b2e7cb0"
            },
            {
              "fixed": "317a8be730919177956be32422ebe00cf7e46710"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.15.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138826.json"
  },
  "details": "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.",
  "id": "CVE-2026-138826",
  "modified": "2026-12-01T20:45:55.390126777Z",
  "published": "2026-11-30T13:25:20.727Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0fa0e681da02ff63dfffd033279b792b8b2e7cb0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/317a8be730919177956be32422ebe00cf7e46710"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/63940f48d6611e67ba37d640e56086f1ac7c21c2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138826.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138826"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "fbdev: sh_mobile_lcdcfb: Restore the per-overlay sysfs attributes"
}