syzbot


INFO: rcu detected stall in compat_sys_socketcall

Status: auto-obsoleted due to no activity on 2024/06/04 10:46
Subsystems: netfilter
[Documentation on labels]
First crash: 545d, last: 541d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in compat_sys_socketcall (2) mm 1 7 226d 381d 0/29 auto-obsoleted due to no activity on 2025/04/15 11:01
upstream INFO: rcu detected stall in compat_sys_socketcall (3) mm 1 2 117d 121d 0/29 auto-obsoleted due to no activity on 2025/08/03 00:04

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (10501 ticks this GP) idle=5f6c/1/0x4000000000000000 softirq=312690/312690 fqs=0
rcu: 	(t=10502 jiffies g=559681 q=113 ncpus=2)
rcu: rcu_preempt kthread timer wakeup didn't happen for 10502 jiffies! g559681 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=236002
rcu: rcu_preempt kthread starved for 10505 jiffies! g559681 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
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:24176 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5400 [inline]
 __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727
 __schedule_loop kernel/sched/core.c:6802 [inline]
 schedule+0x149/0x260 kernel/sched/core.c:6817
 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2183
 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:1663
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862
 kthread+0x2ef/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243
 </TASK>
CPU: 0 PID: 5113 Comm: syz-executor.0 Not tainted 6.8.0-rc7-syzkaller-00017-g29cd507cbec2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:get_current arch/x86/include/asm/current.h:42 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:206
Code: 8b 3d 94 c3 1a 0c 48 89 de 5b e9 63 ca 56 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0d a0 50 70 7e 65 8b 15 a1 50 70 7e f7 c2 00 01 ff 00 74
RSP: 0018:ffffc90000007698 EFLAGS: 00000246
RAX: ffffffff863f1ec7 RBX: 0000000000000000 RCX: ffff88802a6ed940
RDX: 0000000000000302 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff863f1e8c R09: 1ffffffff2591a91
R10: dffffc0000000000 R11: ffffffff863f1df0 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9400000(0063) knlGS:0000000058426400
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f748a170 CR3: 000000007ceae000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 bond_select_queue+0xd7/0x140 drivers/net/bonding/bond_main.c:5277
 netdev_core_pick_tx+0x116/0x320 net/core/dev.c:4227
 __dev_queue_xmit+0x8c3/0x3b10 net/core/dev.c:4311
 dev_queue_xmit include/linux/netdevice.h:3171 [inline]
 tipc_l2_send_msg+0x302/0x3c0 net/tipc/bearer.c:512
 tipc_bearer_xmit_skb+0x2f5/0x460 net/tipc/bearer.c:571
 tipc_disc_timeout+0x5ee/0x760 net/tipc/discover.c:338
 call_timer_fn+0x17e/0x600 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x621/0x830 kernel/time/timer.c:2038
 run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2051
 __do_softirq+0x2bb/0x942 kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu+0xf1/0x1c0 kernel/softirq.c:632
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x97/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__sanitizer_cov_trace_cmp8+0x0/0x90 kernel/kcov.c:283
Code: 48 89 74 0a 18 4c 89 44 0a 20 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 4c 8b 04 24 65 48 8b 0d 40 4e 70 7e 65 8b 05 41 4e 70
RSP: 0018:ffffc90003c7efe0 EFLAGS: 00000283
RAX: 0000000000000000 RBX: ffffffff8fe8fab0 RCX: dffffc0000000000
RDX: ffff88802a6ed940 RSI: ffffffff8959b2a7 RDI: ffffffff8959af68
RBP: ffffffff8959af68 R08: ffffffff81405033 R09: ffffc90003c7f1b0
R10: 0000000000000003 R11: ffffffff818045c0 R12: ffffffff8fe8fab0
R13: ffffffff8fe8fab0 R14: ffffffff8959b2a7 R15: ffffffff8fe8fab0
 __orc_find arch/x86/kernel/unwind_orc.c:102 [inline]
 orc_find arch/x86/kernel/unwind_orc.c:227 [inline]
 unwind_next_frame+0x515/0x29e0 arch/x86/kernel/unwind_orc.c:494
 arch_stack_walk+0x150/0x1b0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x117/0x1d0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:589
 poison_slab_object+0xa6/0xe0 mm/kasan/common.c:240
 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256
 kasan_slab_free include/linux/kasan.h:184 [inline]
 slab_free_hook mm/slub.c:2121 [inline]
 slab_free mm/slub.c:4299 [inline]
 kmem_cache_free+0x102/0x2a0 mm/slub.c:4363
 __merge_or_add_vmap_area mm/vmalloc.c:1157 [inline]
 merge_or_add_vmap_area mm/vmalloc.c:1207 [inline]
 free_vmap_area_noflush+0x2fe/0xaf0 mm/vmalloc.c:1833
 free_unmap_vmap_area mm/vmalloc.c:1854 [inline]
 remove_vm_area+0x2b7/0x300 mm/vmalloc.c:2705
 vfree+0x7c/0x2e0 mm/vmalloc.c:2824
 xt_compat_flush_offsets+0x77/0xb0 net/netfilter/x_tables.c:691
 compat_get_entries net/ipv4/netfilter/ip_tables.c:1601 [inline]
 do_ipt_get_ctl+0xf02/0x1810 net/ipv4/netfilter/ip_tables.c:1657
 nf_getsockopt+0x299/0x2c0 net/netfilter/nf_sockopt.c:116
 ip_getsockopt+0x222/0x2e0 net/ipv4/ip_sockglue.c:1770
 tcp_getsockopt+0x163/0x1c0 net/ipv4/tcp.c:4372
 do_sock_getsockopt+0x373/0x850 net/socket.c:2373
 __sys_getsockopt+0x270/0x330 net/socket.c:2402
 __do_compat_sys_socketcall net/compat.c:494 [inline]
 __se_compat_sys_socketcall+0x348/0x1430 net/compat.c:423
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xbd/0x120 arch/x86/entry/common.c:321
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:346
 entry_SYSENTER_compat_after_hwframe+0x7c/0x86
RIP: 0023:0xf7333579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 002b:00000000f75d4620 EFLAGS: 00000206 ORIG_RAX: 0000000000000066
RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00000000f75d4658
RDX: 00000000f75d46d4 RSI: 00000000f75d472c RDI: 00000000f7489ff4
RBP: 00000000f748f730 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/06 10:38 upstream 29cd507cbec2 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in compat_sys_socketcall
2024/03/02 07:59 upstream 17ba56605bfd 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in compat_sys_socketcall
* Struck through repros no longer work on HEAD.