{"id":"CVE-2026-80580","published":"2026-08-26T14:37:37Z","modified":"2026-10-16T19:26:28Z","title":"fbdev: bound mode sysfs output to the sysfs buffer","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00112,"percentile":0.01424,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/873a1aa15c313263f2e18b38cf525623cc4fabf6","tags":[]},{"url":"https://git.kernel.org/stable/c/d15d51fb26e830af58f3f21964f1c09c239077ea","tags":[]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":0.28},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 873a1aa15c313263f2e18b38cf525623cc4fabf6",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d15d51fb26e830af58f3f21964f1c09c239077ea"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T19:17:49.806822Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-66495","exploited":false,"provenance":"source"}}