🇰🇷 한글 설명
Linux 커널의 RDMA/cxgb4 드라이버에서 장치 제거 시 등록 작업(reg_work)을 취소하지 않아 발생하는 취약점입니다. 이로 인해 장치가 해제된 후에도 등록 프로세스가 해당 장치에 접근을 시도하여 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품을 제거할 때, 해당 부품을 사용 중인 작업이 아직 남아있어 시스템이 충돌하거나 오류가 발생하는 문제입니다. 부품을 완전히 제거하기 전에 진행 중인 작업을 먼저 안전하게 멈추도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/cxgb4: Cancel reg_work before freeing device on remove
c4iw_uld_state_change() queues reg_work to register the RDMA device.
c4iw_remove() can free ctx->dev while this work is pending or running,
leaving c4iw_register_device() accessing the freed device.
Cancel reg_work before removing the device. The registration work can
tear down ctx->dev when registration fails, so do not unregister or
deallocate it again in that case.
This issue was found by an in-house static analysis tool.
📍 영향받는 시스템
RDMA/cxgb4 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
로컬 공격자가 장치 제거 프로세스를 유도하여 Use-After-Free 취약점을 이용한 시스템 불안정성 유발
🛡️ 대응 방법
해당 취약점이 해결된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인