syzbot


INFO: rcu detected stall in io_ring_exit_work (2)

Status: auto-obsoleted due to no activity on 2024/10/27 16:22
Subsystems: cgroups mm
[Documentation on labels]
First crash: 198d, last: 198d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in io_ring_exit_work fs io-uring C error 6 1194d 1237d 0/28 auto-obsoleted due to no activity on 2023/04/16 14:02

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { P6065 1-...D } 2670 jiffies s: 4697 root: 0x2/T
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 2996 Comm: kworker/u8:15 Not tainted 6.11.0-rc1-syzkaller-00004-gdc1c8034e31b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: iou_exit io_ring_exit_work
RIP: 0010:instrument_atomic_read include/linux/instrumented.h:68 [inline]
RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
RIP: 0010:hlock_class+0x49/0x130 kernel/locking/lockdep.c:227
Code: 74 08 3c 03 0f 8e da 00 00 00 0f b7 5b 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 c0 86 62 94 <e8> 72 3f 80 00 48 0f a3 1d ba 07 fb 12 73 13 48 69 c3 c8 00 00 00
RSP: 0018:ffffc90000a18ad8 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 1ffff1100579c174
RDX: 1ffff1100579c179 RSI: 0000000000000008 RDI: ffffffff946286c0
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000080000
R10: 0000000000000019 R11: 0000000000000000 R12: 0000000000000002
R13: ffff88802bce0ba8 R14: 0000000000000001 R15: ffff88802bce0000
FS:  0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcd0c5c138 CR3: 000000000db7c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 check_wait_context kernel/locking/lockdep.c:4772 [inline]
 __lock_acquire+0x415/0x3cb0 kernel/locking/lockdep.c:5092
 lock_acquire kernel/locking/lockdep.c:5759 [inline]
 lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5724
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
 debug_object_deactivate+0x13c/0x370 lib/debugobjects.c:764
 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline]
 debug_deactivate kernel/time/hrtimer.c:484 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1657 [inline]
 __hrtimer_run_queues+0x47d/0xcc0 kernel/time/hrtimer.c:1753
 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
 __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x1f2/0x560 kernel/locking/lockdep.c:5727
Code: c1 05 7a 14 9a 7e 83 f8 01 0f 85 ea 02 00 00 9c 58 f6 c4 02 0f 85 d5 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc90009def8f0 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff920013bdf20 RCX: 0000000000000001
RDX: 0000000000000001 RSI: ffffffff8b4cc800 RDI: ffffffff8bb08d00
RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff28c50d8
R10: ffffffff946286c7 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8ddb5220 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
 rcu_read_lock include/linux/rcupdate.h:838 [inline]
 percpu_ref_put_many include/linux/percpu-refcount.h:330 [inline]
 percpu_ref_put include/linux/percpu-refcount.h:351 [inline]
 obj_cgroup_put include/linux/memcontrol.h:803 [inline]
 obj_cgroup_put include/linux/memcontrol.h:800 [inline]
 __memcg_slab_free_hook+0x2f6/0x5a0 mm/memcontrol.c:3050
 memcg_slab_free_hook mm/slub.c:2186 [inline]
 slab_free mm/slub.c:4470 [inline]
 kmem_cache_free+0x357/0x3a0 mm/slub.c:4548
 io_req_caches_free+0xa0/0x3c0 io_uring/io_uring.c:2587
 io_ring_exit_work+0x327/0x1f70 io_uring/io_uring.c:2794
 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231
 process_scheduled_works kernel/workqueue.c:3312 [inline]
 worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/29 16:18 upstream dc1c8034e31b 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in io_ring_exit_work
* Struck through repros no longer work on HEAD.