🇰🇷 한글 설명
리눅스 커널의 NVMe 멀티패스 네임스페이스 헤드에서 I/O 패스스루 명령을 보낼 때 발생하는 Use-After-Free 취약점입니다. 컨트롤러 경로가 제거된 후에도 로그 수명 주기가 적절히 관리되지 않아 메모리 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 저장 장치와 통신하는 과정에서 이미 사라진 데이터 경로를 참조하여 시스템 오류를 일으키는 문제입니다. 이로 인해 시스템이 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nvme: fix command effects log lifetime for multipath heads
KASAN reported a use-after-free when an I/O passthrough command was sent
through a multipath namespace head after the controller path that first
created the head had been removed:
BUG: KASAN: slab-use-after-free in nvme_command_effects+0x192/0x200 [nvme_core]
Read of size 4 at addr ffff888141b14400 by task nvme/19811
nvme_command_effects+0x192/0x200 [nvme_core]
nvme_cmd_allowed+0x7e/0x1b0 [nvme_core]
nvme_user_cmd.constprop.0+0x1b5/0x450 [nvme_core]
nvme_ns_head_chr_ioctl+0xf4/0x2a0 [nvme_core]
Move the log cache to the subsystem, with one entry per command set. Both
controllers and namespace heads hold subsystem references, keeping their
log pointers valid until subsystem release.
📍 영향받는 시스템
Linux Kernel (NVMe multipath namespace head 관련 모듈 사용 시스템)
⚔️ 공격 벡터
로컬 권한을 가진 사용자가 특정 I/O 패스스루 명령을 통해 메모리 오류 유도
🛡️ 대응 방법
NVMe 로그 캐시 관리 로직이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인