🔍 CVE-2025-22062

7.8
CVSS Score
HIGH
2025-04-16
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SCTP 프로토콜 구현 중 proc_sctp_do_udp_port() 함수에서 상호 배제(Mutual Exclusion)가 누락되어 발생하는 취약점입니다. sctp_udp_sock_stop()과 sctp_udp_sock_start() 호출이 직렬화되지 않아 시스템 충돌(Crash) 및 Null Pointer Dereference가 발생할 수 있습니다.

💡 쉬운 설명

리눅스 운영체제의 네트워크 통신 기능 중 하나에서 여러 명령이 동시에 처리될 때 충돌이 발생하는 문제입니다. 이로 인해 컴퓨터 시스템이 갑자기 멈추거나 오류가 발생하며 재부팅될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: sctp: add mutual exclusion in proc_sctp_do_udp_port() We must serialize calls to sctp_udp_sock_stop() and sctp_udp_sock_start() or risk a crash as syzbot reported: Oops: general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] CPU: 1 UID: 0 PID: 6551 Comm: syz.1.44 Not tainted 6.14.0-syzkaller-g7f2ff7b62617 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:kernel_sock_shutdown+0x47/0x70 net/socket.c:3653 Call Trace: <TASK> udp_tunnel_sock_release+0x68/0x80 net/ipv4/udp_tunnel_core.c:181 sctp_udp_sock_stop+0x71/0x160 net/sctp/protocol.c:930 proc_sctp_do_udp_port+0x264/0x450 net/sctp/sysctl.c:553 proc_sys_call_handler+0x3d0/0x5b0 fs/proc/proc_sysctl.c:601 iter_file_splice_write+0x91c/0x1150 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x18f/0x6c0 fs/splice.c:1158 splice_direct_to_actor+0x342/0xa30 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x174/0x240 fs/splice.c:1227 do_sendfile+0xafd/0xe50 fs/read_write.c:1368 __do_sys_sendfile64 fs/read_write.c:1429 [inline] __se_sys_sendfile64 fs/read_write.c:1415 [inline] __x64_sys_sendfile64+0x1d8/0x220 fs/read_write.c:1415 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]

📍 영향받는 시스템

Linux kernel (SCTP 프로토콜을 사용하는 버전, syzbot 보고 기준 6.14.0-syzkaller 포함)

⚔️ 공격 벡터

로컬 사용자가 /proc/sys/net/sctp 관련 설정을 조작하여 race condition을 유도함으로써 시스템을 충돌시킴

🛡️ 대응 방법

SCTP 관련 상호 배제 로직이 포함된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel