🔍 CVE-2026-89559

7.8
CVSS Score
HIGH
2026-09-11
2026-10-19 09:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 libnvdimm 구성 요소에서 __nd_label_validate() 함수 내 정수 오버플로 취약점이 발견되었습니다. 공격자가 조작된 nslot 값을 제공할 경우, 경계 검사를 우회하여 메모리 범위를 벗어난 쓰기(Out-of-bounds write)가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 숫자를 계산할 때 처리할 수 있는 범위를 넘어서는 오류가 발생하여, 허용되지 않은 메모리 영역에 데이터를 쓰는 보안 결함입니다. 이를 통해 시스템의 중요한 정보를 망가뜨리거나 제어권을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: libnvdimm/labels: Prevent integer overflow in __nd_label_validate() The on-media namespace index field nslot is a u32 read from the DIMM label storage area. __nd_label_validate() bounds it against the config area size, but sizeof_namespace_label() returns unsigned, so the product nslot * label_size is evaluated in 32-bit and wraps modulo 2^32 before the comparison. A crafted nslot passes the bound and is then used as the loop trip count in nd_label_data_init(), whose memset() walks off the end of the config_size buffer: an out-of-bounds write. The field is not trusted -- it comes from the medium, or from userspace via ND_CMD_SET_CONFIG_DATA. Evaluate the product in 64-bit so the bound check is exact; conforming labels are unaffected. The check was safe when introduced by commit 4a826c83db4e ("libnvdimm: namespace indices: read and validate"): it multiplied by sizeof(struct nd_namespace_label), a size_t, so on a 64-bit build the product did not wrap. Commit 564e871aa66f ("libnvdimm, label: add v1.2 nvdimm label definitions") narrowed it to 32 bits when the label size became a runtime value read via sizeof_namespace_label().

📍 영향받는 시스템

Linux Kernel (libnvdimm 구성 요소가 포함된 버전)

⚔️ 공격 벡터

조작된 NVMe DIMM 레이블 데이터 또는 ND_CMD_SET_CONFIG_DATA를 통한 사용자 공간에서의 입력

🛡️ 대응 방법

정수 오버플로를 방지하도록 수정된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel