🇰🇷 한글 설명
Linux 커널의 TIPC 프로토콜에서 poll trace queue 덤프 시 Use-After-Free 취약점이 발견되었습니다. tipc_poll() 함수가 적절한 잠금(lock) 없이 큐 상태를 덤프하여, 다른 컨텍스트에서 skb가 해제된 후에도 잘못된 메모리 주소에 접근할 수 있는 문제입니다.
💡 쉬운 설명
시스템의 통신 기록을 남기는 과정에서 보안 장치가 제대로 잠기지 않아 발생합니다. 이로 인해 이미 삭제된 데이터를 다시 읽으려 시도하면서 시스템 오류나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
tipc: avoid use-after-free in poll trace queue dumps
TIPC socket tracepoints dump queue state through tipc_sk_dump(). Most
queue-dump callsites already serialize that walk under the socket lock or
sk->sk_lock.slock, but tipc_poll() calls trace_tipc_sk_poll(...,
TIPC_DUMP_ALL, ...) without holding either lock.
That lets the poll trace path reach tipc_list_dump() and backlog head/tail
dumping while another context dequeues and frees an skb, leaving the trace
helper dereferencing a stale queue entry.
Stop the unlocked poll trace site from requesting queue dumps. Other queue
dump trace callsites keep their existing output under the locking they
already provide, while poll still emits the event itself without walking
live queue members from an unlocked context.
📍 영향받는 시스템
Linux kernel (TIPC 프로토콜을 사용하는 버전)
⚔️ 공격 벡터
로컬 또는 네트워크를 통해 TIPC 소켓의 poll trace를 유도하여 메모리 오류 유발
🛡️ 대응 방법
TIPC 관련 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인