In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix NULL dereference in get_queue_ids() When usr_queue_id_
위협 신호 · CVSS · EPSS · KEV
이론적 심각도 점수
30일 내 악용 확률 예측
실측 악용 기록 없음
별도 긴급 패치 불필요 — 정기 시스템 업그레이드 주기에 맞춰 조치
CVSS 벡터 · 메트릭
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H약점 (CWE)
- CWE-476
NULL 포인터 역참조 — NULL 참조로 서비스 충돌(DoS) 유발.
상세 설명
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: fix NULL dereference in get_queue_ids()
When usr_queue_id_array is NULL and num_queues is non-zero,
get_queue_ids() returns NULL. The callers check only IS_ERR() on the
return value; since IS_ERR(NULL) == false the check passes, and
suspend_queues() calls q_array_invalidate() which immediately
dereferences NULL while iterating num_queues times.
Userspace can trigger this via kfd_ioctl_set_debug_trap() by supplying
num_queues > 0 with a zero queue_array_ptr, causing a kernel panic.
A NULL usr_queue_id_array with num_queues == 0 is a legitimate no-op
(q_array_invalidate never executes, and resume_queues already guards
all queue_ids dereferences behind a NULL check). Return ERR_PTR(-EINVAL)
only when num_queues is non-zero and the pointer is absent; both callers
already propagate IS_ERR() returns correctly to userspace.
(cherry picked from commit f165a82cdf503884bb1797771c61b2fcc72113d4)
AI 심층 분석
공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.
영향받는 제품·버전
- linux linux_kernel6.5 - 6.6.143linux
- linux linux_kernel6.7 - 6.12.94linux
- linux linux_kernel6.13 - 6.18.36linux
- linux linux_kernel6.19 - 7.0.13linux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
영향받는 구성 (CPE) 7
- linux linux_kernel≥ 6.5 < 6.6.143cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*
참고 자료 5
링크 내용 불러오는 중…