🔍 CVE-2026-22998

7.5
CVSS Score
HIGH
2026-01-25
2026-10-19 19:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 nvme-tcp 구성 요소에서 NULL 포인터 역참조 취약점이 발견되었습니다. 공격자가 특정 순서로 잘못된 H2C_DATA PDU를 전송할 경우, 초기화되지 않은 데이터 구조체에 접근하여 커널 패닉을 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터의 저장 장치와 통신하는 과정에서, 준비되지 않은 상태로 데이터를 보내면 시스템이 갑자기 멈추거나 꺼질 수 있는 오류입니다. 악의적인 사용자가 이 규칙을 어기는 신호를 보내 시스템을 마비시킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: fix NULL pointer dereferences in nvmet_tcp_build_pdu_iovec Commit efa56305908b ("nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length") added ttag bounds checking and data_offset validation in nvmet_tcp_handle_h2c_data_pdu(), but it did not validate whether the command's data structures (cmd->req.sg and cmd->iov) have been properly initialized before processing H2C_DATA PDUs. The nvmet_tcp_build_pdu_iovec() function dereferences these pointers without NULL checks. This can be triggered by sending H2C_DATA PDU immediately after the ICREQ/ICRESP handshake, before sending a CONNECT command or NVMe write command. Attack vectors that trigger NULL pointer dereferences: 1. H2C_DATA PDU sent before CONNECT → both pointers NULL 2. H2C_DATA PDU for READ command → cmd->req.sg allocated, cmd->iov NULL 3. H2C_DATA PDU for uninitialized command slot → both pointers NULL The fix validates both cmd->req.sg and cmd->iov before calling nvmet_tcp_build_pdu_iovec(). Both checks are required because: - Uninitialized commands: both NULL - READ commands: cmd->req.sg allocated, cmd->iov NULL - WRITE commands: both allocated

📍 영향받는 시스템

Linux kernel (nvme-tcp 모듈 사용 환경)

⚔️ 공격 벡터

CONNECT 또는 NVMe 쓰기 명령 전, 비정상적인 순서로 H2C_DATA PDU를 전송하여 NULL 포인터 역참조 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 nvmet_tcp_build_pdu_iovec()의 검증 로직 적용

🔧 검증 코드

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

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