INFO: rcu detected stall in sendmsg

Status: upstream: reported on 2025/07/31 17:16
Reported-by: syzbot+e8d3f56cde2a4d5e38ae@syzkaller.appspotmail.com
First crash: 396d, last: 1d16h
Similar bugs (21)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in sendmsg (5) 1 syz, C 58 3d08h 435d 0/3 upstream: reported C repro on 2025/06/23 07:43
linux-6.1 INFO: rcu detected stall in sendmsg (3) 1 4 699d 766d 0/3 auto-obsoleted due to no activity on 2025/01/09 18:13
upstream INFO: rcu detected stall in sendmsg net 1 1 1791d 1791d 0/29 auto-closed as invalid on 2022/01/03 17:11
linux-6.1 INFO: rcu detected stall in sendmsg (4) 1 2 539d 550d 0/3 auto-obsoleted due to no activity on 2025/06/19 03:57
linux-6.1 INFO: rcu detected stall in sendmsg (2) 1 1 889d 889d 0/3 auto-obsoleted due to no activity on 2024/07/04 03:49
upstream INFO: rcu detected stall in sendmsg (2) batman 1 1 1661d 1661d 0/29 auto-closed as invalid on 2022/05/13 12:25
upstream INFO: rcu detected stall in sendmsg (4) prio:high mm 1 syz, C error error 66 14d 830d 0/29 upstream: reported C repro on 2024/05/24 06:18
upstream INFO: rcu detected stall in sendmsg (3) net 1 4 938d 1022d 0/29 auto-obsoleted due to no activity on 2024/05/05 18:15
linux-5.15 INFO: rcu detected stall in sys_sendmsg origin:upstream 1 syz, C error 77 4h05m 895d 0/3 upstream: reported C repro on 2024/03/19 21:37
linux-6.1 INFO: rcu detected stall in sendmsg 1 1 1123d 1123d 0/3 auto-obsoleted due to no activity on 2023/11/12 19:28
upstream BUG: soft lockup in sys_sendmsg (2) prio:high tipc 1 syz, C error error 60 14h57m 453d 0/29 upstream: reported C repro on 2025/06/05 02:15
upstream INFO: rcu detected stall in sys_sendmsg (2) cgroups mm 1 5 2462d 2464d 0/29 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_sendmsg (3) kernel 1 1 2428d 2428d 0/29 closed as invalid on 2020/01/08 05:33
linux-6.1 INFO: rcu detected stall in sys_sendmsg 1 6 702d 789d 0/3 auto-obsoleted due to no activity on 2025/01/06 11:24
upstream INFO: rcu detected stall in sys_sendmsg net 1 syz, C done 2 2544d 2544d 13/29 fixed on 2019/10/09 10:54
android-6-1 BUG: soft lockup in sys_sendmsg origin:upstream 1 syz, C 3 847d 875d 0/2 upstream: reported C repro on 2024/04/09 06:46
linux-6.1 BUG: soft lockup in sys_sendmsg 1 2 1176d 1182d 0/3 auto-obsoleted due to no activity on 2023/09/20 17:26
android-5-10 BUG: soft lockup in sys_sendmsg 1 syz, C error 67 1d12h 892d 0/2 upstream: reported C repro on 2024/03/22 10:41
upstream BUG: soft lockup in sys_sendmsg tipc batman 1 syz, C 3 890d 931d 25/29 fixed on 2024/05/22 23:36
android-5-15 BUG: soft lockup in sys_sendmsg origin:upstream 1 syz, C error 13 719d 892d 0/2 upstream: reported C repro on 2024/03/22 10:44
linux-6.1 BUG: soft lockup in sys_sendmsg (2) origin:upstream 1 syz, C done 1 877d 877d 3/3 fixed on 2024/05/15 09:17

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (799 ticks this GP) idle=094c/1/0x4000000000000000 softirq=10444/10445 fqs=17
rcu: 	(t=10500 jiffies g=8901 q=676 ncpus=2)
rcu: rcu_preempt kthread starved for 2244 jiffies! g8901 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R  running task     stack:27848 pid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x15ae/0x4660 kernel/sched/core.c:6701
 schedule+0xbd/0x170 kernel/sched/core.c:6775
 schedule_timeout+0x188/0x2d0 kernel/time/timer.c:2168
 rcu_gp_fqs_loop+0x30d/0x1590 kernel/rcu/tree.c:1667
 rcu_gp_kthread+0x9d/0x3b0 kernel/rcu/tree.c:1866
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 79 Comm: kworker/u4:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline]
RIP: 0010:smp_call_function_many_cond+0xd8a/0x1190 kernel/smp.c:855
Code: 89 f6 83 e6 01 31 ff e8 14 01 0b 00 41 83 e6 01 49 be 00 00 00 00 00 fc ff df 75 07 e8 4f fd 0a 00 eb 38 f3 90 42 0f b6 04 33 <84> c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 33 fd 0a 00 eb e4 44
RSP: 0018:ffffc900020df780 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 1ffff110171c87a5 RCX: ffff888018308000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900020df900 R08: ffffffff911ef507 R09: 1ffffffff223dea0
R10: dffffc0000000000 R11: fffffbfff223dea1 R12: ffff8880b8e43d28
R13: ffff8880b8f3d380 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7fc7a7b492 CR3: 000000000cf32000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1022
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:2222 [inline]
 text_poke_bp_batch+0x31e/0x980 arch/x86/kernel/alternative.c:2432
 text_poke_flush arch/x86/kernel/alternative.c:2623 [inline]
 text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2630
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x123/0x240 kernel/jump_label.c:207
 static_key_enable+0x1a/0x20 kernel/jump_label.c:220
 toggle_allocation_gate+0xa8/0x260 mm/kfence/core.c:847
 process_one_work kernel/workqueue.c:2657 [inline]
 process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
CPU: 0 PID: 5888 Comm: syz.1.19 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:80 [inline]
RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:102 [inline]
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:227 [inline]
RIP: 0010:unwind_next_frame+0x4ac/0x2990 arch/x86/kernel/unwind_orc.c:494
Code: c1 48 c1 f9 02 48 c1 e8 3f 48 01 c8 48 83 e0 fe 4d 8d 7c 45 00 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 75 34 4d 63 27 4d 01 fc 4c 89 e7 4c 89 f6 e8 ef cb 4b 00 49
RSP: 0018:ffffc90000007218 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffffffff8ea4c6f8 RCX: dffffc0000000000
RDX: ffff888023ad0000 RSI: 000000000002ed68 RDI: 000000000002ed74
RBP: ffffffff8ea4c6cc R08: ffffc900000073b0 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000100 R12: 000000000002ed68
R13: ffffffff8ea4c6cc R14: ffffffff81e72384 R15: ffffffff8ea4c6e0
FS:  00007f03e48b36c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5898502ff8 CR3: 0000000024905000 CR4: 00000000003506f0
Call Trace:
 <IRQ>
 arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:46 [inline]
 kasan_set_track+0x4e/0x70 mm/kasan/common.c:53
 ____kasan_kmalloc mm/kasan/common.c:375 [inline]
 __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:384
 kasan_kmalloc include/linux/kasan.h:198 [inline]
 __do_kmalloc_node mm/slab_common.c:1007 [inline]
 __kmalloc_node+0xb6/0x240 mm/slab_common.c:1014
 kmalloc_array_node include/linux/slab.h:698 [inline]
 kcalloc_node include/linux/slab.h:703 [inline]
 memcg_alloc_slab_cgroups+0x85/0x120 mm/memcontrol.c:2928
 account_slab mm/slab.h:641 [inline]
 allocate_slab mm/slub.c:2046 [inline]
 new_slab+0xc3/0x2d0 mm/slub.c:2081
 ___slab_alloc+0xc5c/0x12f0 mm/slub.c:3253
 __slab_alloc mm/slub.c:3339 [inline]
 __slab_alloc_node mm/slub.c:3392 [inline]
 slab_alloc_node mm/slub.c:3485 [inline]
 slab_alloc mm/slub.c:3503 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3510 [inline]
 kmem_cache_alloc+0x109/0x2c0 mm/slub.c:3519
 dst_alloc+0x105/0x170 net/core/dst.c:90
 ip6_dst_alloc net/ipv6/route.c:344 [inline]
 icmp6_dst_alloc+0x7c/0x400 net/ipv6/route.c:3320
 ndisc_send_skb+0x422/0x1480 net/ipv6/ndisc.c:493
 addrconf_rs_timer+0x36b/0x640 net/ipv6/addrconf.c:4036
 call_timer_fn+0x189/0x540 kernel/time/timer.c:1701
 expire_timers kernel/time/timer.c:1752 [inline]
 __run_timers+0x570/0x810 kernel/time/timer.c:2023
 run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2036
 handle_softirqs+0x27d/0x820 kernel/softirq.c:578
 __do_softirq kernel/softirq.c:612 [inline]
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:__bpf_prog_run include/linux/filter.h:617 [inline]
RIP: 0010:bpf_prog_run include/linux/filter.h:624 [inline]
RIP: 0010:bpf_prog_run_array include/linux/bpf.h:1994 [inline]
RIP: 0010:trace_call_bpf+0x319/0x6c0 kernel/trace/bpf_trace.c:143
Code: be 58 02 00 00 e8 e7 52 cd ff 66 90 e8 b0 14 f6 ff 4c 8d 63 30 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 08 4c 89 e7 e8 5d 92 4e 00 48 83 c3 48 48 8b 7c 24 20 48 89 de
RSP: 0018:ffffc9000489e4e0 EFLAGS: 00000246
RAX: 1ffff920006e5a06 RBX: ffffc9000372d000 RCX: dffffc0000000000
RDX: ffffc9000d3eb000 RSI: 00000000000673d3 RDI: 00000000000673d4
RBP: ffffc9000489e5d8 R08: ffffc9000489e56f R09: 0000000000000000
R10: ffffc9000489e560 R11: fffff52000913cae R12: ffffc9000372d030
R13: ffff888077c2f398 R14: ffff888077c2f3a8 R15: 0000000000000001
 perf_trace_run_bpf_submit+0x7a/0x1c0 kernel/events/core.c:10295
 perf_trace_lock_acquire+0x342/0x400 include/trace/events/lock.h:24
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x3ef/0x420 kernel/locking/lockdep.c:5725
 fs_reclaim_acquire+0x98/0x100 mm/page_alloc.c:3617
 might_alloc include/linux/sched/mm.h:303 [inline]
 slab_pre_alloc_hook+0x2a/0x300 mm/slab.h:714
 slab_alloc_node mm/slub.c:3477 [inline]
 slab_alloc mm/slub.c:3503 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3510 [inline]
 kmem_cache_alloc+0x5a/0x2c0 mm/slub.c:3519
 kmem_cache_zalloc include/linux/slab.h:711 [inline]
 __kernfs_new_node+0xe5/0x7f0 fs/kernfs/dir.c:624
 kernfs_new_node+0x14c/0x260 fs/kernfs/dir.c:700
 kernfs_create_dir_ns+0x44/0x120 fs/kernfs/dir.c:1061
 internal_create_group+0x21d/0xd10 fs/sysfs/group.c:138
 dpm_sysfs_add+0x6a/0x270 drivers/base/power/sysfs.c:702
 device_add+0x55c/0xc40 drivers/base/core.c:3645
 rfkill_register+0x170/0x9b0 net/rfkill/core.c:1102
 wiphy_register+0x2354/0x2ac0 net/wireless/core.c:1031
 ieee80211_register_hw+0x2dd8/0x3b30 net/mac80211/main.c:1426
 mac80211_hwsim_new_radio+0x2a75/0x4d70 drivers/net/wireless/virtual/mac80211_hwsim.c:5306
 hwsim_new_radio_nl+0xdad/0x1a70 drivers/net/wireless/virtual/mac80211_hwsim.c:5987
 genl_family_rcv_msg_doit+0x21a/0x310 net/netlink/genetlink.c:971
 genl_family_rcv_msg net/netlink/genetlink.c:1051 [inline]
 genl_rcv_msg+0x611/0x7a0 net/netlink/genetlink.c:1066
 netlink_rcv_skb+0x235/0x4c0 net/netlink/af_netlink.c:2550
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1075
 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
 netlink_unicast+0x7b1/0x930 net/netlink/af_netlink.c:1346
 netlink_sendmsg+0x8d0/0xbf0 net/netlink/af_netlink.c:1899
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg net/socket.c:745 [inline]
 ____sys_sendmsg+0x61b/0x980 net/socket.c:2595
 ___sys_sendmsg+0x2a6/0x360 net/socket.c:2649
 __sys_sendmsg net/socket.c:2678 [inline]
 __do_sys_sendmsg net/socket.c:2687 [inline]
 __se_sys_sendmsg+0x1d0/0x2c0 net/socket.c:2685
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f03e399e159
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:00007f03e48b3028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f03e3c25fa0 RCX: 00007f03e399e159
RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000009
RBP: 00007f03e3a35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f03e3c26038 R14: 00007f03e3c25fa0 R15: 00007ffd274ef7b8
 </TASK>

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/30 15:52 linux-6.6.y a4a971135a2f 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2026/07/01 08:38 linux-6.6.y d1cfde2d5d15 00a5cf1c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2026/06/26 19:38 linux-6.6.y d1cfde2d5d15 fb92f11c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sendmsg
2026/05/09 03:51 linux-6.6.y 3b9f64db0496 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2026/04/22 01:01 linux-6.6.y 9760bf04666d 0b6ab7ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2026/04/19 08:30 linux-6.6.y 9760bf04666d 303e2802 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2026/04/06 18:30 linux-6.6.y 80de0a958133 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2026/03/22 20:57 linux-6.6.y 4fc00fe35d46 5b92003d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2026/03/04 08:13 linux-6.6.y 7a137e9bfa0e 4180d919 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2026/02/03 20:45 linux-6.6.y 2cf6f68313dc 6df4c87a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2025/12/14 05:51 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2025/11/19 17:46 linux-6.6.y 0a805b6ea8cd 26ee5237 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2025/08/22 19:57 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
2025/07/31 17:15 linux-6.6.y dbcb8d8e4163 0c075d67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sendmsg
* Struck through repros no longer work on HEAD.