CVE-2025-38727
- 공개
- 2025년 9월 5일
- 수정
- 2026년 11월 10일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
netlink: avoid infinite retry looping in netlink_unicast()
netlink_attachskb() checks for the socket's read memory allocation constraints. Firstly, it has:
rmem < READ_ONCE(sk->sk_rcvbuf)
to check if the just increased rmem value fits into the socket's receive buffer. If not, it proceeds and tries to wait for the memory under:
rmem + skb->truesize > READ_ONCE(sk->sk_rcvbuf)
The checks don't cover the case when skb->truesize + sk->sk_rmem_alloc is equal to sk->sk_rcvbuf. Thus the function neither successfully accepts these conditions, nor manages to reschedule the task - and is called in retry loop for indefinite time which is caught as:
rcu: INFO: rcu_sched self-detected stall on CPU rcu: 0-....: (25999 ticks this GP) idle=ef2/1/0x4000000000000000 softirq=262269/262269 fqs=6212 (t=26000 jiffies g=230833 q=259957) NMI backtrace for cpu 0 CPU: 0 PID: 22 Comm: kauditd Not tainted 5.10.240 #68 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-4.fc42 04/01/2014 Call Trace: <IRQ> dump_stack lib/dump_stack.c:120 nmi_cpu_backtrace.cold lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace lib/nmi_backtrace.c:62 rcu_dump_cpu_stacks kernel/rcu/tree_stall.h:335 rcu_sched_clock_irq.cold kernel/rcu/tree.c:2590 update_process_times kernel/time/timer.c:1953 tick_sched_handle kernel/time/tick-sched.c:227 tick_sched_timer kernel/time/tick-sched.c:1399 __hrtimer_run_queues kernel/time/hrtimer.c:1652 hrtimer_interrupt kernel/time/hrtimer.c:1717 __sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1113 asm_call_irq_on_stack arch/x86/entry/entry_64.S:808 </IRQ>
netlink_attachskb net/netlink/af_netlink.c:1234 netlink_unicast net/netlink/af_netlink.c:1349 kauditd_send_queue kernel/audit.c:776 kauditd_thread kernel/audit.c:897 kthread kernel/kthread.c:328 ret_from_fork arch/x86/entry/entry_64.S:304
Restore the original behavior of the check which commit in Fixes accidentally missed when restructuring the code.
Found by Linux Verification Center (linuxtesting.org).
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 18줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 5.4.296 | ≤ | 취약 | < | 5.4.297 | 5.4.297이상 |
| 5.10.240 | ≤ | 취약 | < | 5.10.241 | 5.10.241이상 | |
| 5.15.189 | ≤ | 취약 | < | 5.15.190 | 5.15.190이상 | |
| 6.1.146 | ≤ | 취약 | < | 6.1.149 | 6.1.149이상 | |
| 6.6.99 | ≤ | 취약 | < | 6.6.103 | 6.6.103이상 | |
| 6.12.39 | ≤ | 취약 | < | 6.12.43 | 6.12.43이상 | |
| 6.15.7 | ≤ | 취약 | < | 6.15.11 | 6.15.11이상 | |
| 이 버전만 | 취약 | = | 6.16 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.16 | — | |
| 5.4.297 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.241 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.190 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.149 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.103 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.43 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.15.11 | ≤ | 영향 없음 | ≤ | 6.15.* | — | |
| 6.16.2 | ≤ | 영향 없음 | ≤ | 6.16.* | — | |
| 6.17 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치9
- git.kernel.org/stable/c/346c820ef5135cf062fa3473da955ef8c5fb6929
- git.kernel.org/stable/c/44ddd7b1ae0b7edb2c832eb16798c827a05e58f0
- git.kernel.org/stable/c/47d49fd07f86d1f55ea1083287303d237e9e0922
- git.kernel.org/stable/c/6bee383ff83352a693d03efdf27cdd80742f71b2
- git.kernel.org/stable/c/759dfc7d04bab1b0b86113f1164dc1fec192b859