🇰🇷 한글 설명
Linux 커널의 SCSI iSCSI 타겟 구성 요소에서 삭제된 연결에 대해 NOPIN 응답 타이머가 만료될 때 발생하는 취약점입니다. 이로 인해 커널의 NULL 포인터 역참조가 발생하여 시스템이 충돌(Crash)할 수 있습니다.
💡 쉬운 설명
연결이 끊긴 상태에서 시스템이 잘못된 타이머를 작동시켜 컴퓨터가 갑자기 멈추거나 꺼질 수 있는 문제입니다. 연결이 삭제될 때 타이머를 제대로 멈추지 않아 발생하는 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
scsi: target: iscsi: Fix timeout on deleted connection
NOPIN response timer may expire on a deleted connection and crash with
such logs:
Did not receive response to NOPIN on CID: 0, failing connection for I_T Nexus (null),i,0x00023d000125,iqn.2017-01.com.iscsi.target,t,0x3d
BUG: Kernel NULL pointer dereference on read at 0x00000000
NIP strlcpy+0x8/0xb0
LR iscsit_fill_cxn_timeout_err_stats+0x5c/0xc0 [iscsi_target_mod]
Call Trace:
iscsit_handle_nopin_response_timeout+0xfc/0x120 [iscsi_target_mod]
call_timer_fn+0x58/0x1f0
run_timer_softirq+0x740/0x860
__do_softirq+0x16c/0x420
irq_exit+0x188/0x1c0
timer_interrupt+0x184/0x410
That is because nopin response timer may be re-started on nopin timer
expiration.
Stop nopin timer before stopping the nopin response timer to be sure
that no one of them will be re-started.
📍 영향받는 시스템
Linux kernel (scsi: target: iscsi 관련 모듈 포함 버전)
⚔️ 공격 벡터
네트워크를 통해 iSCSI 연결을 강제로 종료하거나 삭제하여 커널 타이머 오류를 유도하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 NOPIN 타이머 로직을 수정해야 합니다.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인합니다.