🇰🇷 한글 설명
Linux 커널의 TIPC 프로토콜에서 이더넷 베어러의 원격 IP를 획득하는 과정 중 NULL 포인터 역참조 취약점이 발견되었습니다. 특정 조건에서 베어러 리스트의 미디어 ID를 제대로 검증하지 않아 시스템 오류(General Protection Fault)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 네트워크 통신 기능 중 하나에서 잘못된 주소를 참조하여 시스템이 갑자기 멈추거나 오류가 발생하는 문제입니다. 공격자가 특수한 네트워크 요청을 보내 시스템을 강제로 중단시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
tipc: fix null-ptr-deref when acquiring remote ip of ethernet bearer
The reproduction steps:
1. create a tun interface
2. enable l2 bearer
3. TIPC_NL_UDP_GET_REMOTEIP with media name set to tun
tipc: Started in network mode
tipc: Node identity 8af312d38a21, cluster identity 4711
tipc: Enabled bearer <eth:syz_tun>, priority 1
Oops: general protection fault
KASAN: null-ptr-deref in range
CPU: 1 UID: 1000 PID: 559 Comm: poc Not tainted 6.16.0-rc1+ #117 PREEMPT
Hardware name: QEMU Ubuntu 24.04 PC
RIP: 0010:tipc_udp_nl_dump_remoteip+0x4a4/0x8f0
the ub was in fact a struct dev.
when bid != 0 && skip_cnt != 0, bearer_list[bid] may be NULL or
other media when other thread changes it.
fix this by checking media_id.
📍 영향받는 시스템
Linux Kernel (TIPC 모듈 사용 시, 특히 6.16.0-rc1+ 이전 버전)
⚔️ 공격 벡터
로컬 사용자가 TUN 인터페이스를 생성하고 TIPC_NL_UDP_GET_REMOTEIP 요청을 보내는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 미디어 ID 검증 로직을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인합니다.