🇰🇷 한글 설명
리눅스 커널의 nvmet 구성 요소에서 nvmet_req_complete() 함수 호출 시 발생할 수 있는 Use-After-Free(UAF) 취약점입니다. 특정 nvme 타겟 구현에서 요청 객체를 해제한 후 다시 참조함으로써 메모리 오류가 발생할 수 있는 문제입니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝나서 삭제한 메모리 주소를 다시 사용하려고 할 때 발생하는 오류입니다. 이 오류를 악용하면 해커가 시스템의 제어권을 뺏을 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nvmet: avoid potential UAF in nvmet_req_complete()
An nvme target ->queue_response() operation implementation may free the
request passed as argument. Such implementation potentially could result
in a use after free of the request pointer when percpu_ref_put() is
called in nvmet_req_complete().
Avoid such problem by using a local variable to save the sq pointer
before calling __nvmet_req_complete(), thus avoiding dereferencing the
req pointer after that function call.
📍 영향받는 시스템
nvmet 모듈을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
조작된 NVMe 요청을 통해 메모리 해제 후 재참조를 유도하는 로컬 또는 원격 공격
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.