syzbot


INFO: rcu detected stall in sys_execve (6)

Status: upstream: reported syz repro on 2024/09/17 11:35
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+8bb3e2bee8a429cc76dd@syzkaller.appspotmail.com
First crash: 237d, last: 9h39m
Cause bisection: introduced by (bisect log) :
commit 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22
Author: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Date: Sat Sep 29 00:59:43 2018 +0000

  tc: Add support for configuring the taprio scheduler

Crash: BUG: soft lockup in net_tx_action (log)
Repro: syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] INFO: rcu detected stall in sys_execve (6) 0 (1) 2024/09/17 11:35
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_execve kernel 11 1813d 1814d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in sys_execve (3) kernel 1 1778d 1778d 0/28 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_execve (2) kernel 1 1779d 1779d 0/28 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in sys_execve (5) tomoyo 2 374d 378d 0/28 auto-obsoleted due to no activity on 2024/02/10 22:46
upstream INFO: rcu detected stall in sys_execve (4) mm 1 939d 939d 0/28 auto-closed as invalid on 2022/06/25 07:48
linux-5.15 BUG: soft lockup in sys_execve 1 13d 13d 0/3 upstream: reported on 2024/11/07 21:26
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/10/06 19:37 23m retest repro net-next report log

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-...!: (2 ticks this GP) idle=76ec/1/0x4000000000000000 softirq=12561/12561 fqs=0
rcu: 	(t=14413 jiffies g=8553 q=970 ncpus=2)
rcu: rcu_preempt kthread timer wakeup didn't happen for 14412 jiffies! g8553 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=5767
rcu: rcu_preempt kthread starved for 14413 jiffies! g8553 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25824 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5328 [inline]
 __schedule+0x184f/0x4c30 kernel/sched/core.c:6690
 __schedule_loop kernel/sched/core.c:6767 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6782
 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615
 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 6001 Comm: syz-executor Not tainted 6.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:get_current arch/x86/include/asm/current.h:49 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:245 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x8/0x90 kernel/kcov.c:321
Code: 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 f3 0f 1e fa 4c 8b 04 24 <65> 48 8b 0c 25 c0 d7 03 00 65 8b 05 c0 f8 6e 7e 25 00 01 ff 00 74
RSP: 0018:ffffc90000007c88 EFLAGS: 00000002
RAX: ffffffff89ccd4e7 RBX: 1807212bd44b43d6 RCX: ffff8880339d0000
RDX: 0000000000010000 RSI: 0000000000000001 RDI: 0000000000000010
RBP: ffff8880334514c8 R08: ffffffff89ccd3e9 R09: fffff52000000f80
R10: dffffc0000000000 R11: fffff52000000f80 R12: dffffc0000000000
R13: ffff888033451400 R14: ffff888033451400 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcb9d119ff8 CR3: 0000000030768000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 advance_sched+0x529/0xca0 net/sched/sch_taprio.c:961
 __run_hrtimer kernel/time/hrtimer.c:1691 [inline]
 __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1755
 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline]
 __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
 sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:___slab_alloc+0xaf5/0x14b0
Code: 00 00 00 00 9c 8f 44 24 60 f7 44 24 60 00 02 00 00 0f 85 fe 07 00 00 41 f7 c5 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 68 0f 85 af 08 00 00 4c 89 f8 48 83 c4 70 5b 41 5c 41
RSP: 0018:ffffc90003e57420 EFLAGS: 00000206
RAX: c1c05a9f10057000 RBX: ffff8880b8643d10 RCX: ffffffff8170bfaa
RDX: dffffc0000000000 RSI: ffffffff8c0acaa0 RDI: ffffffff8c610a20
RBP: 0000000000000000 R08: ffffffff942cd837 R09: 1ffffffff2859b06
R10: dffffc0000000000 R11: fffffbfff2859b07 R12: ffff8880b8643cf0
R13: 0000000000000286 R14: ffff88801ac91000 R15: ffff8880289f5800
 __slab_alloc+0x58/0xa0 mm/slub.c:3908
 __slab_alloc_node mm/slub.c:3961 [inline]
 slab_alloc_node mm/slub.c:4122 [inline]
 kmem_cache_alloc_noprof+0x1c1/0x2a0 mm/slub.c:4141
 mt_alloc_one lib/maple_tree.c:162 [inline]
 mas_alloc_nodes+0x26c/0x840 lib/maple_tree.c:1241
 mas_store_gfp+0x125/0x4e0 lib/maple_tree.c:5477
 vma_iter_store_gfp mm/vma.h:161 [inline]
 do_brk_flags+0xb02/0x1070 mm/mmap.c:1826
 vm_brk_flags+0x49e/0x7b0 mm/mmap.c:1880
 elf_load+0x5fa/0x700 fs/binfmt_elf.c:440
 load_elf_binary+0x1024/0x2710 fs/binfmt_elf.c:1167
 search_binary_handler fs/exec.c:1752 [inline]
 exec_binprm fs/exec.c:1794 [inline]
 bprm_execve+0xaf8/0x1770 fs/exec.c:1845
 do_execveat_common+0x55f/0x6f0 fs/exec.c:1952
 do_execve fs/exec.c:2026 [inline]
 __do_sys_execve fs/exec.c:2102 [inline]
 __se_sys_execve fs/exec.c:2097 [inline]
 __x64_sys_execve+0x92/0xb0 fs/exec.c:2097
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcb9c3b1617
Code: Unable to access opcode bytes at 0x7fcb9c3b15ed.
RSP: 002b:00007fcb9d119e78 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 00007fcb9c416e90 RCX: 00007fcb9c3b1617
RDX: 00007ffc294b92d0 RSI: 00007ffc294b9510 RDI: 00007ffc294bbef6
RBP: 00007ffc294b9340 R08: 00007fcb9d119f20 R09: 0000000000000000
R10: 0000000000000008 R11: 0000000000000246 R12: 000055558c6234c0
R13: 0000000000000100 R14: 00007ffc294b92f0 R15: 00007ffc294b90a0
 </TASK>
CPU: 1 UID: 0 PID: 972 Comm: kworker/1:2 Not tainted 6.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Workqueue: events_power_efficient gc_worker
RIP: 0010:seqcount_lockdep_reader_access+0x1e0/0x220 include/linux/seqlock.h:75
Code: f7 4d 85 ed 75 16 e8 7f 41 b6 f7 eb 15 e8 78 41 b6 f7 e8 83 df e8 01 4d 85 ed 74 ea e8 69 41 b6 f7 fb 48 c7 04 24 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 66 43 c7 44 3c 09 00 00 43 c6 44 3c 0b 00
RSP: 0018:ffffc90003b079a0 EFLAGS: 00000293
RAX: ffffffff89de98a7 RBX: 0000000000000000 RCX: ffff888025fe9e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003b07a50 R08: ffffffff89de987d R09: 1ffffffff2859b12
R10: dffffc0000000000 R11: fffffbfff2859b13 R12: dffffc0000000000
R13: 0000000000000200 R14: 0000000000000046 R15: 1ffff92000760f34
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00204f000 CR3: 00000000274d4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:345 [inline]
 gc_worker+0x316/0x1530 net/netfilter/nf_conntrack_core.c:1534
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/12 07:08 upstream 2d5404caa8c7 75bb1b32 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in sys_execve
2024/09/13 11:23 net-next 46ae4d0a4897 73e8a465 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in sys_execve
2024/11/20 20:44 upstream bf9aa14fc523 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in sys_execve
2024/11/08 10:54 upstream 906bd684e4b1 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_execve
2024/10/16 00:49 upstream 2f87d0916ce0 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in sys_execve
2024/09/22 19:17 upstream af9c191ac2a0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_execve
2024/07/28 07:04 upstream 6342649c33d2 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_execve
2024/07/27 21:19 upstream 3a7e02c040b1 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_execve
2024/07/05 15:10 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_execve
2024/07/03 18:50 upstream e9d22f7a6655 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_execve
2024/03/29 06:24 upstream 480e035fc4c7 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in sys_execve
2024/03/28 07:34 upstream fe46a7dd189e 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_execve
2024/11/04 00:52 net 3b557be89fc6 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: rcu detected stall in sys_execve
2024/07/23 15:56 net cc73bbab4b1f 708c10c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: rcu detected stall in sys_execve
2024/10/16 06:29 net-next 6d858708d465 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in sys_execve
2024/11/18 10:55 linux-next ae58226b89ac cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_execve
2024/11/10 00:50 linux-next 929beafbe7ac 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_execve
2024/10/09 12:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a9fe2a8ac53 56fb2cb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in sys_execve
2024/07/29 10:52 linux-next 931a3b3bccc9 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_execve
2024/06/14 07:02 linux-next a957267fa7e9 a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_execve
* Struck through repros no longer work on HEAD.