🔍 CVE-2026-80849

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

🇰🇷 한글 설명

리눅스 커널의 net/tcp-ao 구성 요소에서 다른 피어(peer)로 재연결 시 current_key에 대한 Use-After-Free 취약점이 발생합니다. RCU 읽기 측에서 키를 조회하는 과정과 소켓 연결 해제 시 키가 해제되는 시점 간의 동기화 문제로 인해 발생합니다.

💡 쉬운 설명

네트워크 연결을 바꿀 때 이전에 사용하던 암호 키가 메모리에서 삭제되었음에도 불구하고, 시스템이 여전히 그 삭제된 키를 사용하려고 시도하여 오류가 발생하는 문제입니다. 이로 인해 시스템이 충돌하거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/tcp-ao: fix use-after-free of current_key on reconnect to another peer tcp_inbound_ao_hash() is called before bh_lock_sock_nested() is taken, with only rcu_read_lock() held. On the fast path for established sockets, if the rnext_keyid sent by the peer differs from current_key->sndid, the key the peer asked for is looked up and stored in current_key. The lookup is inside the RCU read side, but current_key outlives it. When the socket is disconnected and connect() is called again for another peer, tcp_ao_connect_init() unlinks every key that does not match the new peer and frees it with call_rcu(). If current_key points at such a key, it is cleared to NULL. The fast path reads sk_state only once on entry, so a softirq that got into it while the socket was still established can update current_key after that loop has already run. The update is inside the RCU read side, so it comes before the call_rcu() callback, and once the callback frees the key, current_key is left pointing at freed memory. The next transmission picks that pointer up in tcp_get_current_key(). tcp_ao_transmit_skb() then reads the traffic key from the freed object, which is the use-after-free. Wait for one grace period before unlinking, and only if a key is going to be removed. By the time tcp_connect() runs the socket is already in TCP_SYN_SENT, and TCP_AO_ESTABLISHED does not contain TCPF_SYN_SENT, so a softirq entering after the wait cannot reach the fast path, and the ones already in it have finished. The existing NULL handling in the loop is then enough.

📍 영향받는 시스템

Linux Kernel (net/tcp-ao 모듈을 사용하는 버전)

⚔️ 공격 벡터

특정 네트워크 재연결 시나리오를 유도하여 메모리 오류를 일으키는 로컬 또는 원격 공격 가능성

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel