🔍 CVE-2025-38399

7.5
CVSS Score
HIGH
2025-07-25
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SCSI 타겟 구성 요소에서 core_scsi3_decode_spec_i_port() 함수가 오류 처리 과정 중 NULL 포인터를 참조하는 취약점이 발견되었습니다. 이로 인해 dest_se_deve 포인터가 설정되지 않은 상태에서 함수가 호출될 경우 시스템 커널 패닉이 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 저장 장치를 관리하는 핵심 프로그램에서 잘못된 정보를 받았을 때, 존재하지 않는 메모리 주소를 참조하여 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 공격자가 특수하게 조작된 데이터를 보내 시스템을 마비시킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: scsi: target: Fix NULL pointer dereference in core_scsi3_decode_spec_i_port() The function core_scsi3_decode_spec_i_port(), in its error code path, unconditionally calls core_scsi3_lunacl_undepend_item() passing the dest_se_deve pointer, which may be NULL. This can lead to a NULL pointer dereference if dest_se_deve remains unset. SPC-3 PR SPEC_I_PT: Unable to locate dest_tpg Unable to handle kernel paging request at virtual address dfff800000000012 Call trace: core_scsi3_lunacl_undepend_item+0x2c/0xf0 [target_core_mod] (P) core_scsi3_decode_spec_i_port+0x120c/0x1c30 [target_core_mod] core_scsi3_emulate_pro_register+0x6b8/0xcd8 [target_core_mod] target_scsi3_emulate_pr_out+0x56c/0x840 [target_core_mod] Fix this by adding a NULL check before calling core_scsi3_lunacl_undepend_item()

📍 영향받는 시스템

Linux Kernel (SCSI target subsystem 포함 버전)

⚔️ 공격 벡터

조작된 SCSI SPC-3 명령어를 통해 커널의 특정 오류 경로를 유도하여 NULL 포인터 역참조 발생

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하거나, core_scsi3_lunacl_undepend_item() 호출 전 NULL 체크 로직을 적용해야 합니다.

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel