{"id":"CVE-2026-80580","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-80580","summary":"fbdev: bound mode sysfs output to the sysfs buffer","details":"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.","published":"2026-08-26T14:37:37.917Z","modified":"2026-08-28T03:47:29.373985325Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Linux","name":"Kernel","fixedVersion":"7.1.10"}],"fix":null,"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/873a1aa15c313263f2e18b38cf525623cc4fabf6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d15d51fb26e830af58f3f21964f1c09c239077ea"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80580.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80580"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-28T03:47:29.373985325Z"}}