🔍 CVE-2023-52614

7.8
CVSS Score
HIGH
2024-03-18
2026-10-15 01:17
✅ 완료

🇰🇷 한글 설명

Linux kernel의 PM/devfreq 모듈 trans_stat_show 함수에서 버퍼 오버플로우 취약점이 존재합니다. snprintf를 scnprintf로 변경하고 PAGE_SIZE 초과 시 조기 종료 및 -EFBIG 에러 반환으로 패치됩니다.

💡 쉬운 설명

리눅스 전력 관리 시스템에서 메모리 경계를 넘어 데이터를 쓸 수 있는 버그입니다. 로컬 공격자가 이를 악용하여 시스템 권한 상승이나 서비스 거부 공격을 수행할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: PM / devfreq: Fix buffer overflow in trans_stat_show Fix buffer overflow in trans_stat_show(). Convert simple snprintf to the more secure scnprintf with size of PAGE_SIZE. Add condition checking if we are exceeding PAGE_SIZE and exit early from loop. Also add at the end a warning that we exceeded PAGE_SIZE and that stats is disabled. Return -EFBIG in the case where we don't have enough space to write the full transition table. Also document in the ABI that this function can return -EFBIG error.

📍 영향받는 시스템

Linux kernel (5.10 ~ 6.2 버전대 일부, 정확한 범위는 배포판마다 다름)

⚔️ 공격 벡터

로컬 공격자가 /sys/kernel/debug/devfreq/*/trans_stat 파일 읽기를 통해 버퍼 오버플로우 트리거

🛡️ 대응 방법

Linux kernel을 최신 버전으로 업데이트하여 scnprintf 패치 적용

🔧 검증 코드

출력된 커널 버전이 배포판의 패치된 버전 이상이면 취약점이 해결된 상태입니다.

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