🔍 CVE-2026-81012

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

🇰🇷 한글 설명

Linux 커널의 x86 플랫폼 hp-bioscfg 드라이버에서 hp_get_string_from_buffer() 함수 호출 시 발생하는 오프바이원(off-by-one) 쓰기 취약점입니다. 문자열 변환 시 버퍼 크기와 변환된 길이를 비교하는 과정에서 경계 조건 오류로 인해 널(NUL) 종료 문자가 버퍼 범위를 1바이트 초과하여 기록될 수 있습니다.

💡 쉬운 설명

데이터를 저장하는 바구니의 크기를 계산할 때 실수하여, 마지막 마침표를 바구니 바깥에 찍는 오류가 발생했습니다. 이로 인해 메모리의 다른 영역이 의도치 않게 수정될 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: fix off-by-one write in hp_get_string_from_buffer() hp_get_string_from_buffer() clamps the converted string length against the destination buffer size with "size > dst_size", so when the converted length is exactly equal to dst_size, conv_dst_size is left at dst_size and the unconditional NUL terminator write dst[conv_dst_size] = 0; lands one byte past the destination buffer. This is the same shape of bug as the previously fixed off-by-one in hp_convert_hexstr_to_str(): the buffer is sized correctly for the content, but the terminator write is never checked against that size. Fix by changing the comparison to ">=" so conv_dst_size is always left with room for the terminator. All fixed-size destinations that reach this function (path[512], current_value[512], current_password/current_value[64], and the per-entry buffers in encodings[][512] and prerequisites[][512]) are affected.

📍 영향받는 시스템

hp-bioscfg 드라이버를 사용하는 x86 기반 Linux 커널 시스템

⚔️ 공격 벡터

특정 조건의 HP BIOS 설정 데이터를 통해 메모리 오버플로우 유도

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 패치된 최신 릴리스 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel