🔍 CVE-2026-72085

9.3
CVSS Score
CRITICAL
2026-08-15
2026-10-19 22:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SCSI Xen 드라이버에서 명령 태그의 참조 횟수(refcount)가 잘못 관리되어 발생하는 취약점입니다. 특정 오류 경로에서 명령이 제출되기 전 참조 횟수가 언더플로우되어 Use-After-Free 및 명령 태그 누수가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 명령을 처리하는 과정에서 번호표를 잘못 관리하여, 번호표가 계속 사라지거나 시스템이 멈추게 만드는 오류입니다. 공격자가 이를 이용하면 저장 장치 연결을 끊거나 서버를 강제로 종료시킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: scsi: xen: scsiback: Free unsubmitted command instead of double-putting it scsiback_get_pend_req() obtains a command tag and returns a vscsibk_pend whose embedded se_cmd has only been memset to 0, so its cmd_kref is 0; the se_cmd is initialised (kref_init() via target_init_cmd()) only later, in scsiback_cmd_exec(), on the successful VSCSIIF_ACT_SCSI_CDB path. The two error paths in scsiback_do_cmd_fn() taken before the command is submitted -- a failed scsiback_gnttab_data_map() and an unknown ring_req.act -- call transport_generic_free_cmd(&pending_req->se_cmd, 0), which kref_put()s a refcount of 0. That underflows it ("refcount_t: underflow; use-after-free") and, as the release function is not run, leaks the command tag. Impact: a pvSCSI guest can leak every command tag of a LUN's session, stopping the LUN, by submitting requests with a bad grant reference or an unknown request type; under panic_on_warn the refcount underflow panics the host. Add a helper that just returns the tag with target_free_tag() and sends the error response. It frees the tag while the v2p reference still pins the session, and snapshots the response fields beforehand because freeing the tag can let another ring reuse the pending_req slot.

📍 영향받는 시스템

Linux kernel (scsi: xen: scsiback 관련 모듈 사용 시)

⚔️ 공격 벡터

pvSCSI 게스트가 잘못된 grant 참조 또는 알 수 없는 요청 유형을 제출하여 오류 경로를 유도함

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 scsiback_do_cmd_fn()의 오류 처리 로직을 수정해야 함

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel