🇰🇷 한글 설명
리눅스 커널의 nvme-fc 구성 요소에서 포트 상태 및 rport 상태에 접근할 때 락(lock)을 적절히 사용하지 않아 발생하는 레이스 컨디션 취약점입니다. nvme_fc_create_association 함수가 포트 상태를 확인하고 활성 카운트를 증가시키는 과정에서 원자성을 보장하지 않아 문제가 발생합니다.
💡 쉬운 설명
컴퓨터가 통신 연결을 만들거나 끊는 과정에서 두 작업이 동시에 일어나 충돌이 발생하는 문제입니다. 이로 인해 시스템이 예상치 못한 동작을 하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nvme-fc: use lock accessing port_state and rport state
nvme_fc_unregister_remote removes the remote port on a lport object at
any point in time when there is no active association. This races with
with the reconnect logic, because nvme_fc_create_association is not
taking a lock to check the port_state and atomically increase the
active count on the rport.
📍 영향받는 시스템
NVMe over Fibre Channel(nvme-fc)을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특정 시점에 원격 포트 연결 및 해제 작업을 동시에 유도하여 레이스 컨디션을 유발하는 방식
🛡️ 대응 방법
NVMe-FC 레이스 컨디션 패치가 적용된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인