{"id":"CVE-2026-80580","aliases":["CVE-2026-80580"],"related":[],"kind":"vulnerability","state":"published","title":"fbdev: bound mode sysfs output to the sysfs buffer","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-26T14:37:37.917Z","modified":"2026-11-30T12:18:05.390Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"0991aaea7fe5443da8b279a49507dc86c7255ba5","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"873a1aa15c313263f2e18b38cf525623cc4fabf6","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"d15d51fb26e830af58f3f21964f1c09c239077ea","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"6.18.66","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.10","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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/0991aaea7fe5443da8b279a49507dc86c7255ba5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/873a1aa15c313263f2e18b38cf525623cc4fabf6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d15d51fb26e830af58f3f21964f1c09c239077ea","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:17:49.806Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80580","url":"https://www.cve.org/CVERecord?id=CVE-2026-80580","licence":"CVE Terms of Use","modified":"2026-11-30T12:08:33.737Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80580","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80580","licence":"Public domain","modified":"2026-11-30T12:18:05.390Z"}],"updatedAt":"2026-11-30T12:32:13.449Z","epss":{"score":0.00119,"percentile":0.01915,"date":"2026-12-01T12:00:22.000Z"}}