🔍 CVE-2026-80870

0.0
CVSS Score
UNKNOWN
2026-09-04
2026-09-04 17:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 drm/amdkfd 구성 요소에서 CRIU 복구 과정 중 사용자 공간에서 제공된 ID를 적절히 검증하지 않는 취약점이 발견되었습니다. 복구된 ID가 INT_MAX를 초과할 경우 커널 IDR 레이어에서 경고(WARN)를 발생시키며, 시스템 설정에 따라 커널 패닉이나 재부팅을 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터가 이전에 저장된 상태를 불러올 때, 잘못된 숫자를 입력받아 시스템이 당황하여 멈추거나 꺼질 수 있는 문제입니다. 공격자가 조작된 데이터를 보내 시스템을 불안정하게 만들 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Validate CRIU-restored IDs before idr_alloc The KFD CRIU restore flow restores previously saved object IDs from userspace. For event restore: kfd_criu_restore_event() -> create_signal_event() / create_other_event() -> allocate_event_notification_slot() -> idr_alloc(..., *restore_id, *restore_id + 1, ...) For BO restore: criu_restore_memory_of_gpu() -> idr_alloc(..., bo_priv->idr_handle, ...) In both cases, the restored ID comes from userspace-provided CRIU data. idr_alloc() expects the ID range values to fit within signed int limits. If a restored ID is larger than INT_MAX, it can trigger a WARN in the IDR layer. A kernel WARN is undesirable because it prints a warning trace and may cause a panic or reboot on systems with panic_on_warn enabled. Smatch reported these paths as allowing unchecked userspace values to reach idr_alloc(). Add INT_MAX validation before using restored IDs in: - kfd_criu_restore_event() - criu_restore_memory_of_gpu() If the restored ID is invalid, return -EINVAL. This prevents invalid restore data from reaching the IDR layer and avoids WARN-triggering paths, while keeping valid restore behavior unchanged.

📍 영향받는 시스템

Linux kernel (drm/amdkfd 모듈을 사용하는 시스템)

⚔️ 공격 벡터

CRIU 복구 프로세스를 통해 사용자 공간에서 조작된 대규모 ID 값을 전달하여 커널 경고 유도

🛡️ 대응 방법

커널 패치를 적용하여 idr_alloc 호출 전 복구된 ID가 INT_MAX 범위 내에 있는지 검증하도록 업데이트

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 최신 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel