🔍 CVE-2026-80731

7.8
CVSS Score
HIGH
2026-09-03
2026-10-16 20:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 dev_validate_header 함수에서 CAP_SYS_RAWIO 권한을 가진 사용자에게 헤더 제로 패딩을 수행할 때 발생하는 경계 외 쓰기(Out-of-bounds write) 취약점입니다. 장치 재설정으로 인해 hard_header_len 값이 증가할 경우, 할당된 버퍼 범위를 벗어나 메모리를 덮어쓸 수 있습니다.

💡 쉬운 설명

특정 권한을 가진 사용자가 네트워크 패킷을 처리하는 과정에서 시스템의 허용된 메모리 범위를 넘어서 데이터를 쓰는 오류가 발생할 수 있습니다. 이로 인해 시스템이 불안정해지거나 보안 설정이 무력화될 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: remove CAP_SYS_RAWIO zero-padding in dev_validate_header dev_validate_header() reads dev->hard_header_len directly when zero-padding short link layer headers for CAP_SYS_RAWIO holders: if (capable(CAP_SYS_RAWIO)) { memset(ll_header + len, 0, dev->hard_header_len - len); return true; } Packet send paths call dev_validate_header() on skbs whose headroom was allocated from an earlier hard_header_len read. If the device is reconfigured so that dev->hard_header_len increases before validation, the memset writes past the reserved buffer, an out-of-bounds write. This out-of-bounds write is masked in some SOCK_RAW paths today because the same concurrent increase can first make skb_push() exceed the reserved headroom and trigger skb_under_panic(). Remove the zero-padding branch before making those hard_header_len reads consistent, so the snapshot fixes do not turn a loud panic into a silent overwrite. This path is only reached for variable length L2 protocols, where len < hard_header_len but len >= min_header_len. No remaining in-tree variable length L2 protocol implements header_ops->validate, and the CAP_SYS_RAWIO bypass that zero-pads and accepts short headers has no real value beyond allowing testing of intentionally malformed input. Drop the CAP_SYS_RAWIO branch. The remaining reads of dev->hard_header_len in dev_validate_header() are comparisons only and have no memory safety impact.

📍 영향받는 시스템

CAP_SYS_RAWIO 권한을 사용할 수 있는 리눅스 커널 버전

⚔️ 공격 벡터

장치 재설정을 통해 hard_header_len 값을 조작하여 메모리 경계 외 쓰기를 유도

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 dev_validate_header 내의 CAP_SYS_RAWIO 분기 제거

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

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