syzbot


INFO: rcu detected stall in sys_exit_group (7)

Status: upstream: reported C repro on 2021/10/15 18:41
Labels: mm (incorrect?)
Reported-by: syzbot+1c1c0d391f04584c1611@syzkaller.appspotmail.com
First crash: 626d, last: 13h21m

Cause bisection: introduced by (bisect log) [no-op commit]:
commit fcd29ad17c6ff885dfae58f557e9323941e63ba2
Author: Feras Daoud <ferasda@mellanox.com>
Date: Thu Aug 9 06:55:21 2018 +0000

  net/mlx5: Add Fast teardown support

Crash: general protection fault in batadv_iv_ogm_queue_add (log)
Repro: C syz .config

Fix bisection: the fix commit could be any of (bisect log):
  64570fbc14f8 Linux 5.15-rc5
  3bc1bc0b59d0 Merge tag '5.20-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cifs-2.6
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] INFO: rcu detected stall in sys_exit_group (7) 0 (1) 2021/10/15 18:41
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_exit_group (6) mm C 4 977d 984d 21/24 fixed on 2021/03/10 01:48
linux-6.1 INFO: rcu detected stall in sys_exit_group 1 25d 25d 0/3 upstream: reported on 2023/05/10 22:25
upstream INFO: rcu detected stall in sys_exit_group (2) 56 1279d 1280d 0/24 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_exit_group (3) 8 1244d 1244d 0/24 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in sys_exit_group (4) 13 1244d 1244d 0/24 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_exit_group (5) 1 1165d 1165d 0/24 auto-closed as invalid on 2020/06/25 07:58
upstream INFO: rcu detected stall in sys_exit_group kernel C done 1 1360d 1356d 14/24 fixed on 2019/10/09 10:54
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/05/21 21:41 17m retest repro upstream report log
2022/12/23 02:31 16m retest repro upstream report log

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2648 jiffies s: 5689 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5664 Comm: syz-executor451 Not tainted 6.4.0-rc4-syzkaller-00371-g6f64a5ebe1dc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: b6 ee 8e 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <f3> 0f 1e fa 65 8b 05 7d 75 7f 7e 89 c1 48 8b 34 24 81 e1 00 01 00
RSP: 0018:ffffc90000007618 EFLAGS: 00000246
RAX: ffff888078b592f0 RBX: ffff888072d4e750 RCX: 0000000000000100
RDX: ffff8880784d0000 RSI: ffffffff883f15a3 RDI: ffff888072d4e758
RBP: ffff888078b59000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 1ffffffff21941ca R12: dffffc0000000000
R13: ffff888078b592f0 R14: ffff888078b592f0 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0181725370 CR3: 000000007d983000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 fq_pie_qdisc_dequeue+0x5fd/0x9c0 net/sched/sch_fq_pie.c:239
 dequeue_skb net/sched/sch_generic.c:292 [inline]
 qdisc_restart net/sched/sch_generic.c:397 [inline]
 __qdisc_run+0x1b2/0x1780 net/sched/sch_generic.c:415
 __dev_xmit_skb net/core/dev.c:3868 [inline]
 __dev_queue_xmit+0x2215/0x3b10 net/core/dev.c:4210
 dev_queue_xmit include/linux/netdevice.h:3085 [inline]
 neigh_connected_output+0x3c2/0x550 net/core/neighbour.c:1581
 neigh_output include/net/neighbour.h:544 [inline]
 ip6_finish_output2+0x55a/0x1560 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
 ip6_finish_output+0x69a/0x1170 net/ipv6/ip6_output.c:206
 NF_HOOK_COND include/linux/netfilter.h:292 [inline]
 ip6_output+0x1f1/0x540 net/ipv6/ip6_output.c:227
 dst_output include/net/dst.h:458 [inline]
 NF_HOOK include/linux/netfilter.h:303 [inline]
 ndisc_send_skb+0xa63/0x1850 net/ipv6/ndisc.c:508
 ndisc_send_rs+0x132/0x6f0 net/ipv6/ndisc.c:718
 addrconf_rs_timer+0x3f1/0x870 net/ipv6/addrconf.c:3936
 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751
 __run_timers kernel/time/timer.c:2022 [inline]
 __run_timers kernel/time/timer.c:1995 [inline]
 run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
 __do_softirq+0x1d4/0x905 kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:122 [inline]
RIP: 0010:lock_acquire kernel/locking/lockdep.c:5681 [inline]
RIP: 0010:lock_acquire+0x137/0x520 kernel/locking/lockdep.c:5670
Code: 05 6e 98 9c 7e 85 c0 0f 85 16 01 00 00 65 48 8b 14 25 c0 bb 03 00 48 8d ba c4 0a 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 f9 <48> c1 e9 03 0f b6 0c 01 48 89 f8 83 e0 07 83 c0 03 38 c8 7c 08 84
RSP: 0018:ffffc900048ff5b0 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 1ffff9200091feb8 RCX: ffff8880784d0ac4
RDX: ffff8880784d0000 RSI: 0000000000000001 RDI: ffff8880784d0ac4
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8e7a7f57
R10: fffffbfff1cf4fea R11: 0000000000094001 R12: 0000000000000002
R13: 0000000000000000 R14: ffffffff8c7990c0 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:327 [inline]
 rcu_read_lock include/linux/rcupdate.h:773 [inline]
 is_bpf_text_address+0x3a/0x1b0 kernel/bpf/core.c:719
 kernel_text_address kernel/extable.c:125 [inline]
 kernel_text_address+0x3d/0x80 kernel/extable.c:94
 __kernel_text_address+0xd/0x30 kernel/extable.c:79
 unwind_get_return_address arch/x86/kernel/unwind_orc.c:341 [inline]
 unwind_get_return_address+0x55/0xa0 arch/x86/kernel/unwind_orc.c:336
 arch_stack_walk+0x97/0xf0 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122
 save_stack+0x151/0x1e0 mm/page_owner.c:128
 __reset_page_owner+0x56/0x170 mm/page_owner.c:149
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1302 [inline]
 free_unref_page_prepare+0x62e/0xcb0 mm/page_alloc.c:2564
 free_unref_page_list+0xe3/0xa70 mm/page_alloc.c:2705
 release_pages+0xcd8/0x1380 mm/swap.c:1042
 tlb_batch_pages_flush+0xa8/0x1a0 mm/mmu_gather.c:97
 tlb_flush_mmu_free mm/mmu_gather.c:292 [inline]
 tlb_flush_mmu mm/mmu_gather.c:299 [inline]
 tlb_finish_mmu+0x14b/0x7e0 mm/mmu_gather.c:391
 exit_mmap+0x2b2/0x930 mm/mmap.c:3123
 __mmput+0x128/0x4c0 kernel/fork.c:1351
 mmput+0x60/0x70 kernel/fork.c:1373
 exit_mm kernel/exit.c:567 [inline]
 do_exit+0x9b0/0x29b0 kernel/exit.c:861
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
 __do_sys_exit_group kernel/exit.c:1035 [inline]
 __se_sys_exit_group kernel/exit.c:1033 [inline]
 __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1033
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f01816a7859
Code: Unable to access opcode bytes at 0x7f01816a782f.
RSP: 002b:00007fff49510f68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f0181722410 RCX: 00007f01816a7859
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 000000000000000d
R10: 000000000000000d R11: 0000000000000246 R12: 00007f0181722410
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
 </TASK>
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 4.506 msecs

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Manager Title
2023/06/04 23:30 upstream 6f64a5ebe1dc a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in sys_exit_group
2023/06/02 11:07 upstream 1874a42a7d74 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in sys_exit_group
2021/10/11 19:51 upstream 64570fbc14f8 838e7e2c .config console log report syz C ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_exit_group
2023/06/04 22:21 net 8cde87b007da a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: rcu detected stall in sys_exit_group
2023/06/01 22:51 net be7f8012a513 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: rcu detected stall in sys_exit_group
2023/06/04 21:00 net-next f69de8aa4752 a4ae4f42 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in sys_exit_group
2023/05/29 07:34 upstream e338142b39cf cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_exit_group
2023/03/12 20:55 upstream 134231664868 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_exit_group
2023/02/09 09:24 upstream 0983f6bf2bfc 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_exit_group
2022/12/31 06:25 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_exit_group
2022/09/14 00:53 upstream d1221cea11fc b884348d .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_exit_group
2022/07/08 18:35 upstream e8a4e1c1bb69 b5765a15 .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_exit_group
2022/07/03 00:45 upstream 34074da5424c 1434eec0 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_exit_group
2022/05/09 11:34 upstream c5eb0a61238d 8b277b8e .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_exit_group
2022/03/14 11:54 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_exit_group
2022/02/24 00:33 upstream 23d04328444a 6e821dbf .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_exit_group
2022/02/08 13:51 upstream 555f3d7be91a 0b33604d .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_exit_group
2022/02/03 14:07 upstream 88808fbbead4 4ebb2798 .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_exit_group
2021/11/08 14:41 upstream 6b75d88fa81b d29682f1 .config console log report info ci-upstream-kasan-gce INFO: rcu detected stall in sys_exit_group
2021/09/16 16:23 upstream ff1ffd71d5f0 aae492f2 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_exit_group
2023/02/12 07:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f87b564686ee 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in sys_exit_group
2023/01/27 17:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c52c9acc415e 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in sys_exit_group
2022/02/21 23:13 linux-next ef6b35306dd8 6e821dbf .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_exit_group
* Struck through repros no longer work on HEAD.