INFO: task syz-executor.4:2167 blocked for more than 143 seconds. Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:25136 pid:2167 tgid:2167 ppid:5096 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 io_schedule+0x8c/0x100 kernel/sched/core.c:8998 folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1273 btrfs_page_mkwrite+0x4a4/0xd10 fs/btrfs/inode.c:8148 do_page_mkwrite+0x197/0x470 mm/memory.c:2944 wp_page_shared mm/memory.c:3339 [inline] do_wp_page+0x1d07/0x4d40 mm/memory.c:3479 handle_pte_fault mm/memory.c:5055 [inline] __handle_mm_fault mm/memory.c:5180 [inline] handle_mm_fault+0x1b1c/0x6680 mm/memory.c:5345 do_user_addr_fault arch/x86/mm/fault.c:1364 [inline] handle_page_fault arch/x86/mm/fault.c:1507 [inline] exc_page_fault+0x456/0x870 arch/x86/mm/fault.c:1563 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f8d4e45ddab RSP: 002b:00007ffd8da61548 EFLAGS: 00010202 RAX: 0000000020000180 RBX: 00007ffd8da61658 RCX: 0000000000737562 RDX: 0000000000000006 RSI: 0000000075622f2e RDI: 0000000020000180 RBP: 0000000000000032 R08: 00007f8d4e400000 R09: 00007ffd8da930b0 R10: 00007ffd8da93080 R11: 0000000000057a6e R12: 00007f8d4e0071c8 R13: fffffffffffffffe R14: 00007f8d4e000000 R15: 00007f8d4e0071d0 INFO: task syz-executor.4:2168 blocked for more than 144 seconds. Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23568 pid:2168 tgid:2167 ppid:5096 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 wait_extent_bit fs/btrfs/extent-io-tree.c:799 [inline] lock_extent+0x69d/0x850 fs/btrfs/extent-io-tree.c:1843 extent_fiemap+0x29d/0x1fe0 fs/btrfs/extent_io.c:2849 btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7830 ioctl_fiemap fs/ioctl.c:220 [inline] do_vfs_ioctl+0x19ea/0x2b40 fs/ioctl.c:811 __do_sys_ioctl fs/ioctl.c:869 [inline] __se_sys_ioctl+0x81/0x170 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f8d4e47cd29 RSP: 002b:00007f8d4f2a60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8d4e5abf80 RCX: 00007f8d4e47cd29 RDX: 0000000020000200 RSI: 00000000c020660b RDI: 0000000000000006 RBP: 00007f8d4e4c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8d4e5abf80 R15: 00007ffd8da61468 INFO: task syz-executor.4:2272 blocked for more than 145 seconds. Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23568 pid:2272 tgid:2167 ppid:5096 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 wait_extent_bit fs/btrfs/extent-io-tree.c:799 [inline] lock_extent+0x69d/0x850 fs/btrfs/extent-io-tree.c:1843 btrfs_page_mkwrite+0x5bd/0xd10 fs/btrfs/inode.c:8158 do_page_mkwrite+0x197/0x470 mm/memory.c:2944 wp_page_shared mm/memory.c:3339 [inline] do_wp_page+0x1d07/0x4d40 mm/memory.c:3479 handle_pte_fault mm/memory.c:5055 [inline] __handle_mm_fault mm/memory.c:5180 [inline] handle_mm_fault+0x1b1c/0x6680 mm/memory.c:5345 do_user_addr_fault arch/x86/mm/fault.c:1415 [inline] handle_page_fault arch/x86/mm/fault.c:1507 [inline] exc_page_fault+0x2ad/0x870 arch/x86/mm/fault.c:1563 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:rep_movs_alternative+0x33/0x70 arch/x86/lib/copy_user_64.S:58 Code: 40 83 f9 08 73 21 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 RSP: 0018:ffffc90003fbf550 EFLAGS: 00050206 RAX: 0000000000000000 RBX: 0000000020000258 RCX: 0000000000000038 RDX: 0000000000000000 RSI: ffffc90003fbf600 RDI: 0000000020000220 RBP: ffffc90003fbf6b0 R08: ffffc90003fbf637 R09: 1ffff920007f7ec6 R10: dffffc0000000000 R11: fffff520007f7ec7 R12: 0000000000000038 R13: ffffc90003fbf600 R14: 0000000020000220 R15: ffffc90003fbf600 copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:133 [inline] _copy_to_user+0x86/0xa0 lib/usercopy.c:41 copy_to_user include/linux/uaccess.h:191 [inline] fiemap_fill_next_extent+0x235/0x410 fs/ioctl.c:145 emit_last_fiemap_cache fs/btrfs/extent_io.c:2511 [inline] extent_fiemap+0x1b9c/0x1fe0 fs/btrfs/extent_io.c:3038 btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7830 ioctl_fiemap fs/ioctl.c:220 [inline] do_vfs_ioctl+0x19ea/0x2b40 fs/ioctl.c:811 __do_sys_ioctl fs/ioctl.c:869 [inline] __se_sys_ioctl+0x81/0x170 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f8d4e47cd29 RSP: 002b:00007f8d4f2850c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8d4e5ac050 RCX: 00007f8d4e47cd29 RDX: 0000000020000200 RSI: 00000000c020660b RDI: 0000000000000006 RBP: 00007f8d4e4c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8d4e5ac050 R15: 00007ffd8da61468 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/0:2/1134: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc90005417d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #1: ffffc90005417d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 3 locks held by kworker/u4:8/2456: 2 locks held by kworker/u4:9/2483: 2 locks held by getty/4812: #0: ffff88802aa7a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.2/5093: 1 lock held by syz-executor.3/5097: #0: ffffffff8d9334b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8d9334b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:996 1 lock held by syz-executor.0/30821: 3 locks held by syz-executor.4/2167: #0: ffff88801fad59b8 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:663 [inline] #0: ffff88801fad59b8 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f6/0x6f0 mm/memory.c:5501 #1: ffff888072dda510 (sb_pagefaults#8){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2944 #2: ffff8880387e96a0 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x49c/0xd10 fs/btrfs/inode.c:8147 1 lock held by syz-executor.4/2168: #0: ffff8880387e9818 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff8880387e9818 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:370 4 locks held by syz-executor.4/2272: #0: ffff8880387e9818 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff8880387e9818 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:370 #1: ffff88807d3d14a0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline] #1: ffff88807d3d14a0 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5372 [inline] #1: ffff88807d3d14a0 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2d0 mm/memory.c:5432 #2: ffff888072dda510 (sb_pagefaults#8){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2944 #3: ffff8880387e96a0 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x49c/0xd10 fs/btrfs/inode.c:8147 2 locks held by syz-executor.1/3700: 1 lock held by udevadm/3706: 3 locks held by syz-executor.4/3708: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 30937 Comm: kworker/1:1 Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: wg-crypt-wg0 wg_packet_tx_worker RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:84 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:127 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline] RIP: 0010:kasan_check_range+0x79/0x290 mm/kasan/generic.c:187 Code: 4d 89 c1 49 c1 e9 03 49 be 01 00 00 00 00 fc ff df 4f 8d 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 <4c> 89 cd 48 f7 d5 48 01 dd 41 80 3b 00 0f 85 c5 01 00 00 49 ff c3 RSP: 0018:ffffc900001f0288 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 1ffffffff21bb089 RCX: ffffffff816d951a RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90dd8448 RBP: 0000000000000001 R08: ffffffff90dd844f R09: 1ffffffff21bb089 R10: dffffc0000000000 R11: fffffbfff21bb089 R12: ffff888012cda8c8 R13: dffffc0000000000 R14: dffffc0000000001 R15: fffffbfff21bb08a FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffec5eacf90 CR3: 000000003cbf9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] mark_lock+0x9a/0x350 kernel/locking/lockdep.c:4656 mark_held_locks kernel/locking/lockdep.c:4274 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:4292 [inline] lockdep_hardirqs_on_prepare+0x281/0x780 kernel/locking/lockdep.c:4359 trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 queue_work_on+0x16a/0x250 kernel/workqueue.c:1835 wg_queue_enqueue_per_device_and_peer drivers/net/wireguard/queueing.h:176 [inline] wg_packet_consume_data drivers/net/wireguard/receive.c:526 [inline] wg_packet_receive+0x18ef/0x2480 drivers/net/wireguard/receive.c:576 wg_receive+0x75/0xa0 drivers/net/wireguard/socket.c:326 udpv6_queue_rcv_one_skb+0x169f/0x18b0 net/ipv6/udp.c:716 udp6_unicast_rcv_skb+0x230/0x370 net/ipv6/udp.c:921 ip6_protocol_deliver_rcu+0xb11/0x1320 net/ipv6/ip6_input.c:438 ip6_input_finish+0x186/0x2c0 net/ipv6/ip6_input.c:483 NF_HOOK+0x3a1/0x450 include/linux/netfilter.h:314 NF_HOOK+0x3a1/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5532 [inline] __netif_receive_skb+0x1ca/0x530 net/core/dev.c:5646 process_backlog+0x385/0x760 net/core/dev.c:5974 __napi_poll+0xc7/0x470 net/core/dev.c:6536 napi_poll net/core/dev.c:6605 [inline] net_rx_action+0x78b/0x1010 net/core/dev.c:6738 __do_softirq+0x2b8/0x939 kernel/softirq.c:553 do_softirq+0x11b/0x1e0 kernel/softirq.c:454 __local_bh_enable_ip+0x1b7/0x1f0 kernel/softirq.c:381 wg_socket_send_skb_to_peer+0x176/0x1d0 drivers/net/wireguard/socket.c:184 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x1bf/0x810 drivers/net/wireguard/send.c:276 process_one_work kernel/workqueue.c:2627 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2700 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2781 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242