🇰🇷 한글 설명
Linux 커널의 qla2xxx SCSI 드라이버에서 vport_slock 락을 적절히 유지하지 않아 발생하는 취약점입니다. format-1 경로에서 호스트 맵 업데이트 시 락 없이 btree 구조를 수정함으로써, 동시 업데이트 시 레이스 컨디션이 발생하고 btree 데이터가 손상될 수 있습니다.
💡 쉬운 설명
컴퓨터의 저장 장치를 관리하는 프로그램에서 데이터 저장 규칙을 지키지 않아 발생하는 오류입니다. 여러 작업이 동시에 같은 데이터를 수정하려고 할 때 데이터가 엉키거나 깨질 수 있는 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Hold vport_slock for host map update in report ID acquisition
qla24xx_report_id_acquisition() format-1 handling drops vport_slock after
taking the vport reference and then calls qla_update_host_map() without
the lock. That reaches qla_update_vp_map(), which mutates the ha->host_map
btree via btree_insert32()/btree_update32()/btree_remove32() and is
documented to require vport_slock to be held by the caller. Running it
unlocked can race concurrent host_map updates and corrupt the btree.
The format-2 path in the same function already wraps its host_map update
(SET_AL_PA) in vport_slock; the format-1 path is the lone outlier.
Hold vport_slock across the format-1 qla_update_host_map() call to honor
the documented locking contract. The vref_count taken in the loop keeps
the vport valid, so this only adds the missing host_map serialization.
📍 영향받는 시스템
Linux kernel (qla2xxx SCSI driver 포함 버전)
⚔️ 공격 벡터
특정 조건에서 발생하는 동시성 레이스 컨디션(Race Condition)을 이용한 데이터 구조 손상
🛡️ 대응 방법
qla2xxx 드라이버의 vport_slock 락링 메커니즘이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인합니다.