🔍 CVE-2025-21723

5.5
CVSS Score
MEDIUM
2025-02-27
2026-10-30 13:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mpi3mr SCSI 드라이버에서 bsg 설정 실패 시 bsg_queue가 NULL이 아닌 값으로 할당되는 취약점이 발견되었습니다. 이로 인해 드라이버 종료 과정에서 bsg_remove_queue가 호출되지 않아 커널 NULL 포인터 역참조로 인한 시스템 충돌(Crash)이 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 저장 장치를 관리하는 소프트웨어에서 설정 오류가 발생했을 때, 이를 제대로 정리하지 못해 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 이는 공격자가 시스템을 강제로 중단시키는 용도로 악용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix possible crash when setting up bsg fails If bsg_setup_queue() fails, the bsg_queue is assigned a non-NULL value. Consequently, in mpi3mr_bsg_exit(), the condition "if(!mrioc->bsg_queue)" will not be satisfied, preventing execution from entering bsg_remove_queue(), which could lead to the following crash: BUG: kernel NULL pointer dereference, address: 000000000000041c Call Trace: <TASK> mpi3mr_bsg_exit+0x1f/0x50 [mpi3mr] mpi3mr_remove+0x6f/0x340 [mpi3mr] pci_device_remove+0x3f/0xb0 device_release_driver_internal+0x19d/0x220 unbind_store+0xa4/0xb0 kernfs_fop_write_iter+0x11f/0x200 vfs_write+0x1fc/0x3e0 ksys_write+0x67/0xe0 do_syscall_64+0x38/0x80 entry_SYSCALL_64_after_hwframe+0x78/0xe2

📍 영향받는 시스템

MPI3MR 드라이버를 사용하는 Linux 커널 시스템

⚔️ 공격 벡터

로컬 환경에서 특정 드라이버 설정 실패를 유도하여 커널 패닉(Kernel Panic) 유발

🛡️ 대응 방법

MPI3MR 관련 버그가 수정된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel