🔍 CVE-2026-97535

0.0
CVSS Score
UNKNOWN
2026-09-25
2026-10-21 13:21
✅ 완료

🇰🇷 한글 설명

Linux 커널의 qla2xxx SCSI 드라이버에서 가상 포트(VP) 인덱스 범위를 검증하지 않아 발생하는 경계 외 쓰기(Out-of-bounds write) 취약점입니다. 특정 조건에서 잘못된 인덱스가 입력될 경우 16바이트 크기의 비트맵 배열을 초과하여 인접한 메모리 영역을 오염시킬 수 있습니다.

💡 쉬운 설명

컴퓨터의 저장 장치를 관리하는 프로그램이 정해진 메모리 공간보다 더 큰 숫자를 입력받아, 옆에 있는 중요한 데이터를 실수로 덮어쓸 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Bound VP index against VP_CTRL IOCB bitmap size The VP control IOCB selects its target virtual port by setting one bit in vp_idx_map, a fixed 16-byte (128-bit) array in both vp_ctrl_entry_24xx and vp_ctrl_entry_24xx_ext. qla25xx_ctrlvp_iocb() computes map = (vp_index - 1) / 8 and writes vce->vp_idx_map[map] without checking that map stays within the array. max_npiv_vports is taken from firmware and only sanitized to a MIN_MULTI_ID_FABRIC-aligned boundary, so it can legitimately be 191 or 255, and qla24xx_control_vp() only rejects vp_index >= max_npiv_vports. A vp_index above 128 therefore yields map >= 16 and an out-of-bounds write of up to 16 bytes past vp_idx_map, corrupting the trailing IOCB fields (or the adjacent request-ring slot on the 64-byte layout). Reject a vp_index that cannot be represented in the IOCB bitmap in qla24xx_control_vp(), and add a defensive ARRAY_SIZE() guard in qla25xx_ctrlvp_iocb() before the write. Adapters that report the usual 63 or 127 NPIV vports are unaffected.

📍 영향받는 시스템

Linux kernel (qla2xxx SCSI driver 사용 환경)

⚔️ 공격 벡터

펌웨어에서 제공하는 max_npiv_vports 값을 조작하거나 비정상적인 VP 인덱스를 전달하여 메모리 오염 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 VP 인덱스 검증 로직 적용

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel