CVE-2025-71126 in Linux
要約
〜によって VulDB • 2026年05月28日
Linuxカーネルにおいて、以下の脆弱性が修正されました:
mptcp: 再注入時のフォールバックでデッドロックを回避
Jakub氏により、フォールバック時のMPTCPデッドロックが報告されました:
WARNING: possible recursive locking detected 6.18.0-rc7-virtme #1 Not tainted -------------------------------------------- mptcp_connect/20858 is trying to acquire lock: ff1100001da18b60 (&msk->fallback_lock){+.-.}-{3:3}, at: __mptcp_try_fallback+0xd8/0x280
but task is already holding lock: ff1100001da18b60 (&msk->fallback_lock){+.-.}-{3:3}, at: __mptcp_retrans+0x352/0xaa0
other info that might help us debug this: Possible unsafe locking scenario:
CPU0 ---- lock(&msk->fallback_lock); lock(&msk->fallback_lock);
*** DEADLOCK ***
May be due to missing lock nesting notation
3 locks held by mptcp_connect/20858: #0: ff1100001da18290 (sk_lock-AF_INET6){+.+.}-{0:0}, at: sock_lock+0x18/0x120
#1: ff1100001da18b60 (&msk->fallback_lock){+.-.}-{3:3}, at: __mptcp_retrans+0x352/0xaa0
#2: ff1100001da18b60 (&msk->fallback_lock){+.-.}-{3:3}, at: __mptcp_try_fallback+0xd8/0x280
stack backtrace: CPU: 0 UID: 0 PID: 20858 Comm: mptcp_connect Not tainted 6.18.0-rc7-virtme #1 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x59/0x80 __lock_acquire+0x1318/0x22f0 lock_acquire+0x119/0x3a0 _raw_spin_lock+0x33/0x130 __mptcp_try_fallback+0xd8/0x280 __mptcp_retrans+0x352/0xaa0 mptcp_retransmit_handler+0x10/0x20 tcp_retransmit_timer+0x100/0x1000 tcp_write_timer+0x100/0x100 __run_hrtimer+0x100/0x3a0 hrtimer_interrupt+0x100/0x280 __sysvec_apic_timer_interrupt+0x50/0x100 sysvec_apic_timer_interrupt+0x4a/0x90 </IRQ> asm_sysvec_apic_timer_interrupt+0x12/0x20 </TASK>
これは、MP_FAILを受信した後、無限マップが送信される前にパケットスケジューラが再注入を試み、フォールバックに対して原子性を持つ再注入を行う必要があるため、デッドロックを引き起こします。
この問題に対処するために、クリティカルなシナリオでの再注入を明示的に回避します。これは、パケットを送信して二重ロックに到達する可能性がある唯一のフォールバッククリティカルセクションです。
Cc: [email protected] Fixes: 29898598899f ("mptcp: add fallback support") Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Matthieu Baerts (p1) <[email protected]> Link: https://patch.msgid.link/20250313-net-mptcp-fallback-deadlock-fix-v1-1-899939993999@kernel.org Signed-off-by: Jakub Kicinski <[email protected]>
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.