🔍 CVE-2026-98232

0.0
CVSS Score
UNKNOWN
2026-10-06
2026-10-19 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SCSI 코어에서 MODE SENSE 길이를 검증하지 않아 발생하는 취약점입니다. 공격자가 조작된 ATA 장치를 통해 스택 버퍼 오버플로우를 유발하여 스택 내용을 유출하거나 권한 상승을 시도할 수 있습니다.

💡 쉬운 설명

USB 저장 장치처럼 보이는 가짜 장치를 컴퓨터에 연결하면, 컴퓨터의 중요한 내부 정보를 몰래 빼가거나 관리자 권한을 뺏을 수 있는 보안 결함입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable() scsi_cdl_enable() uses length fields returned by MODE SENSE to locate the ATA feature mode page in a 64-byte stack buffer. A target can report a total length shorter than its mode header and block descriptors. The unsigned subtraction used for the MODE SELECT length can wrap, and the separately computed buf_data can point beyond buf. During automatic scan, enable is false, so the read-modify-write of buf_data[4] can clear the low two bits of a target-selected out-of-bounds stack byte. scsi_mode_select() can then copy up to 64 bytes from outside the buffer into the outgoing MODE SELECT payload, disclosing stack contents to the target. This is reachable while scanning a USB storage device that identifies as an ATA device and advertises CDL support. No filesystem mount or userspace access to the block device is required. On upstream commit cee9395acd80 ("Linux 7.3-rc1"), a build-specific, one-vCPU QEMU/Raw Gadget proof using QEMU-only multi-UDC allocator sampling executed a fixed proof command inside the guest and created a UID-0-owned marker during automatic enumeration, with KASLR and NX enabled. The issue was independently found during security research at Drivesec S.r.l. Cap the available length to the buffer size. Validate and consume the mode header and block descriptor lengths before using the page, and require the five bytes needed to access the CDL field.

📍 영향받는 시스템

Linux Kernel (7.3-rc1 이전 버전 및 관련 SCSI 스택 포함 버전)

⚔️ 공격 벡터

CDL 기능을 지원하는 것으로 위장한 조작된 USB 저장 장치를 연결하여 자동 스캔 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 MODE SENSE 길이 검증 로직 적용

🔧 검증 코드

출력된 커널 버전이 취약점이 해결된 패치 버전(Linux 7.3-rc1 이후 또는 배포판별 보안 패치 적용 버전)인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

NVIDIA Cloud Gaming Guest Driver for Linux