🔍 CVE-2026-53175

9.8
CVSS Score
CRITICAL
2026-06-25
2026-08-14 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 inet: frags 구성 요소에서 네트워크 네임스페이스 해제 시 발생하는 Use-After-Free 취약점입니다. fqdir_pre_exit() 함수가 파편화된 큐를 비우는 과정에서 해제된 skb 포인터를 초기화하지 않아, 이미 큐를 획득한 프로세스가 해제된 메모리에 접근할 때 발생합니다.

💡 쉬운 설명

네트워크 데이터를 처리하는 과정에서 이미 삭제된 메모리 주소를 다시 참조하여 시스템 오류를 일으키는 보안 결함입니다. 공격자가 이를 악용하면 시스템 권한을 탈취하거나 시스템을 강제로 종료시킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: inet: frags: fix use-after-free caused by the fqdir_pre_exit() flush On netns teardown, fqdir_pre_exit() walks the fqdir rhashtable and flushes every fragment queue that is not yet complete using inet_frag_queue_flush(). That helper frees all the skbs queued on the fragment queue but does not set INET_FRAG_COMPLETE, and leaves q->fragments_tail and q->last_run_head pointing at the freed skbs. The queue itself stays in the rhashtable. fqdir_pre_exit() first lowers high_thresh to 0 to stop new queue lookups, but it cannot stop a fragment that already obtained the queue through inet_frag_find() earlier and stalled just before taking the queue lock. Once that fragment resumes after the flush and takes the queue lock, it passes the INET_FRAG_COMPLETE check and then dereferences the freed fragments_tail. inet_frag_queue_insert() reads FRAG_CB() and ->len of that pointer and, on the append path, writes ->next_frag, causing a slab use-after-free. IPv6, nf_conntrack_reasm6 and 6lowpan reassembly share the same flush path and are affected as well. Reset rb_fragments, fragments_tail and last_run_head in inet_frag_queue_flush() so a flushed queue no longer points at the freed skbs. A fragment that resumes after the flush and takes the queue lock then finds an empty queue and starts a new run instead of dereferencing the freed fragments_tail. ip_frag_reinit() already performed this reset after its own flush, so drop the now duplicate code there.

📍 영향받는 시스템

Linux Kernel (IPv6, nf_conntrack_reasm6, 6lowpan reassembly 포함)

⚔️ 공격 벡터

네트워크 네임스페이스 해제와 동시에 조작된 패킷을 전송하여 메모리 참조 오류 유도

🛡️ 대응 방법

커널 패치를 적용하여 inet_frag_queue_flush() 호출 시 rb_fragments, fragments_tail, last_run_head 포인터를 초기화해야 함

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인하십시오.

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