syzbot


INFO: rcu detected stall in sys_recvmmsg (3)

Status: upstream: reported on 2024/11/26 05:10
Reported-by: syzbot+16cad3fa057678f2dcf6@syzkaller.appspotmail.com
First crash: 271d, last: 12d
Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_recvmmsg (3) net 1 176 6d05h 613d 0/29 upstream: reported on 2023/12/19 09:31
linux-4.19 INFO: rcu detected stall in sys_recvmmsg 1 C error 1 975d 975d 0/1 upstream: reported C repro on 2022/12/23 04:58
linux-5.15 INFO: rcu detected stall in sys_recvmmsg missing-backport origin:upstream 1 C done 52 2d12h 871d 0/3 upstream: reported C repro on 2023/04/06 01:32
linux-6.6 INFO: rcu detected stall in sys_recvmmsg 1 2 18d 36d 0/2 upstream: reported on 2025/07/18 08:32
linux-6.1 INFO: rcu detected stall in sys_recvmmsg (2) 1 5 374d 506d 0/3 auto-obsoleted due to no activity on 2024/11/22 11:58
upstream INFO: rcu detected stall in sys_recvmmsg mptcp 1 C done 52 1300d 1432d 20/29 fixed on 2022/03/08 16:11
linux-6.1 INFO: rcu detected stall in sys_recvmmsg 1 5 752d 883d 0/3 auto-obsoleted due to no activity on 2023/11/11 06:06
upstream INFO: rcu detected stall in sys_recvmmsg (2) net 1 4 1061d 1091d 0/29 auto-obsoleted due to no activity on 2023/01/03 09:53
android-5-15 BUG: soft lockup in sys_recvmmsg 1 5 394d 487d 0/2 auto-obsoleted due to no activity on 2024/10/23 09:30

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (1 GPs behind) idle=d44c/1/0x4000000000000000 softirq=34063/34072 fqs=2
	(detected by 1, t=10504 jiffies, g=43153, q=252 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8890 Comm: syz.3.1207 Not tainted 6.1.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:87 [inline]
RIP: 0010:do_raw_spin_lock+0xcf/0x280 kernel/locking/spinlock_debug.c:114
Code: e8 06 b6 6c 00 49 8b 04 24 65 48 8b 0d da 41 9e 7e 48 89 4c 24 10 48 39 c8 0f 84 03 01 00 00 4c 8d 6b 08 4d 89 ef 49 c1 ef 03 <48> b8 00 00 00 00 00 fc ff df 41 0f b6 04 07 84 c0 0f 85 54 01 00
RSP: 0018:ffffc90000007bc0 EFLAGS: 00000806
RAX: ffffffffffffffff RBX: ffff8880b8e2a580 RCX: ffff88802734bb80
RDX: 0000000000000000 RSI: ffffffff8a8c15e0 RDI: ffff8880b8e2a580
RBP: ffffc90000007c70 R08: dffffc0000000000 R09: fffffbfff215ba4a
R10: fffffbfff215ba4a R11: 1ffffffff215ba49 R12: ffff8880b8e2a590
R13: ffff8880b8e2a588 R14: 1ffff110171c54b2 R15: 1ffff110171c54b1
FS:  00007f597339d6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c32ac2e CR3: 00000000653c1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:120 [inline]
 _raw_spin_lock_irq+0xab/0xe0 kernel/locking/spinlock.c:170
 __run_hrtimer kernel/time/hrtimer.c:1756 [inline]
 __hrtimer_run_queues+0x63a/0xd60 kernel/time/hrtimer.c:1816
 hrtimer_interrupt+0x3c5/0x9c0 kernel/time/hrtimer.c:1878
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x153/0x5a0 arch/x86/kernel/apic/apic.c:1124
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:debug_lockdep_rcu_enabled+0x14/0x30 kernel/rcu/update.c:281
Code: e8 51 c1 36 f7 0f 0b eb d1 00 00 cc cc 00 00 cc cc 00 00 cc cc 00 31 c0 83 3d e7 24 09 04 00 74 1d 83 3d 72 58 09 04 00 74 14 <65> 48 8b 0d 44 47 ec 75 31 c0 83 b9 dc 0a 00 00 00 0f 94 c0 c3 00
RSP: 0018:ffffc9000c55f4b8 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 1ffff920018abea0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000244 RDI: ffffffff8a8bef60
RBP: ffffc9000c55f5d0 R08: ffffffff88d674af R09: ffffc9000c55f7e0
R10: fffff520018abf00 R11: 1ffff920018abefc R12: 0000000000000000
R13: dffffc0000000000 R14: ffffc9000c55f820 R15: 0000000000000000
 __might_resched+0x8e/0x610 kernel/sched/core.c:9928
 __mutex_lock_common kernel/locking/mutex.c:580 [inline]
 __mutex_lock+0xaa/0xaf0 kernel/locking/mutex.c:747
 __unix_dgram_recvmsg+0x1df/0xd70 net/unix/af_unix.c:2448
 ____sys_recvmsg+0x292/0x580 net/socket.c:-1
 ___sys_recvmsg+0x1b2/0x510 net/socket.c:2780
 do_recvmmsg+0x359/0x7d0 net/socket.c:2874
 __sys_recvmmsg net/socket.c:2953 [inline]
 __do_sys_recvmmsg net/socket.c:2976 [inline]
 __se_sys_recvmmsg net/socket.c:2969 [inline]
 __x64_sys_recvmmsg+0x18d/0x240 net/socket.c:2969
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f597258ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f597339d038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f59727b6090 RCX: 00007f597258ebe9
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007f5972611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f59727b6128 R14: 00007f59727b6090 R15: 00007ffe0e01fb38
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 9599 jiffies! g43153 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=27026
rcu: rcu_preempt kthread starved for 9600 jiffies! g43153 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:I stack:27840 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561
 schedule+0xb9/0x180 kernel/sched/core.c:6637
 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1965
 rcu_gp_fqs_loop+0x2f2/0x1310 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0x95/0x380 kernel/rcu/tree.c:1905
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 PID: 8879 Comm: syz.0.1204 Not tainted 6.1.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline]
RIP: 0010:smp_call_function_many_cond+0xe8d/0x1270 kernel/smp.c:998
Code: 83 e3 01 48 bb 00 00 00 00 00 fc ff df 75 07 e8 e9 d5 0a 00 eb 37 f3 90 41 0f b6 04 1c 84 c0 75 10 41 f7 07 01 00 00 00 74 1e <e8> ce d5 0a 00 eb e5 44 89 f9 80 e1 07 80 c1 03 38 c1 7c e3 4c 89
RSP: 0018:ffffc900059af560 EFLAGS: 00000202
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc9000ed72000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc900059af6c0 R08: dffffc0000000000 R09: fffffbfff215ba49
R10: fffffbfff215ba49 R11: 1ffffffff215ba48 R12: 1ffff110171c85ad
R13: ffff8880b8f3bb40 R14: 0000000000000000 R15: ffff8880b8e42d68
FS:  00007f2a65bd56c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5c38e64a9e CR3: 0000000060bd3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1574 [inline]
 text_poke_bp_batch+0x541/0x7d0 arch/x86/kernel/alternative.c:1836
 text_poke_bp+0xd2/0x150 arch/x86/kernel/alternative.c:2011
 __static_call_transform+0x318/0x500 arch/x86/kernel/static_call.c:109
 arch_static_call_transform+0xca/0x270 arch/x86/kernel/static_call.c:161
 __static_call_update+0xdd/0x5b0 kernel/static_call_inline.c:136
 tracepoint_update_call kernel/tracepoint.c:317 [inline]
 tracepoint_add_func+0x6bf/0x9a0 kernel/tracepoint.c:365
 tracepoint_probe_register_prio_may_exist+0x5c/0x90 kernel/tracepoint.c:482
 bpf_raw_tp_link_attach+0x3d1/0x550 kernel/bpf/syscall.c:3387
 bpf_raw_tracepoint_open+0x194/0x200 kernel/bpf/syscall.c:3414
 __sys_bpf+0x4e9/0x6d0 kernel/bpf/syscall.c:5062
 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5122 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f2a6798ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2a65bd5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f2a67bb6090 RCX: 00007f2a6798ebe9
RDX: 0000000000000010 RSI: 0000200000000540 RDI: 0000000000000011
RBP: 00007f2a67a11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2a67bb6128 R14: 00007f2a67bb6090 R15: 00007fffd8599a08
 </TASK>

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/12 02:54 linux-6.1.y 3594f306da12 c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2025/08/02 04:04 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2025/05/11 07:47 linux-6.1.y 02b72ccb5f9d 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2025/04/26 08:20 linux-6.1.y 535ec20c5027 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2025/04/25 14:35 linux-6.1.y 535ec20c5027 e3715315 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2025/04/25 09:17 linux-6.1.y 420102835862 e3715315 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2025/04/17 14:44 linux-6.1.y 420102835862 229db4cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2025/03/06 05:35 linux-6.1.y 3a8358583626 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2025/03/06 05:33 linux-6.1.y 3a8358583626 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2025/03/02 22:30 linux-6.1.y 3a8358583626 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2025/02/28 19:59 linux-6.1.y 3a8358583626 67cf5345 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
2024/11/26 05:09 linux-6.1.y e4d90d63d385 11dbc254 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_recvmmsg
* Struck through repros no longer work on HEAD.