🔍 CVE-2025-40304

7.8
CVSS Score
HIGH
2025-12-08
2026-10-14 22:10
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 fbdev 구성 요소 내 bit_putcs 함수에서 경계 검사 미흡으로 인해 vmalloc 영역의 범위를 벗어나는 쓰기 오류가 발생할 수 있습니다. 화면 가장자리에서 텍스트를 렌더링할 때 이미지 높이와 너비를 적절히 제한하지 않으면 버퍼 크기 불일치로 인한 메모리 오염이 발생합니다.

💡 쉬운 설명

화면 끝부분에 글자를 쓸 때, 화면 범위를 벗어나 메모리의 다른 영역을 건드리는 보안 결함입니다. 이로 인해 시스템이 불안정해지거나 해커가 악성 코드를 실행할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fbdev: Add bounds checking in bit_putcs to fix vmalloc-out-of-bounds Add bounds checking to prevent writes past framebuffer boundaries when rendering text near screen edges. Return early if the Y position is off-screen and clip image height to screen boundary. Break from the rendering loop if the X position is off-screen. When clipping image width to fit the screen, update the character count to match the clipped width to prevent buffer size mismatches. Without the character count update, bit_putcs_aligned and bit_putcs_unaligned receive mismatched parameters where the buffer is allocated for the clipped width but cnt reflects the original larger count, causing out-of-bounds writes.

📍 영향받는 시스템

Linux Kernel (fbdev 구성 요소 포함 버전)

⚔️ 공격 벡터

특수하게 조작된 프레임버퍼 렌더링 요청을 통한 메모리 외부 쓰기(Out-of-bounds Write)

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

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