syzbot


INFO: rcu detected stall in sys_io_submit (2)

Status: auto-obsoleted due to no activity on 2024/08/08 15:55
Subsystems: fs
[Documentation on labels]
First crash: 254d, last: 254d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_io_submit perf 1 1200d 1200d 0/28 auto-closed as invalid on 2022/02/05 09:08
android-5-15 BUG: soft lockup in sys_io_submit 1 291d 291d 0/2 auto-obsoleted due to no activity on 2024/08/02 05:36

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P19148/1:b..l P19149/1:b..l
rcu: 	(detected by 0, t=10502 jiffies, g=125169, q=440 ncpus=2)
task:modprobe        state:R  running task     stack:23680 pid:19149 tgid:19149 ppid:2489   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5192 [inline]
 __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707
RIP: 0010:lock_acquire+0x287/0x550 kernel/locking/lockdep.c:5821
Code: 44 24 40 0e 36 e0 45 4b c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 11 00 00 00 00 66 43 c7 44 25 15 00 00 <43> c6 44 25 17 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 00 01 00
RSP: 0000:ffffc90009567bc0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920012acf84 RCX: 4ee982ce2fba9700
RDX: dffffc0000000000 RSI: ffffffff8bcad360 RDI: ffffffff8c200e00
RBP: ffffc90009567d08 R08: ffffffff92fc975f R09: 1ffffffff25f92eb
R10: dffffc0000000000 R11: fffffbfff25f92ec R12: 1ffff920012acf80
R13: dffffc0000000000 R14: ffffc90009567c20 R15: 0000000000000246
 down_read_trylock+0x24f/0x3c0 kernel/locking/rwsem.c:1568
 vma_start_read include/linux/mm.h:678 [inline]
 lock_vma_under_rcu+0x2f9/0x6e0 mm/memory.c:5966
 do_user_addr_fault arch/x86/mm/fault.c:1329 [inline]
 handle_page_fault arch/x86/mm/fault.c:1481 [inline]
 exc_page_fault+0x17b/0x8c0 arch/x86/mm/fault.c:1539
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f28b7a5fdc3
RSP: 002b:00007fff4b44ac18 EFLAGS: 00010246
RAX: 00007f28b7a5fdc3 RBX: 00007f28b79e4000 RCX: 0000000000dc0000
RDX: 0000000000000000 RSI: 00007f28b7a02540 RDI: 0000000000000000
RBP: 00007fff4b44ad20 R08: 00007fff4b440000 R09: 00007f28b7c8fab0
R10: 00007f28b79e8ab8 R11: 0000000000000025 R12: 00007f28b7c585c0
R13: 00007f28b7c83eda R14: 00007f28b7b85d80 R15: 00007f28b79e8ab8
 </TASK>
task:syz-executor.0  state:R  running task     stack:26808 pid:19148 tgid:19142 ppid:15217  flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5192 [inline]
 __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5821
Code: 2b 00 74 08 4c 89 f7 e8 3a 18 8a 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc900095577e0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920012aaf08 RCX: 1c766cefbe95a400
RDX: dffffc0000000000 RSI: ffffffff8bcad360 RDI: ffffffff8c200e00
RBP: ffffc90009557928 R08: ffffffff92fc96c7 R09: 1ffffffff25f92d8
R10: dffffc0000000000 R11: fffffbfff25f92d9 R12: 1ffff920012aaf04
R13: dffffc0000000000 R14: ffffc90009557840 R15: 0000000000000246
 rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
 rcu_read_lock include/linux/rcupdate.h:838 [inline]
 count_memcg_event_mm+0xb1/0x420 include/linux/memcontrol.h:1075
 mm_account_fault mm/memory.c:5679 [inline]
 handle_mm_fault+0x16c4/0x1ba0 mm/memory.c:5826
 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline]
 handle_page_fault arch/x86/mm/fault.c:1481 [inline]
 exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0010:__get_user_4+0x11/0x20 arch/x86/lib/getuser.S:77
Code: 01 ca c3 cc cc cc cc 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 89 c2 48 c1 fa 3f 48 09 d0 0f 01 cb <8b> 10 31 c0 0f 01 ca c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90
RSP: 0018:ffffc90009557db8 EFLAGS: 00050206
RAX: 00007fec42fc0000 RBX: ffff888078425f48 RCX: ffffc90009557d03
RDX: 0000000000000000 RSI: ffffffff8bcad360 RDI: ffffffff8c200e00
RBP: ffffc90009557f00 R08: ffffffff8fae026f R09: 1ffffffff1f5c04d
R10: dffffc0000000000 R11: fffffbfff1f5c04e R12: 00007fec42fc0000
R13: ffff88806303cc00 R14: dffffc0000000000 R15: dffffc0000000000
 lookup_ioctx+0x5f/0x6a0 fs/aio.c:1083
 __do_sys_io_submit fs/aio.c:2092 [inline]
 __se_sys_io_submit+0xb3/0x2f0 fs/aio.c:2081
 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:0x7fec4227cf69
RSP: 002b:00007fec42fe90c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007fec423b4050 RCX: 00007fec4227cf69
RDX: 0000000020000780 RSI: 0000000000000001 RDI: 00007fec42fc0000
RBP: 00007fec422da6fe R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fec423b4050 R15: 00007ffc65d70068
 </TASK>
rcu: rcu_preempt kthread starved for 10567 jiffies! g125169 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R  running task     stack:25200 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5192 [inline]
 __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline]
RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline]
RIP: 0010:tif_need_resched include/linux/thread_info.h:184 [inline]
RIP: 0010:need_resched include/linux/sched.h:2104 [inline]
RIP: 0010:__schedule_loop kernel/sched/core.c:6608 [inline]
RIP: 0010:schedule+0x15a/0x320 kernel/sched/core.c:6621
Code: 48 f7 45 00 08 00 00 00 74 2c bf 01 00 00 00 e8 bc 6c ce f5 31 ff e8 85 b4 ff ff bf 01 00 00 00 e8 4b 6e ce f5 42 80 3c 23 00 <74> d4 48 89 ef e8 6c 52 65 f6 eb ca 4c 8d 75 2c 4d 89 f5 49 c1 ed
RSP: 0018:ffffc90000167b68 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff11002ed3000 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8bcac1e0 RDI: 0000000000000001
RBP: ffff888017698000 R08: ffffffff8fae026f R09: 1ffffffff1f5c04d
R10: dffffc0000000000 R11: fffffbfff1f5c04e R12: dffffc0000000000
R13: 1ffff9200002cf74 R14: ffffffff8b971ed0 R15: ffff888017699278
 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581
 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2029
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2231
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 19150 Comm: syz-executor.1 Not tainted 6.10.0-rc2-next-20240607-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5066
Code: c9 50 e8 09 b6 0b 00 48 83 c4 08 4c 89 f7 e8 7d 38 00 00 0f 1f 44 00 00 4c 89 f7 e8 c0 14 32 0a e8 8b 2f 37 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc
RSP: 0018:ffffc900095477a8 EFLAGS: 00000286
RAX: beb267f34eeb2c00 RBX: ffff88807b6b8000 RCX: ffffffff947c1803
RDX: dffffc0000000000 RSI: ffffffff8bcac1e0 RDI: ffffffff8c200e00
RBP: ffffc900095477f0 R08: ffffffff8fae026f R09: 1ffffffff1f5c04d
R10: dffffc0000000000 R11: fffffbfff1f5c04e R12: 1ffff11017287ec7
R13: dffffc0000000000 R14: ffff8880b943e8c0 R15: ffff8880b943f638
FS:  00007ff29ef7d6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3062c000 CR3: 00000000639c0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 context_switch kernel/sched/core.c:5195 [inline]
 __schedule+0x17f0/0x4a20 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 futex_wait_queue+0x14e/0x1d0 kernel/futex/waitwake.c:370
 __futex_wait+0x17f/0x320 kernel/futex/waitwake.c:669
 futex_wait+0x101/0x360 kernel/futex/waitwake.c:697
 do_futex+0x33b/0x560 kernel/futex/syscalls.c:102
 __do_sys_futex kernel/futex/syscalls.c:179 [inline]
 __se_sys_futex+0x3f9/0x480 kernel/futex/syscalls.c:160
 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:0x7ff29e27cf69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff29ef7d178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00007ff29e3b4128 RCX: 00007ff29e27cf69
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ff29e3b4128
RBP: 00007ff29e3b4120 R08: 00007ff29ef7d6c0 R09: 00007ff29ef7d6c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff29e3b412c
R13: 000000000000006e R14: 00007ffd63351700 R15: 00007ffd633517e8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/09 15:52 linux-next d35b2284e966 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_io_submit
* Struck through repros no longer work on HEAD.