🇰🇷 한글 설명
Linux 커널의 mpi3mr SCSI 드라이버에서 mrioc->evtack_cmds 배열의 초기화가 누락되어 발생하는 취약점입니다. 이로 인해 잘못된 비트 인덱스에 접근하게 되어 메모리 손상 및 KASAN 기반의 Use-After-Free 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품을 제어하는 소프트웨어에서 데이터를 저장할 공간을 제대로 준비하지 않아 발생한 오류입니다. 이 오류로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
Commit c1af985d27da ("scsi: mpi3mr: Add Event acknowledgment logic")
introduced an array mrioc->evtack_cmds but initialization of the array
elements was missed. They are just zero cleared. The function
mpi3mr_complete_evt_ack() refers host_tag field of the elements. Due to the
zero value of the host_tag field, the function calls clear_bit() for
mrico->evtack_cmds_bitmap with wrong bit index. This results in memory
access to invalid address and "BUG: KASAN: use-after-free". This BUG was
observed at eHBA-9600 firmware update to version 8.3.1.0. To fix it, add
the missing initialization of mrioc->evtack_cmds.
📍 영향받는 시스템
Linux kernel (scsi: mpi3mr driver 관련 버전)
⚔️ 공격 벡터
특정 펌웨어 업데이트(eHBA-9600 v8.3.1.0 등) 과정에서 발생하는 시스템 내부 오류 유도
🛡️ 대응 방법
커널 패치(Commit c1af985d27da 포함 버전)를 적용하여 mrioc->evtack_cmds 배열 초기화 로직을 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.