Kernel | Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|
upstream | INFO: rcu detected stall in mas_store_prealloc mm | 1 | 420d | 420d | 0/27 | auto-obsoleted due to no activity on 2023/10/13 16:47 |
syzbot |
sign-in | mailing list | source | docs |
Kernel | Title | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|
upstream | INFO: rcu detected stall in mas_store_prealloc mm | 1 | 420d | 420d | 0/27 | auto-obsoleted due to no activity on 2023/10/13 16:47 |
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4315/1:b..l P3612/1:b..l P4328/1:b..l (detected by 1, t=10502 jiffies, g=14213, q=293 ncpus=2) task:modprobe state:R running task stack:24312 pid:4328 ppid:3626 flags:0x00004000 Call Trace: <TASK> context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 4f ab 77 00 f6 44 24 61 02 0f 85 84 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:ffffc9001421e900 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92002843d2c RCX: 1ffff92002843ccc RDX: dffffc0000000000 RSI: ffffffff8aec13c0 RDI: ffffffff8b3d4660 RBP: ffffc9001421ea50 R08: dffffc0000000000 R09: fffffbfff2093a45 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92002843d28 R13: dffffc0000000000 R14: ffffc9001421e960 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] is_bpf_text_address+0x3e/0x2a0 kernel/bpf/core.c:731 kernel_text_address+0x9f/0xd0 kernel/extable.c:125 __kernel_text_address+0x9/0x40 kernel/extable.c:79 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack+0x3b/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xb0/0xc0 mm/kasan/generic.c:486 call_rcu+0x163/0xa10 kernel/rcu/tree.c:2844 mas_wr_node_store lib/maple_tree.c:4219 [inline] mas_wr_modify+0x2a65/0x4d80 lib/maple_tree.c:4418 mas_store_prealloc+0x304/0x460 lib/maple_tree.c:5786 mmap_region+0x15ab/0x1fa0 mm/mmap.c:2834 do_mmap+0x8c5/0xf60 mm/mmap.c:1425 vm_mmap_pgoff+0x1ca/0x2d0 mm/util.c:520 ksys_mmap_pgoff+0x4f5/0x6d0 mm/mmap.c:1471 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7d6f5d2b74 RSP: 002b:00007ffdb1b8a618 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00000fffb63714c4 RCX: 00007f7d6f5d2b74 RDX: 0000000000000001 RSI: 00000000000c2928 RDI: 0000000000000000 RBP: 00007ffdb1b8a980 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000802 R11: 0000000000000246 R12: 00007f7d6f5b50c0 R13: 00007ffdb1b8aa08 R14: fffffffffffff000 R15: 0000000000000000 </TASK> task:kworker/0:5 state:R running task stack:23672 pid:3612 ppid:2 flags:0x00004000 Workqueue: events nsim_fib_event_work Call Trace: <TASK> context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 unwind_next_frame+0x1a55/0x2220 arch/x86/kernel/unwind_orc.c:629 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:127 __reset_page_owner+0x52/0x1a0 mm/page_owner.c:148 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1440 [inline] free_pcp_prepare mm/page_alloc.c:1490 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3358 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3453 free_slab mm/slub.c:2031 [inline] discard_slab mm/slub.c:2037 [inline] __unfreeze_partials+0x1b7/0x210 mm/slub.c:2586 put_cpu_partial+0x17b/0x250 mm/slub.c:2662 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1f/0x70 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x52/0x3a0 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] __kmem_cache_alloc_node+0x137/0x260 mm/slub.c:3437 kmalloc_trace+0x26/0xe0 mm/slab_common.c:1045 kmalloc include/linux/slab.h:556 [inline] kzalloc include/linux/slab.h:692 [inline] nsim_fib4_rt_create drivers/net/netdevsim/fib.c:280 [inline] nsim_fib4_rt_insert drivers/net/netdevsim/fib.c:426 [inline] nsim_fib4_event drivers/net/netdevsim/fib.c:464 [inline] nsim_fib_event drivers/net/netdevsim/fib.c:884 [inline] nsim_fib_event_work+0xe13/0x4120 drivers/net/netdevsim/fib.c:1492 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 process_scheduled_works kernel/workqueue.c:2355 [inline] worker_thread+0xd04/0x1200 kernel/workqueue.c:2441 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 </TASK> task:syz-executor.4 state:R running task stack:24184 pid:4315 ppid:3570 flags:0x00004002 Call Trace: <TASK> context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:unwind_next_frame+0x3/0x2220 arch/x86/kernel/unwind_orc.c:423 Code: c0 5b 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 95 4c 89 f7 e8 eb 6f a5 00 eb 8b 66 0f 1f 84 00 00 00 00 00 55 41 57 <41> 56 41 55 41 54 53 48 81 ec a8 00 00 00 48 89 fb 49 be 00 00 00 RSP: 0018:ffffc9001428ece8 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc9001428ed00 RCX: ffffffff8fb13000 RDX: dffffc0000000000 RSI: ffffffff8156ddd7 RDI: ffffc9001428ed00 RBP: ffffc9001428ed90 R08: 000000000000000e R09: ffffc9001428edf0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888026103b80 R13: ffffffff81784e10 R14: ffffc9001428ede0 R15: 0000000000000000 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:127 __reset_page_owner+0x52/0x1a0 mm/page_owner.c:148 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1440 [inline] free_pcp_prepare mm/page_alloc.c:1490 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3358 free_unref_page_list+0x663/0x900 mm/page_alloc.c:3499 release_pages+0x2836/0x2b40 mm/swap.c:1055 __pagevec_release+0x80/0xf0 mm/swap.c:1075 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] shmem_undo_range+0x865/0x2390 mm/shmem.c:946 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x265/0xa60 mm/shmem.c:1171 evict+0x2a4/0x620 fs/inode.c:666 __dentry_kill+0x436/0x650 fs/dcache.c:607 dentry_kill+0xbb/0x290 dput+0xfb/0x1d0 fs/dcache.c:914 __fput+0x5e4/0x890 fs/file_table.c:328 task_work_run+0x246/0x300 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa73/0x26a0 kernel/exit.c:869 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 get_signal+0x16f7/0x17d0 kernel/signal.c:2862 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3c9aa7d0a9 RSP: 002b:00007f3c9b8d7178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f3c9abb3f88 RCX: 00007f3c9aa7d0a9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f3c9abb3f88 RBP: 00007f3c9abb3f80 R08: 00007f3c9b8d76c0 R09: 00007f3c9b8d76c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3c9abb3f8c R13: 000000000000000b R14: 00007fff4d9d3ed0 R15: 00007fff4d9d3fb8 </TASK> rcu: rcu_preempt kthread starved for 8609 jiffies! g14213 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:26712 pid:16 ppid:2 flags:0x00004000 Call Trace: <TASK> context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 </TASK> rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.94-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:113 [inline] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:572 Code: 43 f5 f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 a4 02 fc f6 0f 1f 44 00 00 e8 fa 3f f5 f6 0f 00 2d e3 10 b2 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 ab c0 4c f7 RSP: 0018:ffffc90000177b80 EFLAGS: 000002d3 RAX: ffffffff8a955356 RBX: 0000000000000000 RCX: ffff88813fee9dc0 RDX: 0000000000000000 RSI: ffffffff8aec0240 RDI: ffffffff8b3d4660 RBP: ffffc90000177c10 R08: ffffffff8a955338 R09: ffffed1027fdd3b9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200002ef70 R13: ffff88801630b804 R14: ffffc90000177ba0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fced58258e5 CR3: 0000000074200000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <IRQ> </IRQ> <TASK> acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:709 cpuidle_enter_state+0x516/0xf80 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3ce/0x680 kernel/sched/idle.c:303 cpu_startup_entry+0x3d/0x60 kernel/sched/idle.c:401 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:281 secondary_startup_64_no_verify+0xcf/0xdb </TASK>
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024/06/22 04:09 | linux-6.1.y | eb44d83053d6 | edc5149a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-6-1-kasan | INFO: rcu detected stall in mas_store_prealloc |