🔍 CVE-2026-81013

0.0
CVSS Score
UNKNOWN
2026-09-11
2026-10-19 09:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 hp-bioscfg 드라이버에서 빈 비밀번호를 입력할 때 힙 영역의 경계를 벗어난 읽기(OOB Read)가 발생하는 취약점입니다. validate_password_input 함수가 입력값의 길이를 확인하지 않고 줄바꿈 문자를 제거하려 시도하면서 메모리 상의 잘못된 위치를 참조하게 됩니다.

💡 쉬운 설명

비밀번호를 입력할 때 아무것도 입력하지 않으면 프로그램이 메모리의 엉뚱한 곳을 읽어버리는 오류가 발생합니다. 이로 인해 시스템의 민감한 정보가 유출될 가능성이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: fix heap OOB read on empty password write validate_password_input() computes length = strlen(buf) and then checks buf[length - 1] to strip a trailing newline, without checking that length is nonzero first. Writing an empty string (a bare '\n') to current_password or new_password gives length == 0, and buf[length - 1] reads buf[-1], one byte before the heap allocation holding the copied input. KASAN confirms this directly: BUG: KASAN: slab-out-of-bounds in store_password_instance.constprop.0+0x223/0x2a0 [hp_bioscfg] Read of size 1 at addr ffff88811bd8da9f by task sh/13740 ... store_password_instance.constprop.0+0x223/0x2a0 [hp_bioscfg] current_password_store+0x14/0x20 [hp_bioscfg] ... The buggy address is located 23 bytes to the right of allocated 8-byte region [ffff88811bd8da80, ffff88811bd8da88) Reproduced identically via new_password_store. Execution continues past the bad read (the garbage byte only affects whether "length" is decremented by one), so the write completes and returns success; this is a pure information read past the buffer, not a crash, but it is still an out-of-bounds access KASAN correctly flags. Fix by only checking buf[length - 1] when length is nonzero.

📍 영향받는 시스템

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

⚔️ 공격 벡터

비밀번호 설정 시 빈 문자열(또는 줄바꿈만 포함된 입력)을 전달하여 메모리 경계 외 읽기 유도

🛡️ 대응 방법

입력값의 길이가 0인지 확인하는 로직이 포함된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 버전인지 배포판 보안 공지를 통해 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel