kcve.ai취약점 정보 · 내 자산 확인

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

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.12

    해결 버전

    • 2.6.12 미만
    • 7.1.10 이상

참고 자료 2건

‹ 목록

점검 지원 범위 문의

도입 문의