🇰🇷 한글 설명
Linux 커널의 nvmet 구성 요소에서 메모리 할당 실패 시 잘못된 반환 상태를 전달하는 취약점이 발견되었습니다. 로그 페이지를 위한 메모리 할당(kzalloc)이 실패하더라도 상태 값이 성공(NVME_SC_SUCCESS)으로 유지되어, 호스트에 데이터 전송 없이 명령이 성공했다고 잘못 보고되는 문제입니다.
💡 쉬운 설명
컴퓨터가 데이터를 저장할 공간을 만들지 못했는데도, 마치 성공적으로 데이터를 다 보낸 것처럼 거짓말을 하는 오류입니다. 이로 인해 데이터가 제대로 전달되지 않았음에도 시스템은 문제가 없다고 착각할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nvmet: fix return status of RMI log page on allocation failure
nvmet_execute_get_log_page_rmi() leaves 'status' holding NVME_SC_SUCCESS
(set by the successful nvmet_req_find_ns() call) when the kzalloc() for
the log buffer fails. It then jumps to the out label and completes the
request with a success status, so the host is told the command succeeded
while no data was transferred.
Initialize 'status' to NVME_SC_INTERNAL, matching the smart log handler,
so an allocation failure is reported as an internal error.
📍 영향받는 시스템
Linux kernel (nvmet module 사용 환경)
⚔️ 공격 벡터
메모리 부족 상황을 유도하여 NVMe 명령의 잘못된 성공 응답을 유발하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이상인지 확인하십시오.