syzbot
INFO: rcu detected stall in sys_recvmsg
Status:
upstream: reported on 2025/08/10 06:16
Reported-by: syzbot+624e0eff6200cf7fb62e@syzkaller.appspotmail.com
First crash: 477d, last: 2d16h
Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 0-....: (1 GPs behind) idle=705/1/0x4000000000000002 softirq=73288/73289 fqs=2099
(detected by 1, t=10504 jiffies, g=113309, q=1464)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 28923 Comm: syz.9.7536 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:36 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:lockdep_hardirqs_on_prepare+0xf1/0x7c0 kernel/locking/lockdep.c:4331
Code: 0f 85 57 05 00 00 83 3d 8c 8f b8 15 00 75 79 c6 44 13 04 00 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 f7 44 24 40 00 02 00 00 <c6> 44 13 04 f8 0f 85 c6 03 00 00 48 c7 c0 80 6f 15 97 48 c1 e8 03
RSP: 0018:ffffc90000007980 EFLAGS: 00000046
RAX: 0000000000000004 RBX: 1ffff92000000f34 RCX: ffffffff97156f03
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc90000007a38 R08: ffff8880b8e3b30b R09: 1ffff110171c7661
R10: dffffc0000000000 R11: ffffed10171c7662 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007faed08976c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c343329 CR3: 0000000068f53000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000200000000740 DR2: 0000200000000800
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<IRQ>
trace_hardirqs_on+0x67/0x80 kernel/trace/trace_preemptirq.c:49
asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713
RIP: 0010:rcu_read_unlock_special+0x7f/0x4a0 kernel/rcu/tree_plugin.h:674
Code: eb 03 48 b8 f1 f1 f1 f1 f8 f2 f2 f2 4a 89 04 2b 42 c7 44 2b 08 f8 f3 f3 f3 65 44 8b 35 82 d0 9c 7e 41 f7 c6 00 00 f0 00 74 40 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 2b 00 00 00 00 42 c7 44 2b 08
RSP: 0018:ffffc90000007b00 EFLAGS: 00000206
RAX: bf25353ca910b300 RBX: 1ffff92000000f64 RCX: bf25353ca910b300
RDX: dffffc0000000000 RSI: ffffffff8a2b3160 RDI: ffffffff8a7a6b80
RBP: ffffc90000007bd8 R08: ffff8880b8e3b30b R09: 1ffff110171c7661
R10: dffffc0000000000 R11: ffffed10171c7662 R12: ffffffff8d123700
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
__rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
rcu_read_unlock include/linux/rcupdate.h:772 [inline]
ieee80211_iterate_active_interfaces_atomic+0x132/0x140 net/mac80211/util.c:831
mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x4ea/0xb60 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
handle_softirqs+0x336/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:task_work_add+0x90/0x1d0 kernel/task_work.c:45
Code: 01 00 00 80 3c 2b 00 74 08 4c 89 ff e8 79 de 6e 00 4d 89 2f 4c 89 e7 be 08 00 00 00 e8 89 df 6e 00 4c 89 e8 f0 4d 0f b1 3c 24 <4c> 39 e8 74 0e e8 b6 78 29 00 41 80 3c 2e 00 75 af eb b5 44 8b 74
RSP: 0018:ffffc90002f3fd88 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff1100f2e65e0 RCX: ffffffff814fdea7
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8880553e62b8
RBP: dffffc0000000000 R08: ffff8880553e62bf R09: 1ffff1100aa7cc57
R10: dffffc0000000000 R11: ffffed100aa7cc58 R12: ffff8880553e62b8
R13: 0000000000000000 R14: 1ffff1100aa7cc57 R15: ffff888079732f00
fput_many+0xde/0x1a0 fs/file_table.c:367
fput_light include/linux/file.h:35 [inline]
__sys_recvmsg net/socket.c:2739 [inline]
__do_sys_recvmsg net/socket.c:2747 [inline]
__se_sys_recvmsg net/socket.c:2744 [inline]
__x64_sys_recvmsg+0x25b/0x2d0 net/socket.c:2744
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7faed264ab59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007faed0897028 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007faed28d6fa0 RCX: 00007faed264ab59
RDX: 0000000000000000 RSI: 0000200000000880 RDI: 000000000000000c
RBP: 00007faed26db18b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007faed28d7038 R14: 00007faed28d6fa0 R15: 00007ffc662977b8
</TASK>
* Struck through repros no longer work on HEAD.