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: 360d, last: 3d16h
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in sys_recvmsg 1 1 383d 383d 0/3 auto-obsoleted due to no activity on 2025/10/25 13:40
linux-6.1 INFO: rcu detected stall in sys_recvmsg (2) 1 1 36d 36d 0/3 upstream: reported on 2026/06/30 01:20
linux-6.6 INFO: rcu detected stall in sys_recvmsg 1 2 342d 342d 0/2 auto-obsoleted due to no activity on 2025/12/05 18:53
android-5-15 BUG: soft lockup in sys_recvmsg 1 10 774d 861d 0/2 auto-obsoleted due to no activity on 2024/09/19 17:52
android-5-10 BUG: soft lockup in sys_recvmsg (2) 1 syz, C error 2 289d 469d 0/2 auto-obsoleted due to no activity on 2026/01/28 03:20
android-5-10 BUG: soft lockup in sys_recvmsg 1 4 758d 837d 0/2 auto-obsoleted due to no activity on 2024/10/05 13:04

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (3 ticks this GP) idle=847/1/0x4000000000000002 softirq=60233/60233 fqs=5246 
	(detected by 1, t=10502 jiffies, g=85389, q=1686)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 19905 Comm: syz.5.3397 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:preempt_count_sub+0x48/0x160 kernel/sched/core.c:-1
Code: 85 bd 00 00 00 83 3d 06 07 dd 14 00 75 25 65 8b 05 45 27 b0 7e 89 c1 81 e1 ff ff ff 7f 39 cf 7f 25 81 ff ff 00 00 00 0f 93 c1 <84> c0 0f 95 c0 08 c8 74 53 65 8b 05 20 27 b0 7e f7 df 65 01 3d 17
RSP: 0018:ffffc900000072f0 EFLAGS: 00000093
RAX: 0000000000000102 RBX: dffffc0000000000 RCX: 0000000000000100
RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 0000000000000001
RBP: 0000000000000000 R08: ffff8880b9033d77 R09: 1ffff110172067ae
R10: dffffc0000000000 R11: ffffed10172067af R12: 0000000000000000
R13: dffffc0000000001 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f47478fc6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000000 CR3: 00000000623f9000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000200000000300 DR2: 0000200000000300
DR3: 0000200000000300 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 irq_work_queue_on+0x161/0x220 kernel/irq_work.c:111
 rcu_read_unlock_special+0x377/0x4a0 kernel/rcu/tree_plugin.h:667
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:772 [inline]
 __perf_event_output kernel/events/core.c:7813 [inline]
 perf_event_output_forward+0x255/0x2e0 kernel/events/core.c:7822
 __perf_event_overflow+0x35f/0x550 kernel/events/core.c:9515
 perf_swevent_overflow kernel/events/core.c:9591 [inline]
 perf_swevent_event+0x4b8/0x540 kernel/events/core.c:9629
 perf_tp_event+0x324/0xbe0 kernel/events/core.c:10047
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10021
 perf_trace_preemptirq_template+0x2aa/0x360 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0x108/0x180 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44
 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 02 20 9d 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: 403bece114b4ba00 RBX: 1ffff92000000f64 RCX: 403bece114b4ba00
RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a4200
RBP: ffffc90000007bd8 R08: ffff8880b903b30b R09: 1ffff11017207661
R10: dffffc0000000000 R11: ffffed1017207662 R12: ffffffff8c323400
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:kasan_quarantine_put+0x84/0x210 mm/kasan/quarantine.c:234
Code: e8 d1 fb c0 ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 0f 85 83 00 00 00 41 f7 c7 00 02 00 00 74 01 fb 31 c0 <48> 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f c3 48 8d 80 40 62 03 00 45
RSP: 0018:ffffc90002dff708 EFLAGS: 00000206
RAX: 403bece114b4ba01 RBX: ffff888056048000 RCX: 403bece114b4ba00
RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a4200
RBP: ffffc90002dff798 R08: ffff8880b903b30b R09: 1ffff11017207661
R10: dffffc0000000000 R11: ffffed1017207662 R12: ffff888016c42140
R13: ffff888056048000 R14: 000000000009b200 R15: 0000000000000286
 kasan_slab_free include/linux/kasan.h:230 [inline]
 slab_free_hook mm/slub.c:1710 [inline]
 slab_free_freelist_hook+0xec/0x170 mm/slub.c:1736
 slab_free mm/slub.c:3504 [inline]
 kfree+0xef/0x2a0 mm/slub.c:4564
 skb_free_head net/core/skbuff.c:655 [inline]
 skb_release_data+0x667/0x830 net/core/skbuff.c:677
 skb_release_all net/core/skbuff.c:742 [inline]
 __kfree_skb net/core/skbuff.c:756 [inline]
 consume_skb+0xa2/0x100 net/core/skbuff.c:914
 skb_free_datagram+0x25/0xe0 net/core/datagram.c:325
 netlink_recvmsg+0x5dd/0xe50 net/netlink/af_netlink.c:1998
 ____sys_recvmsg+0x2ca/0x5b0 net/socket.c:-1
 ___sys_recvmsg+0x213/0x5c0 net/socket.c:2707
 __sys_recvmsg net/socket.c:2737 [inline]
 __do_sys_recvmsg net/socket.c:2747 [inline]
 __se_sys_recvmsg net/socket.c:2744 [inline]
 __x64_sys_recvmsg+0x201/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:0x7f47496c5019
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:00007f47478fc028 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007f474994d090 RCX: 00007f47496c5019
RDX: 0000000040000000 RSI: 00002000000046c0 RDI: 000000000000000a
RBP: 00007f474975c00c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f474994d128 R14: 00007f474994d090 R15: 00007ffd4bd74ce8
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/01 18:03 linux-5.15.y 6e2fd6534337 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_recvmsg
2026/05/03 05:26 linux-5.15.y ef251c45f1cd a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_recvmsg
2026/01/29 18:47 linux-5.15.y 9eec9a14ee10 aeb6fdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_recvmsg
2025/12/17 16:28 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_recvmsg
2025/09/18 07:13 linux-5.15.y 43bb85222e53 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_recvmsg
2025/08/10 06:15 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_recvmsg
* Struck through repros no longer work on HEAD.