🔍 CVE-2026-68436

0.0
CVSS Score
UNKNOWN
2026-08-12
2026-10-21 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 amdgpu 드라이버에서 struct dc 구조체가 커지면서 4MiB 연속 메모리 할당 제한을 초과하여 발생하는 문제입니다. 이로 인해 메모리 할당 실패 및 커널 경고가 발생하며, 결과적으로 GPU 초기화가 실패하여 디스플레이를 사용할 수 없게 됩니다.

💡 쉬운 설명

그래픽 카드를 작동시키는 데 필요한 데이터 덩어리가 너무 커져서 컴퓨터 메모리에 담지 못하는 현상입니다. 이 때문에 화면이 나오지 않거나 그래픽 카드가 제대로 작동하지 않을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: use kvzalloc to allocate struct dc struct dc has grown large over time (most of it the two inlined dc_scratch_space copies) and now sits close to the page allocator's 4 MiB contiguous allocation limit. Its actual size is not fixed by the source alone, it also depends on the compiler and the .config, so it can easily cross 4 MiB, e.g. with a newer GCC or a config change. dc_create() allocates it with kzalloc(). Once struct dc exceeds 4 MiB the request is rounded up to order 11 (8 MiB), which is above MAX_PAGE_ORDER, so the page allocator warns and returns NULL. dc_create() then fails, DM init fails and amdgpu probe aborts with -EINVAL: WARNING: mm/page_alloc.c:5197 at __alloc_frozen_pages_noprof+0x2f9/0x380 dc_create+0x38/0x660 [amdgpu] amdgpu_dm_init+0x2d9/0x510 [amdgpu] dm_hw_init+0x1b/0x90 [amdgpu] amdgpu_device_init.cold+0x150d/0x1e13 [amdgpu] amdgpu_driver_load_kms+0x19/0x80 [amdgpu] amdgpu_pci_probe+0x1e2/0x4c0 [amdgpu] dc_create() then returns NULL and DM init fails, which aborts the whole GPU init and makes amdgpu probe fail with -EINVAL ("hw_init of IP block <dm> failed -22"), leaving the display unusable. The subsequent amdgpu_irq_put() warnings during teardown are just fallout of unwinding a half-initialized device. struct dc is a software-only bookkeeping structure that is never handed to hardware DMA and is only ever kept as an opaque pointer, so it does not require physically contiguous memory. Allocate it with kvzalloc() (and free it with kvfree()) so that the allocator can fall back to vmalloc() when a contiguous allocation of that size is not available, which also avoids the MAX_PAGE_ORDER warning entirely. v2: - Rebase to amd-staging-drm-next. (cherry picked from commit 991e0516a8072f2292681c6ae98a924ab0e32575)

📍 영향받는 시스템

Linux kernel (amdgpu driver using drm/amd/display)

⚔️ 공격 벡터

Local/Physical (시스템 구성 및 컴파일러 설정에 따른 메모리 할당 실패 유도)

🛡️ 대응 방법

kzalloc 대신 kvzalloc를 사용하여 비연속적 메모리 할당이 가능하도록 커널 패치 적용

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel