🔍 CVE-2026-89848

8.1
CVSS Score
HIGH
2026-09-16
2026-10-30 13:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 qla2xxx 드라이버에서 요청 큐를 해제하기 전에 응답 인터럽트를 중지하지 않아 발생하는 Use-After-Free 취약점입니다. 요청 큐가 메모리에서 해제된 후에도 응답 인터럽트가 발생하여 이미 해제된 메모리 영역을 참조함으로써 시스템 오류나 보안 문제를 일으킬 수 있습니다.

💡 쉬운 설명

컴퓨터 부품이 작동을 멈추기 위해 메모리를 정리하는 과정에서, 아직 남아있는 신호가 이미 사라진 메모리를 건드려 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Quiesce response IRQ before freeing request queue qla2xxx_delete_qpair() deletes the request queue before the response queue. qla25xx_delete_req_que() frees the request queue memory (kfree(req) in qla25xx_free_req_que()), but the response-queue MSI-X is only released later, in qla25xx_free_rsp_que(). In that window the response interrupt can still fire, qla2xxx_msix_rsp_q() queues qpair->q_work, and qla_do_work() -> qla24xx_process_response_queue() dereferences the now-freed rsp->req (LOGINOUT/CT/ELS entries and the status path), a use-after-free. The cancel_work_sync() added for the qpair teardown lives in the response free path, which runs after the request queue is already freed, so it does not protect rsp->req. Release the response-queue interrupt and flush qpair->q_work before deleting the request queue, so no late completion can reach the freed request queue. Clearing have_irq makes the subsequent qla25xx_free_rsp_que() skip its free_irq(), and the firmware queue-delete order (request then response) is preserved; the request-delete mailbox completes on the default vector and is unaffected by dropping the qpair response interrupt early.

📍 영향받는 시스템

Linux kernel (qla2xxx/qla25xx SCSI driver 사용 시스템)

⚔️ 공격 벡터

로컬 공격자가 특정 SCSI 명령을 통해 메모리 해제 후 참조(Use-After-Free)를 유도하여 권한 상승 또는 시스템 중단을 유발할 수 있음

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 요청 큐 삭제 전 인터럽트 해제 및 작업 플러시 로직을 적용해야 함

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel