{
  "id": "CVE-2026-80580",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-80580",
  "published_at": "2026-08-26T14:37:37.917Z",
  "title": "fbdev: bound mode sysfs output to the sysfs buffer",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: bound mode sysfs output to the sysfs buffer\n\nmode_string() uses snprintf() which can return a value larger than the\nremaining buffer space. show_modes() accumulates the return value into i\nwithout checking whether i has reached PAGE_SIZE, causing the offset to\nadvance past the sysfs buffer if the modelist is long enough.\n\nAdd a size parameter to mode_string() and use scnprintf() to return\nonly the bytes actually written. Add an early return when offset\nalready exceeds the buffer. In show_modes(), stop accumulating once\nthe buffer is full.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 873a1aa15c313263f2e18b38cf525623cc4fabf6",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c d15d51fb26e830af58f3f21964f1c09c239077ea"
        ],
        "fixed_in": [
          "873a1aa15c313263f2e18b38cf525623cc4fabf6",
          "d15d51fb26e830af58f3f21964f1c09c239077ea"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.12"
        ],
        "fixed_in": [
          "0",
          "7.1.10",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 873a1aa15c313263f2e18b38cf525623cc4fabf6 or d15d51fb26e830af58f3f21964f1c09c239077ea or later.",
      "Upgrade Linux to 0 or 7.1.10 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
