🔍 CVE-2024-41082

5.5
CVSS Score
MEDIUM
2024-07-29
2026-10-30 13:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 nvme-fabrics 구성 요소에서 발생하는 취약점으로, 사용자 작업에 의해 너무 많은 NVMe 명령이 동시에 발행될 경우 admin_q의 태그가 고갈될 수 있습니다. 이 상태에서 리셋이 발생하면 태그 부족으로 인해 NVMe 레지스터 업데이트에 실패하며 커널이 무한 대기 상태(Hang)에 빠질 수 있습니다.

💡 쉬운 설명

컴퓨터의 저장 장치와 통신하는 과정에서 명령어가 너무 많이 몰리면 시스템이 명령을 처리할 번호표를 모두 써버릴 수 있습니다. 이로 인해 시스템이 멈춰버리는 현상이 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: nvme-fabrics: use reserved tag for reg read/write command In some scenarios, if too many commands are issued by nvme command in the same time by user tasks, this may exhaust all tags of admin_q. If a reset (nvme reset or IO timeout) occurs before these commands finish, reconnect routine may fail to update nvme regs due to insufficient tags, which will cause kernel hang forever. In order to workaround this issue, maybe we can let reg_read32()/reg_read64()/reg_write32() use reserved tags. This maybe safe for nvmf: 1. For the disable ctrl path, we will not issue connect command 2. For the enable ctrl / fw activate path, since connect and reg_xx() are called serially. So the reserved tags may still be enough while reg_xx() use reserved tags.

📍 영향받는 시스템

Linux kernel (nvme-fabrics module 사용 환경)

⚔️ 공격 벡터

사용자 작업(User tasks)을 통한 과도한 NVMe 명령 발행 및 리셋 유도

🛡️ 대응 방법

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