🔍 CVE-2026-93227

0.0
CVSS Score
UNKNOWN
2026-09-24
2026-10-19 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 CONFIG_DEFERRED_STRUCT_PAGE_INIT 설정 시, 대규모 CMA 예약으로 인해 deferred_grow_zone() 함수가 메모리 맵을 초기화하는 과정에서 pgdat->first_deferred_pfn 값이 노드의 메모리 범위를 초과하여 오버플로우될 수 있습니다. 이로 인해 deferred_init_memmap() 함수가 잘못된 PFN을 참조하게 되어 커널 패닉(BUG_ON)이 발생합니다.

💡 쉬운 설명

컴퓨터가 부팅될 때 메모리를 준비하는 과정에서 계산 오류가 발생하여 시스템이 멈추는 문제입니다. 특정 메모리 설정이 켜져 있을 때 메모리 주소 계산이 범위를 벗어나 컴퓨터가 스스로를 보호하기 위해 강제로 종료됩니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mm/mm_init: deferred_grow_zone(): fix out-of-range first_deferred_pfn With CONFIG_DEFERRED_STRUCT_PAGE_INIT enabled, deferred_grow_zone() initializes struct pages early in boot to satisfy an allocation. With a large CMA reservation in place, the ranges deferred_init_memmap() finds may not add up to the allocation it was asked for, and the function ends up initializing the memory map of the entire zone and still falls short. That is fine in itself: the function accounts for it and leaves the caller to decide whether it now has enough memory. However, the update of pgdat->first_deferred_pfn that tracks where uninitialized memory map starts could overflow. If the node's RAM end is not aligned on PAGES_PER_SECTION boundaries and some deferred struct pages were initialized, pgdat->first_deferred_pfn would point past the end of the node's memory. deferred_init_memmap() later picks up from pgdat->first_deferred_pfn and hits a BUG_ON(), because it expects a pfn within its node. For example, when running a kernel with CONFIG_DEFERRED_STRUCT_PAGE_INIT=y and CONFIG_CMA=y using the following qemu command line qemu-system-x86_64 -enable-kvm -m 8032M -kernel bzImage \ -append "nokaslr cma=4768M@0x100000000" the kernel panics: kernel BUG at mm/mm_init.c:2131! CPU: 3 UID: 0 PID: 36 Comm: pgdatinit0 Not tainted 7.2.0-rc6 #1 RIP: 0010:deferred_init_memmap+0x1b8/0x1c0 RAX: 0000000000236000 R13: 0000000000238000 Call Trace: kthread+0xdf/0x120 ret_from_fork+0x187/0x250 Make sure that the update of pgdta->first_deferred_pfn does not overflow when the entire zone's (and therefore node's) memory map is initialized. [rppt: massaged the changelog]

📍 영향받는 시스템

CONFIG_DEFERRED_STRUCT_PAGE_INIT 및 CONFIG_CMA가 활성화된 Linux 커널

⚔️ 공격 벡터

로컬 시스템 설정(CMA 예약 크기 조절 등)을 통한 커널 패닉 유도 (DoS)

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel