🔍 CVE-2026-80580

7.8
CVSS Score
HIGH
2026-08-26
2026-10-16 20:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 fbdev 구성 요소에서 sysfs 출력 시 버퍼 크기를 초과하는 데이터가 작성될 수 있는 취약점이 발견되었습니다. mode_string() 함수가 snprintf()를 사용하여 버퍼 크기를 제대로 확인하지 않고 데이터를 누적함으로써 발생하며, 이는 메모리 오버플로우로 이어질 수 있습니다.

💡 쉬운 설명

시스템 정보를 보여주는 메모리 공간의 크기를 확인하지 않고 너무 많은 정보를 한꺼번에 적으려다 발생하는 문제입니다. 이로 인해 메모리의 다른 영역을 침범하여 시스템 오류나 보안 문제를 일으킬 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Linux kernel (fbdev subsystem 관련 버전)

⚔️ 공격 벡터

조작된 모델 리스트를 통해 sysfs 버퍼를 초과하는 데이터를 생성하여 메모리 오버플로우 유도

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel