# CVE-2026-80580: fbdev: bound mode sysfs output to the sysfs buffer

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-26 · Modified: 2026-11-30
- Aliases: UBUNTU-CVE-2026-80580, DEBIAN-CVE-2026-80580, CGA-268x-7837-x654, CGA-272r-xqcp-4m74, CGA-2qwc-pq86-j322, CGA-39mv-j7vm-3m5f, CGA-45cv-x679-4vr7, CGA-49q2-mvmv-qgjp, CGA-4qc4-5cc5-r9hj, CGA-4wcv-fmjr-3v2g, CGA-4wjj-rm2h-h434, CGA-5f2r-gjrv-jqwg, CGA-5gqg-8whx-5pfr, CGA-5qhm-qq5r-x76f, CGA-68wc-2cw9-gpjv, CGA-6v6m-97cq-8473, CGA-7f7q-g8wc-hw5c, CGA-7jcj-444q-2q4r, CGA-7q3c-fvpx-8g24, CGA-7q4g-g3r8-gvf7, CGA-88h6-mrj5-x692, CGA-8hcw-7qr4-vc3q, CGA-8mvw-px49-2r4x, CGA-8p78-xgm4-v54x, CGA-8x6j-vrf4-wjvc, CGA-9h8v-4vmq-cwpg, CGA-9vff-26rh-8mj2, CGA-crvf-h5mq-4r68, CGA-cvf6-8673-rrr2, CGA-fgh3-f3gv-4pv5, CGA-fr28-3wv3-8f2x, CGA-fr9g-5m44-p8cg, CGA-gp42-mj5q-hc4j, CGA-gr7r-r335-2fr6, CGA-grvg-5mc7-h66f, CGA-hpxr-7gq9-cm28, CGA-hqjv-r364-6428, CGA-hxp3-wggj-7c68, CGA-jmp5-hrh6-jv62, CGA-jr58-ccgg-pwc6, CGA-mhjr-678m-9gr2, CGA-mv44-6wq9-hm43, CGA-mxf9-9v44-v96h, CGA-qj3m-4c25-jcp4, CGA-rqg7-x5w4-4m2g, CGA-vqw5-j54p-xfv2, CGA-vr45-3pv6-8h5j, CGA-xfwh-548h-m5wm, CGA-2qf9-32rw-9hpv, CGA-32qp-r8j7-m45j, CGA-5pgj-377x-6m49, CGA-c8vr-5rv2-qw3w, CGA-gcp6-3f8m-28qm, CGA-hh4m-jh98-29j5, CGA-jhc4-ghwh-79jw, CGA-jvhc-8c6m-wxhr, CGA-m3fh-779w-2c2v, CGA-m74q-jww3-jj67, CGA-m88m-qcxj-pjrq, CGA-v956-q992-jpm7, CGA-xv32-gfv7-rjhg, CGA-4x7v-662r-qc37, CGA-95gv-8pwx-vfh3, CGA-q4rj-xjmv-f99g, CGA-32c2-7c5p-j678, CGA-736h-qww7-v3x8, CGA-762q-j5q7-38jm, CGA-87fw-4vg7-9m6m, CGA-c6gg-63j7-xmxw, CGA-f363-jcq4-54jq, CGA-h38r-fm7h-gpp9, CGA-j3g7-gwvg-63f8, CGA-m24p-4744-pqmp, CGA-p47v-3c3q-jcg2, CGA-rg56-g8xj-pghw, CGA-v4fp-24h4-wwmx, CGA-v6g4-7gc4-7mj9, CGA-v6wg-f67m-43f9, CGA-w66j-282r-gwmw, CGA-w8p4-v546-x37f, CGA-x48v-5ph5-5mf7, CGA-537x-xh6w-m3f7
- Record: https://cvemate.com/vulnerability/CVE-2026-80580 · JSON: https://cvemate.com/vulnerability/CVE-2026-80580/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

fbdev: bound mode sysfs output to the sysfs buffer

mode_string() uses snprintf() which can return a value larger than the
remaining buffer space. show_modes() accumulates the return value into i
without checking whether i has reached PAGE_SIZE, causing the offset to
advance past the sysfs buffer if the modelist is long enough.

Add a size parameter to mode_string() and use scnprintf() to return
only the bytes actually written. Add an early return when offset
already exceeds the buffer. In show_modes(), stop accumulating once
the buffer is full.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.119%, percentile 1.878%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 213)

- chainguard hyperv-daemons-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-nestkvm-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-firecracker-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-gcp-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-gcp-6.18-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-gcp-6.18-bootc (Chainguard): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/873a1aa15c313263f2e18b38cf525623cc4fabf6>
- <https://git.kernel.org/stable/c/d15d51fb26e830af58f3f21964f1c09c239077ea>
- <https://ubuntu.com/security/CVE-2026-80580>
- <https://www.cve.org/CVERecord?id=CVE-2026-80580>
- <https://ubuntu.com/security/notices/USN-8886-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-80580>
- <https://ubuntu.com/security/notices/USN-8959-1>
- <https://ubuntu.com/security/notices/USN-8960-1>
- <https://ubuntu.com/security/notices/USN-9020-1>
- <https://ubuntu.com/security/notices/USN-9019-1>
- <https://ubuntu.com/security/notices/USN-9021-1>
- <https://ubuntu.com/security/notices/USN-9160-1>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80580.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-80580>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>
- <https://git.kernel.org/stable/c/0991aaea7fe5443da8b279a49507dc86c7255ba5>

---

Data as of 2026-12-06T09:25:42.148Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
