🇰🇷 한글 설명
리눅스 커널의 SCSI 타겟 레이어에서 WRITE_SAME 명령 처리 중 NDOB(No Data Buffer) 비트가 설정되어 있을 경우 NULL 포인터 참조로 인해 시스템이 충돌하는 취약점입니다. 이 문제는 데이터 버퍼가 없는 명령을 처리할 때 발생하는 메모리 접근 오류를 수정함으로써 해결되었습니다.
💡 쉬운 설명
특정 명령을 보낼 때 데이터가 없다는 표시를 잘못 처리하여 컴퓨터 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 공격자가 특수한 명령을 보내 시스템을 마비시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
scsi: target: Fix WRITE_SAME No Data Buffer crash
In newer version of the SBC specs, we have a NDOB bit that indicates there
is no data buffer that gets written out. If this bit is set using commands
like "sg_write_same --ndob" we will crash in target_core_iblock/file's
execute_write_same handlers when we go to access the se_cmd->t_data_sg
because its NULL.
This patch adds a check for the NDOB bit in the common WRITE SAME code
because we don't support it. And, it adds a check for zero SG elements in
each handler in case the initiator tries to send a normal WRITE SAME with
no data buffer.
📍 영향받는 시스템
NDOB 비트를 지원하지 않는 이전 버전의 Linux Kernel (SCSI target subsystem 포함)
⚔️ 공격 벡터
특수하게 조작된 SCSI WRITE_SAME 명령(NDOB 비트 설정)을 전송하여 커널 패닉 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인