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: 470d, last: 23d
▶ ▼ Similar bugs (8)
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 493d 493d 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 146d 146d 0/3 auto-obsoleted due to no activity on 2026/10/08 01:20
linux-6.6 INFO: rcu detected stall in sys_recvmsg 1 2 452d 452d 0/2 auto-obsoleted due to no activity on 2025/12/05 18:53
linux-6.6 INFO: rcu detected stall in sys_recvmsg (2) 1 2 26d 50d 0/2 upstream: reported on 2026/10/04 09:06
android-5-15 BUG: soft lockup in sys_recvmsg 1 10 884d 971d 0/2 auto-obsoleted due to no activity on 2024/09/19 17:52
android-5-10 BUG: soft lockup in sys_recvmsg (3) 1 3 12d 44d 0/2 premoderation: reported on 2026/10/10 00:25
android-5-10 BUG: soft lockup in sys_recvmsg (2) 1 syz, C error 2 399d 579d 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 869d 947d 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-....: (1 GPs behind) idle=67b/1/0x4000000000000002 softirq=47450/47451 fqs=5125 
	(detected by 1, t=10502 jiffies, g=62605, q=1187)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 19038 Comm: syz.3.3477 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:214 [inline]
RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline]
RIP: 0010:hlock_class kernel/locking/lockdep.c:197 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4760 [inline]
RIP: 0010:__lock_acquire+0x705/0x7d40 kernel/locking/lockdep.c:5070
Code: 0f 85 e3 13 00 00 41 8b 07 89 c3 81 e3 ff 1f 00 00 c1 e8 03 25 f8 03 00 00 48 8d b8 c0 70 04 91 be 08 00 00 00 e8 fb 76 61 00 <48> 0f a3 1d 63 70 a7 0f 73 1a 48 69 c3 d0 00 00 00 48 8d 98 80 ef
RSP: 0018:ffffc90000006f80 EFLAGS: 00000056
RAX: 0000000000000001 RBX: 0000000000000015 RCX: ffffffff815d0055
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff910470c0
RBP: ffffc900000071c8 R08: ffffffff910470c7 R09: 1ffffffff2208e18
R10: dffffc0000000000 R11: fffffbfff2208e19 R12: ffff88802c6b4654
R13: ffff88802c6b3b80 R14: 0000000000000002 R15: ffff88802c6b4758
FS:  00007f4c8df886c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000098000 CR3: 000000004137a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000200000001440 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 lock_acquire+0x19f/0x400 kernel/locking/lockdep.c:5737
 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:313
 rcu_read_lock include/linux/rcupdate.h:740 [inline]
 __task_pid_nr_ns+0x21/0x420 kernel/pid.c:497
 perf_event_pid_type kernel/events/core.c:1446 [inline]
 perf_event_pid kernel/events/core.c:1455 [inline]
 __perf_event_header__init_id+0x13c/0x4f0 kernel/events/core.c:7117
 perf_prepare_sample+0x158/0x1cb0 kernel/events/core.c:7636
 __perf_event_output kernel/events/core.c:7814 [inline]
 perf_event_output_forward+0x185/0x2e0 kernel/events/core.c:7834
 __perf_event_overflow+0x35f/0x550 kernel/events/core.c:9527
 perf_tp_event+0x324/0xbe0 kernel/events/core.c:10059
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10033
 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 d2 f6 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: 2be150129abc1000 RBX: 1ffff92000000f64 RCX: 2be150129abc1000
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: ffffffff8a7a5100
RBP: ffffc90000007bd8 R08: ffffffff910470d7 R09: 1ffffffff2208e1a
R10: dffffc0000000000 R11: fffffbfff2208e1b R12: ffffffff8d123400
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:finish_lock_switch+0x12f/0x290 kernel/sched/core.c:4804
Code: 83 c7 18 be ff ff ff ff e8 9e 2b 75 08 85 c0 74 46 4d 85 ff 75 62 0f 1f 44 00 00 48 89 df e8 38 9f 7e 08 e8 33 f7 2a 00 fb 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 48 89 df e8 2f 0e fe ff 43 80 3c 2c
RSP: 0018:ffffc900031fed38 EFLAGS: 00000286
RAX: 2be150129abc1000 RBX: ffff88803fd03b80 RCX: 2be150129abc1000
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: ffffffff8a7a5100
RBP: 1ffff110171c7613 R08: ffffffff910470d7 R09: 1ffffffff2208e1a
R10: dffffc0000000000 R11: fffffbfff2208e1b R12: 1ffff110171c75c1
R13: dffffc0000000000 R14: ffff8880b8e3ae08 R15: 0000000000000000
 finish_task_switch+0x12f/0x650 kernel/sched/core.c:4921
 context_switch kernel/sched/core.c:5052 [inline]
 __schedule+0x11cb/0x4350 kernel/sched/core.c:6395
 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6799
 irqentry_exit+0x63/0x70 kernel/entry/common.c:435
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:lock_acquire+0x209/0x400 kernel/locking/lockdep.c:5741
Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3c 04 f8 0f 85 f0 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 43 c7 44 3c 08 00 00 00 00 65 48 8b 04 25
RSP: 0018:ffffc900031ff100 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 2be150129abc1000
RDX: 0000000000000000 RSI: ffffffff8a2b3e00 RDI: ffffffff8a7a5100
RBP: ffffc900031ff220 R08: dffffc0000000000 R09: 1ffffffff2208e1a
R10: dffffc0000000000 R11: fffffbfff2208e1b R12: 1ffff9200063fe2c
R13: ffffffff8d1ef3c0 R14: 0000000000000246 R15: dffffc0000000000
 mmu_notifier_invalidate_range_start+0x51/0xf0 include/linux/mmu_notifier.h:456
 wp_page_copy+0x6a2/0x2090 mm/memory.c:3087
 handle_pte_fault mm/memory.c:4668 [inline]
 __handle_mm_fault mm/memory.c:4785 [inline]
 handle_mm_fault+0x1fbd/0x4440 mm/memory.c:4883
 do_user_addr_fault+0x494/0xc90 arch/x86/mm/fault.c:1355
 handle_page_fault arch/x86/mm/fault.c:1443 [inline]
 exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1496
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0010:copy_user_enhanced_fast_string+0xe/0x40 arch/x86/lib/copy_user_64.S:206
Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 90 90 90 90 90 90 90 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 <f3> a4 31 c0 0f 01 ca c3 90 90 90 90 90 90 90 90 90 90 89 d1 83 f8
RSP: 0018:ffffc900031ff738 EFLAGS: 00050206
RAX: ffffffff83e74901 RBX: 00000000000101d0 RCX: 0000000000009aa0
RDX: 00000000000101d0 RSI: ffff88807d146818 RDI: 0000200000098000
RBP: ffffc900031ff890 R08: ffff88807d1502b7 R09: 1ffff1100fa2a056
R10: dffffc0000000000 R11: ffffed100fa2a057 R12: ffff88807d1400e8
R13: 00000000000101ff R14: 00002000000918d0 R15: 0000000000091050
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_to_user arch/x86/include/asm/uaccess_64.h:58 [inline]
 copyout lib/iov_iter.c:157 [inline]
 _copy_to_iter+0x322/0x1170 lib/iov_iter.c:670
 __skb_datagram_iter+0xde/0x740 net/core/datagram.c:425
 skb_copy_datagram_iter+0xad/0x1f0 net/core/datagram.c:541
 skb_copy_datagram_msg include/linux/skbuff.h:3781 [inline]
 tipc_recvstream+0x6f2/0xe60 net/tipc/socket.c:2075
 ____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:0x7f4c8fd31559
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:00007f4c8df88028 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007f4c8ffb7fa0 RCX: 00007f4c8fd31559
RDX: 0000000000001f00 RSI: 0000200000000100 RDI: 0000000000000006
RBP: 00007f4c8fdc8b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4c8ffb8038 R14: 00007f4c8ffb7fa0 R15: 00007ffc335fe6e8
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/31 05:48 linux-5.15.y 700e62ea909a 0ec395f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_recvmsg
2026/08/25 06:15 linux-5.15.y 945fa863f02c 614e416a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_recvmsg
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.