FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 ====================================================== WARNING: possible circular locking dependency detected 6.16.0-syzkaller #0 Not tainted ------------------------------------------------------ syz.0.371/7391 is trying to acquire lock: ffffffff8e133300 (console_owner){-...}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:336 [inline] ffffffff8e133300 (console_owner){-...}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:346 [inline] ffffffff8e133300 (console_owner){-...}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:288 [inline] ffffffff8e133300 (console_owner){-...}-{0:0}, at: console_flush_all+0x13a/0xc40 kernel/printk/printk.c:3203 but task is already holding lock: ffff8880b8639e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:606 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #4 (&rq->__lock){-.-.}-{2:2}: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 _raw_spin_lock_nested+0x32/0x50 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:606 raw_spin_rq_lock kernel/sched/sched.h:1532 [inline] task_rq_lock+0xbc/0x470 kernel/sched/core.c:708 cgroup_move_task+0x9a/0x590 kernel/sched/psi.c:1161 css_set_move_task+0x658/0x9e0 kernel/cgroup/cgroup.c:918 cgroup_post_fork+0x1ef/0x790 kernel/cgroup/cgroup.c:6754 copy_process+0x37e6/0x3b80 kernel/fork.c:2413 kernel_clone+0x224/0x7f0 kernel/fork.c:2599 user_mode_thread+0xdd/0x140 kernel/fork.c:2677 rest_init+0x23/0x300 init/main.c:710 start_kernel+0x47d/0x500 init/main.c:1102 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:307 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:288 common_startup_64+0x13e/0x147 -> #3 (&p->pi_lock){-.-.}-{2:2}: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162 class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline] try_to_wake_up+0x6e/0x1290 kernel/sched/core.c:4227 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock+0x137/0x1f0 kernel/sched/wait.c:106 tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:69 serial8250_tx_chars+0x72e/0x970 drivers/tty/serial/8250/8250_port.c:1838 serial8250_handle_irq+0x633/0xbb0 drivers/tty/serial/8250/8250_port.c:1946 serial8250_default_handle_irq+0xbf/0x1b0 drivers/tty/serial/8250/8250_port.c:1966 serial8250_interrupt+0xa2/0x1d0 drivers/tty/serial/8250/8250_core.c:86 __handle_irq_event_percpu+0x289/0x980 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x8b/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x267/0x9c0 kernel/irq/chip.c:797 generic_handle_irq_desc include/linux/irqdesc.h:173 [inline] handle_irq arch/x86/kernel/irq.c:254 [inline] call_irq_handler arch/x86/kernel/irq.c:266 [inline] __common_interrupt+0x140/0x250 arch/x86/kernel/irq.c:292 common_interrupt+0xb6/0xe0 arch/x86/kernel/irq.c:285 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 get_current arch/x86/include/asm/current.h:25 [inline] __sanitizer_cov_trace_pc+0x11/0x70 kernel/kcov.c:216 __set_page_owner+0x12c/0x4a0 mm/page_owner.c:333 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2419 alloc_frozen_pages_noprof mm/mempolicy.c:2490 [inline] alloc_pages_noprof+0xa9/0x190 mm/mempolicy.c:2510 folio_alloc_noprof+0x1e/0x30 mm/mempolicy.c:2520 filemap_alloc_folio_noprof+0xdf/0x470 mm/filemap.c:1007 __filemap_get_folio+0x3f2/0xaf0 mm/filemap.c:1980 ext4_mb_get_buddy_page_lock fs/ext4/mballoc.c:1483 [inline] ext4_mb_init_group+0x2cb/0x6a0 fs/ext4/mballoc.c:1533 ext4_mb_prefetch_fini+0x14d/0x1e0 fs/ext4/mballoc.c:2790 ext4_run_li_request fs/ext4/super.c:3685 [inline] ext4_lazyinit_thread+0x57f/0x1880 fs/ext4/super.c:3811 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 -> #2 (&tty->write_wait){-.-.}-{3:3}: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162 __wake_up_common_lock+0x2f/0x1f0 kernel/sched/wait.c:105 tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:69 serial8250_tx_chars+0x72e/0x970 drivers/tty/serial/8250/8250_port.c:1838 serial8250_handle_irq+0x633/0xbb0 drivers/tty/serial/8250/8250_port.c:1946 serial8250_default_handle_irq+0xbf/0x1b0 drivers/tty/serial/8250/8250_port.c:1966 serial8250_interrupt+0xa2/0x1d0 drivers/tty/serial/8250/8250_core.c:86 __handle_irq_event_percpu+0x289/0x980 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x8b/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x267/0x9c0 kernel/irq/chip.c:797 generic_handle_irq_desc include/linux/irqdesc.h:173 [inline] handle_irq arch/x86/kernel/irq.c:254 [inline] call_irq_handler arch/x86/kernel/irq.c:266 [inline] __common_interrupt+0x140/0x250 arch/x86/kernel/irq.c:292 common_interrupt+0xb6/0xe0 arch/x86/kernel/irq.c:285 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 get_current arch/x86/include/asm/current.h:25 [inline] __sanitizer_cov_trace_pc+0x11/0x70 kernel/kcov.c:216 __set_page_owner+0x12c/0x4a0 mm/page_owner.c:333 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21d5/0x22b0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2419 alloc_frozen_pages_noprof mm/mempolicy.c:2490 [inline] alloc_pages_noprof+0xa9/0x190 mm/mempolicy.c:2510 folio_alloc_noprof+0x1e/0x30 mm/mempolicy.c:2520 filemap_alloc_folio_noprof+0xdf/0x470 mm/filemap.c:1007 __filemap_get_folio+0x3f2/0xaf0 mm/filemap.c:1980 ext4_mb_get_buddy_page_lock fs/ext4/mballoc.c:1483 [inline] ext4_mb_init_group+0x2cb/0x6a0 fs/ext4/mballoc.c:1533 ext4_mb_prefetch_fini+0x14d/0x1e0 fs/ext4/mballoc.c:2790 ext4_run_li_request fs/ext4/super.c:3685 [inline] ext4_lazyinit_thread+0x57f/0x1880 fs/ext4/super.c:3811 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 -> #1 (&port_lock_key){-.-.}-{3:3}: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162 uart_port_lock_irqsave include/linux/serial_core.h:717 [inline] serial8250_console_write+0x17e/0x1ba0 drivers/tty/serial/8250/8250_port.c:3415 console_emit_next_record kernel/printk/printk.c:3138 [inline] console_flush_all+0x728/0xc40 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xc4/0x270 kernel/printk/printk.c:3325 vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450 _printk+0xcf/0x120 kernel/printk/printk.c:2475 register_console+0xa8b/0xf90 kernel/printk/printk.c:4125 univ8250_console_init+0x52/0x90 drivers/tty/serial/8250/8250_core.c:513 console_init+0x1a1/0x670 kernel/printk/printk.c:4323 start_kernel+0x2cc/0x500 init/main.c:1036 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:307 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:288 common_startup_64+0x13e/0x147 -> #0 (console_owner){-...}-{0:0}: check_prev_add kernel/locking/lockdep.c:3168 [inline] check_prevs_add kernel/locking/lockdep.c:3287 [inline] validate_chain+0xb9b/0x2140 kernel/locking/lockdep.c:3911 __lock_acquire+0xab9/0xd20 kernel/locking/lockdep.c:5240 lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 console_lock_spinning_enable kernel/printk/printk.c:1924 [inline] console_emit_next_record kernel/printk/printk.c:3132 [inline] console_flush_all+0x6d2/0xc40 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xc4/0x270 kernel/printk/printk.c:3325 vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450 _printk+0xcf/0x120 kernel/printk/printk.c:2475 fail_dump lib/fault-inject.c:66 [inline] should_fail_ex+0x3f5/0x560 lib/fault-inject.c:174 strncpy_from_user+0x36/0x290 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x72/0x150 mm/maccess.c:193 bpf_trace_copy_string kernel/bpf/helpers.c:754 [inline] bpf_bprintf_prepare+0xb9b/0x1410 kernel/bpf/helpers.c:979 ____bpf_trace_printk kernel/trace/bpf_trace.c:373 [inline] bpf_trace_printk+0xdb/0x190 kernel/trace/bpf_trace.c:363 bpf_prog_7c77c7e0f6645ad8+0x3e/0x44 bpf_dispatcher_nop_func include/linux/bpf.h:1322 [inline] __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run include/linux/filter.h:725 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2258 [inline] bpf_trace_run2+0x284/0x4b0 kernel/trace/bpf_trace.c:2299 __bpf_trace_contention_begin+0xdc/0x130 include/trace/events/lock.h:95 __traceiter_contention_begin+0x77/0xb0 include/trace/events/lock.h:95 __do_trace_contention_begin include/trace/events/lock.h:95 [inline] trace_contention_begin+0x114/0x140 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0xf0/0xb60 kernel/locking/qspinlock.c:219 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:557 [inline] queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x21f/0x290 kernel/locking/spinlock_debug.c:116 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:606 raw_spin_rq_lock kernel/sched/sched.h:1532 [inline] rq_lock kernel/sched/sched.h:1856 [inline] __schedule+0x330/0x4c90 kernel/sched/core.c:6710 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7109 irqentry_exit+0x6f/0x90 kernel/entry/common.c:307 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 mas_next_slot+0x1db/0xcf0 lib/maple_tree.c:-1 mas_find+0x9e7/0xc10 lib/maple_tree.c:6048 vma_next include/linux/mm.h:864 [inline] validate_mm+0xe1/0x4b0 mm/vma.c:649 __split_vma+0x8bd/0xa00 mm/vma.c:566 vms_gather_munmap_vmas+0x2de/0x12b0 mm/vma.c:1354 __mmap_prepare mm/vma.c:2351 [inline] __mmap_region mm/vma.c:2607 [inline] mmap_region+0x678/0x1f30 mm/vma.c:2692 do_mmap+0xc45/0x10d0 mm/mmap.c:561 vm_mmap_pgoff+0x31b/0x4c0 mm/util.c:579 ksys_mmap_pgoff+0x51f/0x760 mm/mmap.c:607 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f other info that might help us debug this: Chain exists of: console_owner --> &p->pi_lock --> &rq->__lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&rq->__lock); lock(&p->pi_lock); lock(&rq->__lock); lock(console_owner); *** DEADLOCK *** 5 locks held by syz.0.371/7391: #0: ffff8880299ae5e0 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:374 [inline] #0: ffff8880299ae5e0 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0x1bd/0x4c0 mm/util.c:577 #1: ffff8880b8639e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:606 #2: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #2: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #2: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline] #2: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: bpf_trace_run2+0x186/0x4b0 kernel/trace/bpf_trace.c:2299 #3: ffffffff8e133360 (console_lock){+.+.}-{0:0}, at: _printk+0xcf/0x120 kernel/printk/printk.c:2475 #4: ffffffff8e01ac30 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:336 [inline] #4: ffffffff8e01ac30 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:346 [inline] #4: ffffffff8e01ac30 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:288 [inline] #4: ffffffff8e01ac30 (console_srcu){....}-{0:0}, at: console_flush_all+0x13a/0xc40 kernel/printk/printk.c:3203 stack backtrace: CPU: 0 UID: 0 PID: 7391 Comm: syz.0.371 Not tainted 6.16.0-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_circular_bug+0x2ee/0x310 kernel/locking/lockdep.c:2046 check_noncircular+0x134/0x160 kernel/locking/lockdep.c:2178 check_prev_add kernel/locking/lockdep.c:3168 [inline] check_prevs_add kernel/locking/lockdep.c:3287 [inline] validate_chain+0xb9b/0x2140 kernel/locking/lockdep.c:3911 __lock_acquire+0xab9/0xd20 kernel/locking/lockdep.c:5240 lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 console_lock_spinning_enable kernel/printk/printk.c:1924 [inline] console_emit_next_record kernel/printk/printk.c:3132 [inline] console_flush_all+0x6d2/0xc40 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xc4/0x270 kernel/printk/printk.c:3325 vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450 _printk+0xcf/0x120 kernel/printk/printk.c:2475 fail_dump lib/fault-inject.c:66 [inline] should_fail_ex+0x3f5/0x560 lib/fault-inject.c:174 strncpy_from_user+0x36/0x290 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x72/0x150 mm/maccess.c:193 bpf_trace_copy_string kernel/bpf/helpers.c:754 [inline] bpf_bprintf_prepare+0xb9b/0x1410 kernel/bpf/helpers.c:979 ____bpf_trace_printk kernel/trace/bpf_trace.c:373 [inline] bpf_trace_printk+0xdb/0x190 kernel/trace/bpf_trace.c:363 bpf_prog_7c77c7e0f6645ad8+0x3e/0x44 bpf_dispatcher_nop_func include/linux/bpf.h:1322 [inline] __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run include/linux/filter.h:725 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2258 [inline] bpf_trace_run2+0x284/0x4b0 kernel/trace/bpf_trace.c:2299 __bpf_trace_contention_begin+0xdc/0x130 include/trace/events/lock.h:95 __traceiter_contention_begin+0x77/0xb0 include/trace/events/lock.h:95 __do_trace_contention_begin include/trace/events/lock.h:95 [inline] trace_contention_begin+0x114/0x140 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0xf0/0xb60 kernel/locking/qspinlock.c:219 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:557 [inline] queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x21f/0x290 kernel/locking/spinlock_debug.c:116 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:606 raw_spin_rq_lock kernel/sched/sched.h:1532 [inline] rq_lock kernel/sched/sched.h:1856 [inline] __schedule+0x330/0x4c90 kernel/sched/core.c:6710 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7109 irqentry_exit+0x6f/0x90 kernel/entry/common.c:307 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:mas_next_slot+0x1db/0xcf0 lib/maple_tree.c:-1 Code: 3c 20 00 74 08 4c 89 f7 e8 02 a0 c1 f6 49 8b 1e 48 89 df 4c 89 fe e8 14 bb 61 f6 4c 39 fb 73 0a e8 aa b8 61 f6 e9 c8 00 00 00 <48> 8b 44 24 48 42 0f b6 04 20 84 c0 0f 85 eb 04 00 00 48 8b 44 24 RSP: 0018:ffffc90003fcf1c8 EFLAGS: 00000246 RAX: ffffffff8b5e6d0c RBX: ffffffffffffffff RCX: ffff888033583c00 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: 0000000000000001 R08: ffff888033583c00 R09: 0000000000000003 R10: 0000000000000003 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888031021200 R14: ffffc90003fcf388 R15: ffffffffffffffff mas_find+0x9e7/0xc10 lib/maple_tree.c:6048 vma_next include/linux/mm.h:864 [inline] validate_mm+0xe1/0x4b0 mm/vma.c:649 __split_vma+0x8bd/0xa00 mm/vma.c:566 vms_gather_munmap_vmas+0x2de/0x12b0 mm/vma.c:1354 __mmap_prepare mm/vma.c:2351 [inline] __mmap_region mm/vma.c:2607 [inline] mmap_region+0x678/0x1f30 mm/vma.c:2692 do_mmap+0xc45/0x10d0 mm/mmap.c:561 vm_mmap_pgoff+0x31b/0x4c0 mm/util.c:579 ksys_mmap_pgoff+0x51f/0x760 mm/mmap.c:607 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6cf038ebe9 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:00007f6cf11d2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f6cf05b5fa0 RCX: 00007f6cf038ebe9 RDX: 0000000000000001 RSI: 0000000000004000 RDI: 0000200000ffc000 RBP: 00007f6cf11d2090 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f6cf05b6038 R14: 00007f6cf05b5fa0 R15: 00007ffdc35dce48 CPU: 0 UID: 0 PID: 7391 Comm: syz.0.371 Not tainted 6.16.0-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x414/0x560 lib/fault-inject.c:174 strncpy_from_user+0x36/0x290 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x72/0x150 mm/maccess.c:193 bpf_trace_copy_string kernel/bpf/helpers.c:754 [inline] bpf_bprintf_prepare+0xb9b/0x1410 kernel/bpf/helpers.c:979 ____bpf_trace_printk kernel/trace/bpf_trace.c:373 [inline] bpf_trace_printk+0xdb/0x190 kernel/trace/bpf_trace.c:363 bpf_prog_7c77c7e0f6645ad8+0x3e/0x44 bpf_dispatcher_nop_func include/linux/bpf.h:1322 [inline] __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run include/linux/filter.h:725 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2258 [inline] bpf_trace_run2+0x284/0x4b0 kernel/trace/bpf_trace.c:2299 __bpf_trace_contention_begin+0xdc/0x130 include/trace/events/lock.h:95 __traceiter_contention_begin+0x77/0xb0 include/trace/events/lock.h:95 __do_trace_contention_begin include/trace/events/lock.h:95 [inline] trace_contention_begin+0x114/0x140 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0xf0/0xb60 kernel/locking/qspinlock.c:219 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:557 [inline] queued_spin_lock_slowpath+0x43/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x21f/0x290 kernel/locking/spinlock_debug.c:116 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:606 raw_spin_rq_lock kernel/sched/sched.h:1532 [inline] rq_lock kernel/sched/sched.h:1856 [inline] __schedule+0x330/0x4c90 kernel/sched/core.c:6710 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7109 irqentry_exit+0x6f/0x90 kernel/entry/common.c:307 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:mas_next_slot+0x1db/0xcf0 lib/maple_tree.c:-1 Code: 3c 20 00 74 08 4c 89 f7 e8 02 a0 c1 f6 49 8b 1e 48 89 df 4c 89 fe e8 14 bb 61 f6 4c 39 fb 73 0a e8 aa b8 61 f6 e9 c8 00 00 00 <48> 8b 44 24 48 42 0f b6 04 20 84 c0 0f 85 eb 04 00 00 48 8b 44 24 RSP: 0018:ffffc90003fcf1c8 EFLAGS: 00000246 RAX: ffffffff8b5e6d0c RBX: ffffffffffffffff RCX: ffff888033583c00 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: 0000000000000001 R08: ffff888033583c00 R09: 0000000000000003 R10: 0000000000000003 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888031021200 R14: ffffc90003fcf388 R15: ffffffffffffffff mas_find+0x9e7/0xc10 lib/maple_tree.c:6048 vma_next include/linux/mm.h:864 [inline] validate_mm+0xe1/0x4b0 mm/vma.c:649 __split_vma+0x8bd/0xa00 mm/vma.c:566 vms_gather_munmap_vmas+0x2de/0x12b0 mm/vma.c:1354 __mmap_prepare mm/vma.c:2351 [inline] __mmap_region mm/vma.c:2607 [inline] mmap_region+0x678/0x1f30 mm/vma.c:2692 do_mmap+0xc45/0x10d0 mm/mmap.c:561 vm_mmap_pgoff+0x31b/0x4c0 mm/util.c:579 ksys_mmap_pgoff+0x51f/0x760 mm/mmap.c:607 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6cf038ebe9 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:00007f6cf11d2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f6cf05b5fa0 RCX: 00007f6cf038ebe9 RDX: 0000000000000001 RSI: 0000000000004000 RDI: 0000200000ffc000 RBP: 00007f6cf11d2090 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f6cf05b6038 R14: 00007f6cf05b5fa0 R15: 00007ffdc35dce48 binder_alloc: binder_alloc_mmap_handler: 7390 200000ffc000-200001000000 already mapped failed -16 syz.0.371 (7391) used greatest stack depth: 20008 bytes left ---------------- Code disassembly (best guess): 0: 3c 20 cmp $0x20,%al 2: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 6: 89 f7 mov %esi,%edi 8: e8 02 a0 c1 f6 call 0xf6c1a00f d: 49 8b 1e mov (%r14),%rbx 10: 48 89 df mov %rbx,%rdi 13: 4c 89 fe mov %r15,%rsi 16: e8 14 bb 61 f6 call 0xf661bb2f 1b: 4c 39 fb cmp %r15,%rbx 1e: 73 0a jae 0x2a 20: e8 aa b8 61 f6 call 0xf661b8cf 25: e9 c8 00 00 00 jmp 0xf2 * 2a: 48 8b 44 24 48 mov 0x48(%rsp),%rax <-- trapping instruction 2f: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax 34: 84 c0 test %al,%al 36: 0f 85 eb 04 00 00 jne 0x527 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 44 rex.R 3f: 24 .byte 0x24