FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 ====================================================== WARNING: possible circular locking dependency detected syzkaller #0 Not tainted ------------------------------------------------------ syz.3.259/6892 is trying to acquire lock: ffffffff8cd241e0 (console_owner){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:339 [inline] ffffffff8cd241e0 (console_owner){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:232 [inline] ffffffff8cd241e0 (console_owner){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:292 [inline] ffffffff8cd241e0 (console_owner){....}-{0:0}, at: console_flush_all+0x10f/0xd00 kernel/printk/printk.c:2992 but task is already holding lock: ffff8880b8e3c018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:567 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #4 (&rq->__lock){-.-.}-{2:2}: _raw_spin_lock_nested+0x32/0x50 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 raw_spin_rq_lock kernel/sched/sched.h:1379 [inline] rq_lock kernel/sched/sched.h:1688 [inline] task_fork_fair+0x62/0x1f0 kernel/sched/fair.c:12727 sched_cgroup_fork+0x333/0x3c0 kernel/sched/core.c:4817 copy_process+0x21e4/0x3d70 kernel/fork.c:2614 kernel_clone+0x21b/0x840 kernel/fork.c:2914 user_mode_thread+0xde/0x130 kernel/fork.c:2992 rest_init+0x27/0x300 init/main.c:709 arch_call_rest_init+0xe/0x10 init/main.c:841 start_kernel+0x459/0x4e0 init/main.c:1086 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:555 copy_bootdata+0x0/0xe0 arch/x86/kernel/head64.c:536 secondary_startup_64_no_verify+0x179/0x17b -> #3 (&p->pi_lock){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa8/0xf0 kernel/locking/spinlock.c:162 class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:522 [inline] try_to_wake_up+0x60/0x1140 kernel/sched/core.c:4233 autoremove_wake_function+0x17/0x100 kernel/sched/wait.c:424 __wake_up_common+0x2a4/0x4e0 kernel/sched/wait.c:107 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up+0x112/0x190 kernel/sched/wait.c:160 tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:69 serial8250_tx_chars+0x6bd/0x8a0 drivers/tty/serial/8250/8250_port.c:1837 serial8250_handle_irq+0x534/0x6e0 drivers/tty/serial/8250/8250_port.c:1944 serial8250_default_handle_irq+0xb8/0x1a0 drivers/tty/serial/8250/8250_port.c:1964 serial8250_interrupt+0x9f/0x1c0 drivers/tty/serial/8250/8250_core.c:127 __handle_irq_event_percpu+0x276/0x930 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+0x247/0xb30 kernel/irq/chip.c:831 generic_handle_irq_desc include/linux/irqdesc.h:161 [inline] handle_irq arch/x86/kernel/irq.c:240 [inline] __common_interrupt+0x13b/0x230 arch/x86/kernel/irq.c:259 common_interrupt+0xb4/0xd0 arch/x86/kernel/irq.c:249 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:678 constant_test_bit arch/x86/include/asm/bitops.h:207 [inline] arch_test_bit arch/x86/include/asm/bitops.h:239 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] folio_test_locked include/linux/page-flags.h:487 [inline] filemap_remove_folio+0x8e/0x2c0 mm/filemap.c:254 truncate_inode_folio+0x5d/0x70 mm/truncate.c:195 shmem_undo_range+0x3b9/0x1a40 mm/shmem.c:1022 shmem_truncate_range mm/shmem.c:1135 [inline] shmem_evict_inode+0x273/0xa70 mm/shmem.c:1264 evict+0x486/0x870 fs/inode.c:705 __dentry_kill+0x431/0x650 fs/dcache.c:611 dentry_kill+0xb8/0x290 fs/dcache.c:-1 dput+0xfe/0x1e0 fs/dcache.c:918 __fput+0x5e5/0x970 fs/file_table.c:392 task_work_run+0x1ce/0x250 kernel/task_work.c:245 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xf6/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 -> #2 (&tty->write_wait){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa8/0xf0 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0xf8/0x190 kernel/sched/wait.c:160 tty_port_default_wakeup+0xa2/0xf0 drivers/tty/tty_port.c:69 serial8250_tx_chars+0x6bd/0x8a0 drivers/tty/serial/8250/8250_port.c:1837 serial8250_handle_irq+0x534/0x6e0 drivers/tty/serial/8250/8250_port.c:1944 serial8250_default_handle_irq+0xb8/0x1a0 drivers/tty/serial/8250/8250_port.c:1964 serial8250_interrupt+0x9f/0x1c0 drivers/tty/serial/8250/8250_core.c:127 __handle_irq_event_percpu+0x276/0x930 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+0x247/0xb30 kernel/irq/chip.c:831 generic_handle_irq_desc include/linux/irqdesc.h:161 [inline] handle_irq arch/x86/kernel/irq.c:240 [inline] __common_interrupt+0x13b/0x230 arch/x86/kernel/irq.c:259 common_interrupt+0xb4/0xd0 arch/x86/kernel/irq.c:249 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:678 native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] pv_native_safe_halt+0x13/0x20 arch/x86/kernel/paravirt.c:147 arch_safe_halt arch/x86/include/asm/paravirt.h:108 [inline] default_idle+0x13/0x20 arch/x86/kernel/process.c:753 default_idle_call+0x6c/0xa0 kernel/sched/idle.c:97 cpuidle_idle_call kernel/sched/idle.c:170 [inline] do_idle+0x1eb/0x510 kernel/sched/idle.c:282 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:380 rest_init+0x2e2/0x300 init/main.c:744 arch_call_rest_init+0xe/0x10 init/main.c:841 start_kernel+0x459/0x4e0 init/main.c:1086 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:555 copy_bootdata+0x0/0xe0 arch/x86/kernel/head64.c:536 secondary_startup_64_no_verify+0x179/0x17b -> #1 (&port_lock_key){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa8/0xf0 kernel/locking/spinlock.c:162 serial8250_console_write+0x16d/0x17a0 drivers/tty/serial/8250/8250_port.c:3433 console_emit_next_record kernel/printk/printk.c:2944 [inline] console_flush_all+0x6cd/0xd00 kernel/printk/printk.c:3000 console_unlock+0xae/0x340 kernel/printk/printk.c:3069 vprintk_emit+0x477/0x600 kernel/printk/printk.c:2341 _printk+0xd0/0x110 kernel/printk/printk.c:2366 register_console+0x91b/0xe60 kernel/printk/printk.c:3583 univ8250_console_init+0x45/0x50 drivers/tty/serial/8250/8250_core.c:717 console_init+0x17b/0x5e0 kernel/printk/printk.c:3726 start_kernel+0x2c0/0x4e0 init/main.c:1022 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:555 copy_bootdata+0x0/0xe0 arch/x86/kernel/head64.c:536 secondary_startup_64_no_verify+0x179/0x17b -> #0 (console_owner){....}-{0:0}: check_prev_add kernel/locking/lockdep.c:3134 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain kernel/locking/lockdep.c:3869 [inline] __lock_acquire+0x2ddb/0x7c80 kernel/locking/lockdep.c:5137 lock_acquire+0x197/0x410 kernel/locking/lockdep.c:5754 console_lock_spinning_enable kernel/printk/printk.c:1871 [inline] console_emit_next_record kernel/printk/printk.c:2938 [inline] console_flush_all+0x693/0xd00 kernel/printk/printk.c:3000 console_unlock+0xae/0x340 kernel/printk/printk.c:3069 vprintk_emit+0x477/0x600 kernel/printk/printk.c:2341 _printk+0xd0/0x110 kernel/printk/printk.c:2366 fail_dump lib/fault-inject.c:45 [inline] should_fail_ex+0x37e/0x4d0 lib/fault-inject.c:153 strncpy_from_user+0x36/0x2e0 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x71/0x140 mm/maccess.c:186 bpf_trace_copy_string kernel/bpf/helpers.c:755 [inline] bpf_bprintf_prepare+0xb9b/0x1400 kernel/bpf/helpers.c:980 ____bpf_trace_printk kernel/trace/bpf_trace.c:381 [inline] bpf_trace_printk+0xdc/0x190 kernel/trace/bpf_trace.c:371 bpf_prog_7c77c7e0f6645ad8+0x3d/0x3f bpf_dispatcher_nop_func include/linux/bpf.h:1224 [inline] __bpf_prog_run include/linux/filter.h:616 [inline] bpf_prog_run include/linux/filter.h:623 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2322 [inline] bpf_trace_run2+0x1d1/0x3e0 kernel/trace/bpf_trace.c:2361 __bpf_trace_contention_begin+0xdd/0x130 include/trace/events/lock.h:95 trace_contention_begin+0xe9/0x110 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0xe0/0x9d0 kernel/locking/qspinlock.c:405 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:586 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x24e/0x2c0 kernel/locking/spinlock_debug.c:115 raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:567 raw_spin_rq_lock kernel/sched/sched.h:1379 [inline] rq_lock kernel/sched/sched.h:1688 [inline] __schedule+0x2dd/0x44d0 kernel/sched/core.c:6614 preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7010 irqentry_exit+0x67/0x70 kernel/entry/common.c:438 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:692 lock_acquire+0x1f2/0x410 kernel/locking/lockdep.c:5758 rcu_lock_acquire include/linux/rcupdate.h:334 [inline] rcu_read_lock include/linux/rcupdate.h:786 [inline] __rhashtable_insert_fast include/linux/rhashtable.h:722 [inline] rhashtable_lookup_insert_key include/linux/rhashtable.h:967 [inline] __netlink_insert net/netlink/af_netlink.c:507 [inline] netlink_insert+0x2d4/0x1370 net/netlink/af_netlink.c:568 netlink_autobind+0x22d/0x300 net/netlink/af_netlink.c:831 netlink_sendmsg+0x524/0xbe0 net/netlink/af_netlink.c:1857 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x5bf/0x950 net/socket.c:2594 ___sys_sendmsg+0x220/0x290 net/socket.c:2648 __sys_sendmsg net/socket.c:2677 [inline] __do_sys_sendmsg net/socket.c:2686 [inline] __se_sys_sendmsg+0x1a5/0x270 net/socket.c:2684 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 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 *** 6 locks held by syz.3.259/6892: #0: ffff888021f37130 (sk_lock-AF_NETLINK){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1780 [inline] #0: ffff888021f37130 (sk_lock-AF_NETLINK){+.+.}-{0:0}, at: netlink_insert+0xd4/0x1370 net/netlink/af_netlink.c:557 #1: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #1: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #1: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: __rhashtable_insert_fast include/linux/rhashtable.h:722 [inline] #1: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: rhashtable_lookup_insert_key include/linux/rhashtable.h:967 [inline] #1: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: __netlink_insert net/netlink/af_netlink.c:507 [inline] #1: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: netlink_insert+0x2b3/0x1370 net/netlink/af_netlink.c:568 #2: ffff8880b8e3c018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:567 #3: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #3: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #3: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2321 [inline] #3: ffffffff8cd2ffa0 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0xde/0x3e0 kernel/trace/bpf_trace.c:2361 #4: ffffffff8cd242c0 (console_lock){+.+.}-{0:0}, at: _printk+0xd0/0x110 kernel/printk/printk.c:2366 #5: ffffffff8cc0bad0 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:339 [inline] #5: ffffffff8cc0bad0 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:232 [inline] #5: ffffffff8cc0bad0 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:292 [inline] #5: ffffffff8cc0bad0 (console_srcu){....}-{0:0}, at: console_flush_all+0x10f/0xd00 kernel/printk/printk.c:2992 stack backtrace: CPU: 1 PID: 6892 Comm: syz.3.259 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 check_noncircular+0x2bd/0x3c0 kernel/locking/lockdep.c:2187 check_prev_add kernel/locking/lockdep.c:3134 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain kernel/locking/lockdep.c:3869 [inline] __lock_acquire+0x2ddb/0x7c80 kernel/locking/lockdep.c:5137 lock_acquire+0x197/0x410 kernel/locking/lockdep.c:5754 console_lock_spinning_enable kernel/printk/printk.c:1871 [inline] console_emit_next_record kernel/printk/printk.c:2938 [inline] console_flush_all+0x693/0xd00 kernel/printk/printk.c:3000 console_unlock+0xae/0x340 kernel/printk/printk.c:3069 vprintk_emit+0x477/0x600 kernel/printk/printk.c:2341 _printk+0xd0/0x110 kernel/printk/printk.c:2366 fail_dump lib/fault-inject.c:45 [inline] should_fail_ex+0x37e/0x4d0 lib/fault-inject.c:153 strncpy_from_user+0x36/0x2e0 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x71/0x140 mm/maccess.c:186 bpf_trace_copy_string kernel/bpf/helpers.c:755 [inline] bpf_bprintf_prepare+0xb9b/0x1400 kernel/bpf/helpers.c:980 ____bpf_trace_printk kernel/trace/bpf_trace.c:381 [inline] bpf_trace_printk+0xdc/0x190 kernel/trace/bpf_trace.c:371 bpf_prog_7c77c7e0f6645ad8+0x3d/0x3f bpf_dispatcher_nop_func include/linux/bpf.h:1224 [inline] __bpf_prog_run include/linux/filter.h:616 [inline] bpf_prog_run include/linux/filter.h:623 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2322 [inline] bpf_trace_run2+0x1d1/0x3e0 kernel/trace/bpf_trace.c:2361 __bpf_trace_contention_begin+0xdd/0x130 include/trace/events/lock.h:95 trace_contention_begin+0xe9/0x110 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0xe0/0x9d0 kernel/locking/qspinlock.c:405 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:586 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x24e/0x2c0 kernel/locking/spinlock_debug.c:115 raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:567 raw_spin_rq_lock kernel/sched/sched.h:1379 [inline] rq_lock kernel/sched/sched.h:1688 [inline] __schedule+0x2dd/0x44d0 kernel/sched/core.c:6614 preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7010 irqentry_exit+0x67/0x70 kernel/entry/common.c:438 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:692 RIP: 0010:lock_acquire+0x1f2/0x410 kernel/locking/lockdep.c:5758 Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f5 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 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:ffffc900036b7640 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: a796cd698cbea900 RDX: 0000000000000000 RSI: ffffffff8aaace60 RDI: ffffffff8afc73a0 RBP: ffffc900036b7748 R08: dffffc0000000000 R09: 1ffffffff21b2ca0 R10: dffffc0000000000 R11: fffffbfff21b2ca1 R12: 1ffff920006d6ed4 R13: ffffffff8cd2ffa0 R14: 0000000000000246 R15: dffffc0000000000 rcu_lock_acquire include/linux/rcupdate.h:334 [inline] rcu_read_lock include/linux/rcupdate.h:786 [inline] __rhashtable_insert_fast include/linux/rhashtable.h:722 [inline] rhashtable_lookup_insert_key include/linux/rhashtable.h:967 [inline] __netlink_insert net/netlink/af_netlink.c:507 [inline] netlink_insert+0x2d4/0x1370 net/netlink/af_netlink.c:568 netlink_autobind+0x22d/0x300 net/netlink/af_netlink.c:831 netlink_sendmsg+0x524/0xbe0 net/netlink/af_netlink.c:1857 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x5bf/0x950 net/socket.c:2594 ___sys_sendmsg+0x220/0x290 net/socket.c:2648 __sys_sendmsg net/socket.c:2677 [inline] __do_sys_sendmsg net/socket.c:2686 [inline] __se_sys_sendmsg+0x1a5/0x270 net/socket.c:2684 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f5f1038f749 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:00007f5f11217038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5f105e5fa0 RCX: 00007f5f1038f749 RDX: 0000000000000000 RSI: 0000200000000600 RDI: 0000000000000003 RBP: 00007f5f11217090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f5f105e6038 R14: 00007f5f105e5fa0 R15: 00007ffc2c2652d8 CPU: 1 PID: 6892 Comm: syz.3.259 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 fail_dump lib/fault-inject.c:52 [inline] should_fail_ex+0x39d/0x4d0 lib/fault-inject.c:153 strncpy_from_user+0x36/0x2e0 lib/strncpy_from_user.c:118 strncpy_from_user_nofault+0x71/0x140 mm/maccess.c:186 bpf_trace_copy_string kernel/bpf/helpers.c:755 [inline] bpf_bprintf_prepare+0xb9b/0x1400 kernel/bpf/helpers.c:980 ____bpf_trace_printk kernel/trace/bpf_trace.c:381 [inline] bpf_trace_printk+0xdc/0x190 kernel/trace/bpf_trace.c:371 bpf_prog_7c77c7e0f6645ad8+0x3d/0x3f bpf_dispatcher_nop_func include/linux/bpf.h:1224 [inline] __bpf_prog_run include/linux/filter.h:616 [inline] bpf_prog_run include/linux/filter.h:623 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2322 [inline] bpf_trace_run2+0x1d1/0x3e0 kernel/trace/bpf_trace.c:2361 __bpf_trace_contention_begin+0xdd/0x130 include/trace/events/lock.h:95 trace_contention_begin+0xe9/0x110 include/trace/events/lock.h:95 __pv_queued_spin_lock_slowpath+0xe0/0x9d0 kernel/locking/qspinlock.c:405 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:586 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x24e/0x2c0 kernel/locking/spinlock_debug.c:115 raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:567 raw_spin_rq_lock kernel/sched/sched.h:1379 [inline] rq_lock kernel/sched/sched.h:1688 [inline] __schedule+0x2dd/0x44d0 kernel/sched/core.c:6614 preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7010 irqentry_exit+0x67/0x70 kernel/entry/common.c:438 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:692 RIP: 0010:lock_acquire+0x1f2/0x410 kernel/locking/lockdep.c:5758 Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f5 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 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:ffffc900036b7640 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: a796cd698cbea900 RDX: 0000000000000000 RSI: ffffffff8aaace60 RDI: ffffffff8afc73a0 RBP: ffffc900036b7748 R08: dffffc0000000000 R09: 1ffffffff21b2ca0 R10: dffffc0000000000 R11: fffffbfff21b2ca1 R12: 1ffff920006d6ed4 R13: ffffffff8cd2ffa0 R14: 0000000000000246 R15: dffffc0000000000 rcu_lock_acquire include/linux/rcupdate.h:334 [inline] rcu_read_lock include/linux/rcupdate.h:786 [inline] __rhashtable_insert_fast include/linux/rhashtable.h:722 [inline] rhashtable_lookup_insert_key include/linux/rhashtable.h:967 [inline] __netlink_insert net/netlink/af_netlink.c:507 [inline] netlink_insert+0x2d4/0x1370 net/netlink/af_netlink.c:568 netlink_autobind+0x22d/0x300 net/netlink/af_netlink.c:831 netlink_sendmsg+0x524/0xbe0 net/netlink/af_netlink.c:1857 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x5bf/0x950 net/socket.c:2594 ___sys_sendmsg+0x220/0x290 net/socket.c:2648 __sys_sendmsg net/socket.c:2677 [inline] __do_sys_sendmsg net/socket.c:2686 [inline] __se_sys_sendmsg+0x1a5/0x270 net/socket.c:2684 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f5f1038f749 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:00007f5f11217038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5f105e5fa0 RCX: 00007f5f1038f749 RDX: 0000000000000000 RSI: 0000200000000600 RDI: 0000000000000003 RBP: 00007f5f11217090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f5f105e6038 R14: 00007f5f105e5fa0 R15: 00007ffc2c2652d8 netlink: 10 bytes leftover after parsing attributes in process `syz.3.259'. syz.3.259 (6892) used greatest stack depth: 20968 bytes left ---------------- Code disassembly (best guess): 0: 00 9c 8f 84 24 80 00 add %bl,0x802484(%rdi,%rcx,4) 7: 00 00 add %al,(%rax) 9: f6 84 24 81 00 00 00 testb $0x2,0x81(%rsp) 10: 02 11: 0f 85 f5 00 00 00 jne 0x10c 17: 41 f7 c6 00 02 00 00 test $0x200,%r14d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 04 3c 00 00 00 movq $0x0,(%r12,%r15,1) <-- trapping instruction 31: 00 32: 66 43 c7 44 3c 09 00 movw $0x0,0x9(%r12,%r15,1) 39: 00 3a: 43 c6 44 3c 0b 00 movb $0x0,0xb(%r12,%r15,1)