🔍 CVE-2023-54317

7.8
CVSS Score
HIGH
2025-12-30
2026-10-15 22:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 dm-flakey 장치에서 블록 장치의 특정 범위를 0으로 채울 때, 시스템의 제로 페이지(zero page)를 오염시키는 취약점이 발견되었습니다. 이로 인해 glibc의 calloc 함수가 초기화되지 않은 메모리를 반환하게 되어 다양한 사용자 공간 프로그램의 충돌을 유발할 수 있습니다.

💡 쉬운 설명

시스템이 메모리를 깨끗하게 비우려고 시도하는 과정에서, 실수로 시스템 전체가 공유하는 중요한 '빈 메모리 공간'을 망가뜨리는 버그입니다. 이로 인해 컴퓨터에서 실행 중인 여러 프로그램이 갑자기 멈추거나 오류를 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: dm flakey: don't corrupt the zero page When we need to zero some range on a block device, the function __blkdev_issue_zero_pages submits a write bio with the bio vector pointing to the zero page. If we use dm-flakey with corrupt bio writes option, it will corrupt the content of the zero page which results in crashes of various userspace programs. Glibc assumes that memory returned by mmap is zeroed and it uses it for calloc implementation; if the newly mapped memory is not zeroed, calloc will return non-zeroed memory. Fix this bug by testing if the page is equal to ZERO_PAGE(0) and avoiding the corruption in this case.

📍 영향받는 시스템

dm-flakey 옵션을 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

dm-flakey 장치의 'corrupt bio writes' 옵션을 활성화하여 시스템의 제로 페이지를 오염시킴

🛡️ 대응 방법

해당 취약점이 수정된 최신 리눅스 커널로 업데이트

🔧 검증 코드

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

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