🔍 CVE-2025-39967

7.8
CVSS Score
HIGH
2025-10-15
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 fbcon_do_set_font 함수에서 정수 오버플로 취약점이 발견되었습니다. 사용자가 제어하는 폰트 매개변수를 처리할 때 크기 계산 과정에서 오버플로가 발생하여, 예상보다 작은 메모리가 할당되고 결과적으로 버퍼 오버플로가 발생할 수 있습니다.

💡 쉬운 설명

글꼴 크기를 계산하는 과정에서 숫자가 너무 커져 계산 오류가 발생하는 문제입니다. 이 오류를 이용하면 컴퓨터의 메모리 영역을 넘쳐나게 만들어 시스템을 공격할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fbcon: fix integer overflow in fbcon_do_set_font Fix integer overflow vulnerabilities in fbcon_do_set_font() where font size calculations could overflow when handling user-controlled font parameters. The vulnerabilities occur when: 1. CALC_FONTSZ(h, pitch, charcount) performs h * pith * charcount multiplication with user-controlled values that can overflow. 2. FONT_EXTRA_WORDS * sizeof(int) + size addition can also overflow 3. This results in smaller allocations than expected, leading to buffer overflows during font data copying. Add explicit overflow checking using check_mul_overflow() and check_add_overflow() kernel helpers to safety validate all size calculations before allocation.

📍 영향받는 시스템

정수 오버플로 패치가 적용되지 않은 리눅스 커널 (fbcon 모듈 사용 시)

⚔️ 공격 벡터

사용자가 조작된 폰트 크기 매개변수를 전달하여 커널 메모리 오버플로 유도

🛡️ 대응 방법

check_mul_overflow 및 check_add_overflow가 적용된 최신 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 수정된 최신 보안 패치 버전인지 확인

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