🔍 CVE-2026-64085

7.8
CVSS Score
HIGH
2026-07-19
2026-09-03 12:36
✅ 완료

🇰🇷 한글 설명

Linux 커널의 hwmon(pmbus/adm1266) 드라이버에서 발생하는 버퍼 오버플로 취약점입니다. adm1266_nvmem_read_blackbox 함수가 장치로부터 전달받은 데이터 길이를 검증하지 않고 메모리에 복사함으로써, 할당된 버퍼 크기를 초과하는 데이터를 기록할 수 있습니다.

💡 쉬운 설명

하드웨어 장치가 정해진 크기보다 더 많은 데이터를 보내면, 컴퓨터의 메모리 영역을 넘쳐흐르게 만들어 시스템 오류나 보안 문제를 일으킬 수 있는 결함입니다. 장치가 보내는 데이터의 길이를 미리 확인하지 않아 발생하는 문제입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/adm1266) bounce blackbox records through a protocol-sized buffer adm1266_pmbus_block_xfer() copies the device-supplied block payload into the caller-provided buffer using the device-supplied length: memcpy(data_r, &msgs[1].buf[1], msgs[1].buf[0]); The helper does not know how large data_r is and trusts the device to return at most one record's worth of bytes. adm1266_nvmem_read_blackbox() violates that contract: it advances read_buff inside data->dev_mem in ADM1266_BLACKBOX_SIZE (64-byte) strides while the helper is willing to write up to ADM1266_PMBUS_BLOCK_MAX (255) bytes. A device that returns more than 64 bytes on the trailing record (read_buff offset 1984 in the 2048-byte dev_mem allocation) overflows dev_mem by up to 191 bytes before the post-call if (ret != ADM1266_BLACKBOX_SIZE) return -EIO; can reject the response. Contain the fix in the caller without changing the helper signature: read each record into a 255-byte local bounce buffer that matches the helper's maximum output, validate the returned length, and only then copy exactly ADM1266_BLACKBOX_SIZE bytes into the dev_mem slot.

📍 영향받는 시스템

Linux kernel (hwmon/pmbus/adm1266 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

조작된 데이터를 반환하는 악의적인 하드웨어 장치 또는 하드웨어 통신 프로토콜을 통한 메모리 오버플로 공격

🛡️ 대응 방법

커널 패치를 통해 데이터를 로컬 버퍼에 먼저 저장하고 길이를 검증한 후 메모리에 복사하도록 수정된 최신 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 수정된 최신 패치 버전인지 확인

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