🇰🇷 한글 설명
Linux 커널의 amd isp4 드라이버에서 isp4if_alloc_fw_gpumem() 함수가 GPU 메모리 풀을 순차적으로 할당하는 과정 중 오류가 발생하면, 이미 할당된 메모리를 해제하지 않고 반환하여 메모리 누수가 발생하는 취약점입니다. 이 문제는 할당 실패 시 기존에 할당된 풀을 안전하게 해제하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터가 작업을 위해 메모리를 빌려 쓰다가 중간에 문제가 생겼을 때, 이미 빌린 메모리를 돌려주지 않고 그대로 방치하여 메모리가 낭비되는 문제입니다. 이 문제가 계속되면 시스템의 메모리가 점점 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: amd: isp4: release partial allocations in isp4if_alloc_fw_gpumem()
isp4if_alloc_fw_gpumem() allocates several GPU memory pools in sequence.
If one of them fails, it jumps to error_no_memory and returns -ENOMEM
without releasing the pools that were already allocated, leaking them.
Release the already-allocated pools before returning. isp4if_gpu_mem_free()
is a no-op on pools that were not allocated, so calling
isp4if_dealloc_fw_gpumem() here safely frees exactly the pools that
succeeded.
isp4if_gpu_mem_free() previously logged an error for a NULL entry, which
is a normal case during partial-allocation cleanup, so make it silent.
📍 영향받는 시스템
Linux kernel (AMD isp4 driver component)
⚔️ 공격 벡터
메모리 할당 실패를 유도하여 시스템 자원을 점진적으로 고갈시키는 DoS(서비스 거부) 공격 가능성
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.