🔍 CVE-2026-64135

5.5
CVSS Score
MEDIUM
2026-07-19
2026-08-13 15:08
✅ 완료

🇰🇷 한글 설명

Linux 커널의 hwmon(pmbus/adm1266) 드라이버에서 스택 버퍼 오버플로 취약점이 발견되었습니다. adm1266_nvmem_read_blackbox 함수가 5바이트 크기의 버퍼를 사용하지만, SMBus 장치가 더 큰 데이터를 반환할 경우 메모리 오버플로가 발생할 수 있습니다.

💡 쉬운 설명

하드웨어 정보를 읽어오는 과정에서 데이터를 담는 그릇이 실제 들어오는 데이터보다 작아 발생하는 문제입니다. 이로 인해 시스템의 중요한 메모리 영역이 덮어씌워질 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX adm1266_nvmem_read_blackbox() declares a 5-byte stack buffer and passes it to i2c_smbus_read_block_data() to retrieve the 4-byte BLACKBOX_INFO response. i2c_smbus_read_block_data() does not honour caller buffer sizes -- it memcpy()s data.block[0] bytes from the SMBus transaction (where data.block[0] is the length byte returned by the slave device, up to I2C_SMBUS_BLOCK_MAX = 32): memcpy(values, &data.block[1], data.block[0]); If the device returns any block length above 5, the call overflows the caller's 5-byte stack buffer before the post-call if (ret != 4) return -EIO; check has a chance to reject the response. Widen the local buffer to I2C_SMBUS_BLOCK_MAX so the helper has room for any well-formed SMBus block response, matching the convention used by the other i2c_smbus_read_block_data() callers in this driver.

📍 영향받는 시스템

Linux kernel (pmbus/adm1266 driver 포함 버전)

⚔️ 공격 벡터

악의적으로 조작된 SMBus 응답을 보내는 하드웨어 장치를 통한 로컬 메모리 오버플로 공격

🛡️ 대응 방법

커널 패치를 적용하여 adm1266_nvmem_read_blackbox 함수의 버퍼 크기를 I2C_SMBUS_BLOCK_MAX로 확장해야 합니다.

🔧 검증 코드

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

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