syzbot |
sign-in | mailing list | source | docs |
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=94c4/1/0x4000000000000000 softirq=51224/51229 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5900/1:b..l P14025/2:b..l P14026/1:b..l rcu: (detected by 1, t=10502 jiffies, g=52869, q=121 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 14031 Comm: syz.6.2031 Not tainted 6.13.0-rc2-syzkaller-00362-g2d8308bf5b67 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:addr_has_metadata mm/kasan/kasan.h:333 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:177 [inline] RIP: 0010:kasan_check_range+0x24/0x290 mm/kasan/generic.c:189 Code: 90 90 90 90 90 90 66 0f 1f 00 55 41 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 f8 0f 82 56 02 00 00 <48> 89 fd 48 c1 ed 2f 81 fd fe ff 01 00 0f 86 43 02 00 00 48 89 fb RSP: 0018:ffffc90000007ad0 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff817a9934 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90184ef0 RBP: ffffc90000007c48 R08: ffffffff90184ef8 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff89c58860 R12: 1ffff92000000f68 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888029458ac8 FS: 00007f0ced18b6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fa18ff8 CR3: 000000005e56c000 CR4: 00000000003526f0 DR0: 0000000000002800 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: <NMI> </NMI> <IRQ> instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:570 [inline] cpu_online include/linux/cpumask.h:1117 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xd4/0x550 kernel/locking/lockdep.c:5820 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xab/0xca0 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 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:user_get_super+0x6b/0x180 fs/super.c:994 Code: c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 2d 53 ee ff 48 8b 1b 4c 39 eb 74 37 48 8d 6b 10 48 89 e8 48 c1 e8 03 42 0f b6 04 20 <84> c0 75 0d 44 39 7d 00 74 24 e8 66 75 8a ff eb c1 89 e9 80 e1 07 RSP: 0018:ffffc90004a17d48 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: ffff888144e92000 RCX: 0000000000080000 RDX: ffffc9001c605000 RSI: 0000000000000012 RDI: 0000000000000013 RBP: ffff888144e92010 R08: 0000000000000003 R09: fffff52000942f98 R10: dffffc0000000000 R11: fffff52000942f98 R12: dffffc0000000000 R13: ffffffff8ea769c0 R14: 0000000000000000 R15: 00000000ffffffff vfs_ustat fs/statfs.c:236 [inline] __do_sys_ustat fs/statfs.c:250 [inline] __se_sys_ustat+0xc1/0x430 fs/statfs.c:246 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:0x7f0cec385d19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0ced18b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000088 RAX: ffffffffffffffda RBX: 00007f0cec576160 RCX: 00007f0cec385d19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: fffffffeffffffff RBP: 00007f0cec401a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0cec576160 R15: 00007ffc9d743ac8 </TASK> task:syz.5.2030 state:R running task stack:22640 pid:14026 tgid:14021 ppid:6676 flags:0x00004000 Call Trace: <TASK> context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6935 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6959 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1705 [inline] zap_pmd_range mm/memory.c:1753 [inline] zap_pud_range mm/memory.c:1782 [inline] zap_p4d_range mm/memory.c:1803 [inline] unmap_page_range+0x36c3/0x4040 mm/memory.c:1824 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1914 exit_mmap+0x275/0xc20 mm/mmap.c:1668 __mmput+0x115/0x3b0 kernel/fork.c:1353 exit_mm+0x220/0x310 kernel/exit.c:570 do_exit+0x9b2/0x28e0 kernel/exit.c:925 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f425b385d19 RSP: 002b:00007f425c0ef0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f425b576088 RCX: 00007f425b385d19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f425b576088 RBP: 00007f425b576080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f425b57608c R13: 0000000000000000 R14: 00007fffa0632000 R15: 00007fffa06320e8 </TASK> task:syz.7.2029 state:R running task stack:23152 pid:14025 tgid:14019 ppid:12673 flags:0x00004002 Call Trace: <TASK> context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 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:5853 Code: 2b 00 74 08 4c 89 f7 e8 ea a0 88 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:ffffc9000ba76c40 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200174ed94 RCX: ffff8880268928d8 RDX: dffffc0000000000 RSI: ffffffff8c0aa960 RDI: ffffffff8c5ed820 RBP: ffffc9000ba76d88 R08: ffffffff94270887 R09: 1ffffffff284e110 R10: dffffc0000000000 R11: fffffbfff284e111 R12: 1ffff9200174ed90 R13: dffffc0000000000 R14: ffffc9000ba76ca0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] percpu_ref_tryget_many include/linux/percpu-refcount.h:241 [inline] percpu_ref_tryget+0x31/0x180 include/linux/percpu-refcount.h:266 css_tryget include/linux/cgroup_refcnt.h:45 [inline] get_mem_cgroup_from_mm+0x103/0x2a0 mm/memcontrol.c:948 __mem_cgroup_charge+0x16/0x80 mm/memcontrol.c:4511 mem_cgroup_charge include/linux/memcontrol.h:646 [inline] folio_prealloc+0x4f/0x170 mm/memory.c:1067 wp_page_copy mm/memory.c:3367 [inline] do_wp_page+0x1253/0x49b0 mm/memory.c:3759 handle_pte_fault+0xfa5/0x5ed0 mm/memory.c:5817 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6112 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/0x8b0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 <f3> a4 c3 cc cc cc cc 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 RSP: 0018:ffffc9000ba77718 EFLAGS: 00050206 RAX: ffffffff84b7b001 RBX: 0000000020021ee8 RCX: 0000000000000110 RDX: 0000000000000000 RSI: ffff88807ec61f48 RDI: 0000000020022000 RBP: ffffc9000ba77898 R08: ffff88807ec62057 R09: 1ffff1100fd8c40a R10: dffffc0000000000 R11: ffffed100fd8c40b R12: 1ffff9200174efbb R13: ffffc9000ba77dd8 R14: 0000000000000228 R15: ffff88807ec61e30 copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:147 [inline] copy_to_user_iter lib/iov_iter.c:25 [inline] iterate_ubuf include/linux/iov_iter.h:30 [inline] iterate_and_advance2 include/linux/iov_iter.h:300 [inline] iterate_and_advance include/linux/iov_iter.h:328 [inline] _copy_to_iter+0x267/0x1c50 lib/iov_iter.c:185 copy_to_iter include/linux/uio.h:211 [inline] simple_copy_to_iter net/core/datagram.c:524 [inline] __skb_datagram_iter+0x3c6/0x900 net/core/datagram.c:434 skb_copy_datagram_iter+0xd1/0x250 net/core/datagram.c:538 skb_copy_datagram_msg include/linux/skbuff.h:4115 [inline] __mptcp_recvmsg_mskq net/mptcp/protocol.c:1958 [inline] mptcp_recvmsg+0x4c5/0x1b10 net/mptcp/protocol.c:2211 inet_recvmsg+0x2b5/0x2d0 net/ipv4/af_inet.c:883 sock_recvmsg_nosec net/socket.c:1033 [inline] sock_recvmsg+0x1ae/0x280 net/socket.c:1055 __sys_recvfrom+0x202/0x380 net/socket.c:2247 __do_sys_recvfrom net/socket.c:2262 [inline] __se_sys_recvfrom net/socket.c:2258 [inline] __x64_sys_recvfrom+0xde/0x100 net/socket.c:2258 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:0x7fcbc5385d19 RSP: 002b:00007fcbc61da038 EFLAGS: 00000246 ORIG_RAX: 000000000000002d RAX: ffffffffffffffda RBX: 00007fcbc5576080 RCX: 00007fcbc5385d19 RDX: fffffffffffffecb RSI: 0000000020000180 RDI: 0000000000000006 RBP: 00007fcbc5401a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcbc5576080 R15: 00007ffdb4023e98 </TASK> task:kworker/1:4 state:R running task stack:20144 pid:5900 tgid:5900 ppid:2 flags:0x00004000 Workqueue: events_power_efficient gc_worker Call Trace: <TASK> context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 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:seqcount_lockdep_reader_access+0x1e0/0x220 include/linux/seqlock.h:75 Code: f7 4d 85 ed 75 16 e8 ff d7 c7 f7 eb 15 e8 f8 d7 c7 f7 e8 33 f4 e8 01 4d 85 ed 74 ea e8 e9 d7 c7 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:ffffc900043af9a0 EFLAGS: 00000293 RAX: ffffffff89d78607 RBX: 0000000000000000 RCX: ffff888035519e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900043afa50 R08: ffffffff89d785dd R09: 1ffffffff284e124 R10: dffffc0000000000 R11: fffffbfff284e125 R12: dffffc0000000000 R13: 0000000000000200 R14: 0000000000000046 R15: 1ffff92000875f34 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+0xa66/0x1840 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> rcu: rcu_preempt kthread starved for 10502 jiffies! g52869 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:25976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: <TASK> context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 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> rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 6157 Comm: kworker/u8:12 Not tainted 6.13.0-rc2-syzkaller-00362-g2d8308bf5b67 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2c60 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 e5 e4 RSP: 0018:ffffc900034d76e0 EFLAGS: 00000293 RAX: ffffffff8193790b RBX: 1ffff110170c8c65 RCX: ffff888033ff9e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900034d78e0 R08: ffffffff819378da R09: 1ffffffff284e110 R10: dffffc0000000000 R11: fffffbfff284e111 R12: dffffc0000000000 R13: ffff8880b8646328 R14: ffff8880b873f940 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020022000 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <IRQ> </IRQ> <TASK> on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 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>
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024/12/15 13:35 | upstream | 2d8308bf5b67 | 7cbfbb3a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | INFO: rcu detected stall in sys_ustat |