🔍 CVE-2026-74434

9.8
CVSS Score
CRITICAL
2026-08-15
2026-08-17 06:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 rxrpc 프로토콜에서 MSG_PEEK 플래그를 사용하여 OOB 메시지를 읽을 때, 메시지가 recvmsg_oobq와 pending_oobq 두 큐에 동시에 존재하게 되는 취약점입니다. 이로 인해 메모리 구조가 손상되고, 소켓 종료 시 잘못된 주소에 쓰기 작업이 발생하거나 참조 횟수 오류로 인한 Use-After-Free 및 메모리 오염이 발생할 수 있습니다.

💡 쉬운 설명

데이터를 미리 보기만 하는 기능을 사용할 때 시스템이 데이터를 두 군데에 동시에 저장하여 혼란을 일으키는 문제입니다. 이 과정에서 메모리 관리 오류가 발생하여 시스템이 충돌하거나 해킹에 악용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Don't move a peeked OOB message onto the pending queue rxrpc_recvmsg_oob() takes a received oob message off recvmsg_oobq and, if a response is needed, moves it onto the pending_oobq tree. However, only the unlink from recvmsg_oobq is guarded by MSG_PEEK; the move onto pending_oobq always runs. As a result, reading a challenge with MSG_PEEK leaves the skb on recvmsg_oobq while also adding it to pending_oobq. Since struct sk_buff's rbnode shares storage with its next and prev pointers, rb_insert_color() overwrites the list linkage, and the skb, which holds a single reference, becomes reachable from both queues at once. When the socket is closed both queues are drained in turn. While draining recvmsg_oobq, __skb_unlink() follows the next and prev pointers that rbnode has overwritten and writes to a bad address. Also, as the skb holds a single reference but is freed from each queue, both the skb and the connection reference it holds are released twice. This leads to memory corruption and to a use-after-free caused by the connection refcount underflow. MSG_PEEK does not consume the message from the queue, so only unlink it from recvmsg_oobq and then move it onto pending_oobq or free it when the message is actually consumed.

📍 영향받는 시스템

Linux kernel (rxrpc 프로토콜을 사용하는 시스템)

⚔️ 공격 벡터

MSG_PEEK 플래그를 사용하여 OOB(Out-of-Band) 메시지를 처리하는 특수하게 조작된 네트워크 패킷 전송

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel