🇰🇷 한글 설명
Linux 커널의 vduse 모듈 내 vduse_dev_ioctl() 함수에서 메모리 오염 취약점이 발견되었습니다. 사용자가 입력한 config.offset 값이 범위를 벗어날 경우, 부호 없는 32비트 정수(u32) 연산 과정에서 매우 큰 값이 발생하여 메모리 오염을 유발할 수 있습니다.
💡 쉬운 설명
사용자가 입력한 숫자가 시스템이 허용하는 범위를 넘어서면 계산 오류가 발생하여 컴퓨터의 메모리를 망가뜨릴 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 해커가 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
vduse: fix memory corruption in vduse_dev_ioctl()
The "config.offset" comes from the user. There needs to a check to
prevent it being out of bounds. The "config.offset" and
"dev->config_size" variables are both type u32. So if the offset if
out of bounds then the "dev->config_size - config.offset" subtraction
results in a very high u32 value. The out of bounds offset can result
in memory corruption.
📍 영향받는 시스템
vduse 모듈을 사용하는 Linux 커널 버전 (패치 전 버전)
⚔️ 공격 벡터
로컬 사용자가 조작된 config.offset 값을 포함한 ioctl 시스템 호출을 전송
🛡️ 대응 방법
vduse_dev_ioctl() 내 offset 범위 검증 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전인지 확인