CVE-2026-89853 in Linux
요약
\~에 의해 VulDB • 2026. 09. 16.
Linux 커널에서 다음 취약점이 해결되었습니다:
scsi: qla2xxx: 펌웨어 덤프 중 FCE 트레이스에서의 use-after-free 수정
qla2x00_free_fce_trace() 함수는 fce_mutex만 획득한 상태에서 ha->fce를 해제하고 NULL로 초기화했습니다. 펌웨어-덤프 소비자인 qla27xx_fwdt_entry_t264() 및 qla25xx_copy_fce()는 hardware_lock 하에서 ha->fce(NULL 체크 후 버퍼 복사)에 접근하며, fce_mutex는 절대 획득하지 않습니다. 따라서 디버그fs FCE 비활성화 시 덤프의 NULL 체크와 복사 작업 사이에 DMA 버퍼가 해제되어 use-after-free가 발생할 수 있습니다.
hardware_lock 하에서 ha->fce를 언파블리시한 후 잠금을 해제하고 DMA 버퍼를 해제합니다(dma_free_coherent()은 슬립할 수 있음). 동시에 실행되는 덤프는 버퍼가 유효한 상태에서 체크 및 복사를 완료하거나, ha->fce == NULL을 관찰하여 이를 건너뜁니다.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.