🔍 CVE-2026-74582

7.8
CVSS Score
HIGH
2026-08-21
2026-10-16 20:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 패킷 전송 과정에서 dev->hard_header_len 값을 여러 번 읽어 발생하는 레이스 컨디션 취약점입니다. 장치 재설정 시 값이 변경되면 skb 헤드룸 할당과 데이터 복사 과정에서 불일치가 발생하여 메모리 경계 외 쓰기(Out-of-bounds write)가 가능해집니다.

💡 쉬운 설명

네트워크 데이터를 보낼 때 필요한 공간을 계산하는 과정에서 값이 중간에 바뀌어, 정해진 메모리 범위를 벗어나 데이터를 쓰는 오류입니다. 이로 인해 시스템이 충돌하거나 해커가 악성 코드를 심을 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: packet: use consistent hard_header_len in non-ring send paths packet_snd() reads dev->hard_header_len multiple times while allocating and constructing an skb. Device reconfiguration can change this value concurrently, for example through bonding device type changes. For SOCK_RAW, packet_snd() can save a larger value in reserve and later allocate headroom using a smaller value. Moving skb->data back by reserve then places it before skb->head, and the following copy from userspace can attempt an out-of-bounds write. packet_sendmsg_spkt() has the same issue because it calculates its reservation and header offset from separate reads before dropping the RCU read lock to allocate the skb. Add LL_RESERVED_SPACE_EX() for callers that already saved a header length. Read hard_header_len once in packet_snd() and use it for allocation and construction. In packet_sendmsg_spkt(), preserve the allocation-time value through the device lookup retry. The separate SOCK_DGRAM consistency problem between hard_header_len and header_ops->create is not addressed here.

📍 영향받는 시스템

Linux Kernel (packet_snd 및 packet_sendmsg_spkt 함수를 사용하는 버전)

⚔️ 공격 벡터

네트워크 장치 재설정(Bonding 변경 등)을 유도하여 패킷 전송 중 메모리 경계 외 쓰기 유발

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 hard_header_len 읽기 일관성 확보

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -a

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

NVIDIA Cloud Gaming Guest Driver for Linux