INFO: task syz-executor.1:5594 blocked for more than 143 seconds. Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:22736 pid:5594 tgid:5593 ppid:5090 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 lock_extent_direct fs/btrfs/inode.c:7157 [inline] btrfs_dio_iomap_begin+0x5af/0x10b0 fs/btrfs/inode.c:7521 iomap_iter+0x677/0xee0 fs/iomap/iter.c:91 __iomap_dio_rw+0xdcf/0x2330 fs/iomap/direct-io.c:658 iomap_dio_rw+0x46/0xa0 fs/iomap/direct-io.c:748 btrfs_dio_read+0xb6/0x100 fs/btrfs/inode.c:7789 btrfs_direct_read fs/btrfs/file.c:3778 [inline] btrfs_file_read_iter+0x39e/0x6b0 fs/btrfs/file.c:3817 call_read_iter include/linux/fs.h:2014 [inline] copy_splice_read+0x4c9/0x9c0 fs/splice.c:364 splice_direct_to_actor+0x2c4/0x9e0 fs/splice.c:1069 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1194 do_sendfile+0x62c/0x1000 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 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:0x7f1c4727cba9 RSP: 002b:00007f1c480770c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f1c4739bf80 RCX: 00007f1c4727cba9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f1c472c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008800000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1c4739bf80 R15: 00007ffdc27f66d8 INFO: task syz-executor.1:5664 blocked for more than 144 seconds. Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:20336 pid:5664 tgid:5593 ppid:5090 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 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] btrfs_inode_lock+0x4d/0xd0 fs/btrfs/inode.c:378 btrfs_sync_file+0x55d/0x1330 fs/btrfs/file.c:1821 generic_write_sync include/linux/fs.h:2653 [inline] btrfs_do_write_iter+0xbc5/0x1190 fs/btrfs/file.c:1694 do_iter_readv_writev+0x330/0x4a0 do_iter_write+0x1f6/0x8d0 fs/read_write.c:860 iter_file_splice_write+0x86d/0x1010 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0xea/0x1c0 fs/splice.c:1142 splice_direct_to_actor+0x376/0x9e0 fs/splice.c:1088 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1194 do_sendfile+0x62c/0x1000 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 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:0x7f1c4727cba9 RSP: 002b:00007f1c480560c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f1c4739c050 RCX: 00007f1c4727cba9 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 0000000000000008 RBP: 00007f1c472c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1c4739c050 R15: 00007ffdc27f66d8 INFO: task syz-executor.1:5666 blocked for more than 145 seconds. Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:22704 pid:5666 tgid:5593 ppid:5090 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:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2ad/0x870 arch/x86/mm/fault.c:1561 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:ffffc9000a18f4d0 EFLAGS: 00050206 RAX: 0000000000000000 RBX: 0000000020000118 RCX: 0000000000000038 RDX: 0000000000000000 RSI: ffffc9000a18f580 RDI: 00000000200000e0 RBP: ffffc9000a18f638 R08: ffffc9000a18f5b7 R09: 1ffff92001431eb6 R10: dffffc0000000000 R11: fffff52001431eb7 R12: 0000000000000038 R13: ffffc9000a18f580 R14: 00000000200000e0 R15: ffffc9000a18f580 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_fiemap_extent+0x258/0x410 fs/btrfs/extent_io.c:2477 extent_fiemap+0xeee/0x1fe0 fs/btrfs/extent_io.c:2967 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:0x7f1c4727cba9 RSP: 002b:00007f1c480350c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1c4739c120 RCX: 00007f1c4727cba9 RDX: 00000000200000c0 RSI: 00000000c020660b RDI: 0000000000000006 RBP: 00007f1c472c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1c4739c120 R15: 00007ffdc27f66d8 INFO: task syz-executor.3:5602 blocked for more than 146 seconds. Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:21752 pid:5602 tgid:5601 ppid:5089 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 lock_extent_direct fs/btrfs/inode.c:7157 [inline] btrfs_dio_iomap_begin+0x5af/0x10b0 fs/btrfs/inode.c:7521 iomap_iter+0x677/0xee0 fs/iomap/iter.c:91 __iomap_dio_rw+0xdcf/0x2330 fs/iomap/direct-io.c:658 iomap_dio_rw+0x46/0xa0 fs/iomap/direct-io.c:748 btrfs_dio_read+0xb6/0x100 fs/btrfs/inode.c:7789 btrfs_direct_read fs/btrfs/file.c:3778 [inline] btrfs_file_read_iter+0x39e/0x6b0 fs/btrfs/file.c:3817 call_read_iter include/linux/fs.h:2014 [inline] copy_splice_read+0x4c9/0x9c0 fs/splice.c:364 splice_direct_to_actor+0x2c4/0x9e0 fs/splice.c:1069 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1194 do_sendfile+0x62c/0x1000 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 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:0x7fb4d767cba9 RSP: 002b:00007fb4d840c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb4d779bf80 RCX: 00007fb4d767cba9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007fb4d76c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008800000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fb4d779bf80 R15: 00007ffdb646bac8 INFO: task syz-executor.3:5670 blocked for more than 147 seconds. Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:18064 pid:5670 tgid:5601 ppid:5089 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 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] btrfs_inode_lock+0x4d/0xd0 fs/btrfs/inode.c:378 btrfs_sync_file+0x55d/0x1330 fs/btrfs/file.c:1821 generic_write_sync include/linux/fs.h:2653 [inline] btrfs_do_write_iter+0xbc5/0x1190 fs/btrfs/file.c:1694 do_iter_readv_writev+0x330/0x4a0 do_iter_write+0x1f6/0x8d0 fs/read_write.c:860 iter_file_splice_write+0x86d/0x1010 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0xea/0x1c0 fs/splice.c:1142 splice_direct_to_actor+0x376/0x9e0 fs/splice.c:1088 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1194 do_sendfile+0x62c/0x1000 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 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:0x7fb4d767cba9 RSP: 002b:00007fb4d83eb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb4d779c050 RCX: 00007fb4d767cba9 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 0000000000000008 RBP: 00007fb4d76c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fb4d779c050 R15: 00007ffdb646bac8 INFO: task syz-executor.3:5676 blocked for more than 148 seconds. Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:21040 pid:5676 tgid:5601 ppid:5089 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:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2ad/0x870 arch/x86/mm/fault.c:1561 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:ffffc9000a19f4d0 EFLAGS: 00050206 RAX: 0000000000000000 RBX: 0000000020000118 RCX: 0000000000000038 RDX: 0000000000000000 RSI: ffffc9000a19f580 RDI: 00000000200000e0 RBP: ffffc9000a19f638 R08: ffffc9000a19f5b7 R09: 1ffff92001433eb6 R10: dffffc0000000000 R11: fffff52001433eb7 R12: 0000000000000038 R13: ffffc9000a19f580 R14: 00000000200000e0 R15: ffffc9000a19f580 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_fiemap_extent+0x258/0x410 fs/btrfs/extent_io.c:2477 extent_fiemap+0xeee/0x1fe0 fs/btrfs/extent_io.c:2967 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:0x7fb4d767cba9 RSP: 002b:00007fb4d83ca0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb4d779c120 RCX: 00007fb4d767cba9 RDX: 00000000200000c0 RSI: 00000000c020660b RDI: 0000000000000006 RBP: 00007fb4d76c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fb4d779c120 R15: 00007ffdb646bac8 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/u4:4/77: 1 lock held by udevd/4513: 2 locks held by getty/4812: #0: ffff88814b0b60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by syz-executor.0/5092: 2 locks held by syz-executor.1/5594: #0: ffff88803882c418 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x607/0x1000 fs/read_write.c:1253 #1: ffff888036b05910 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #1: ffff888036b05910 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:370 2 locks held by syz-executor.1/5664: #0: ffff88803882c418 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x607/0x1000 fs/read_write.c:1253 #1: ffff888036b05910 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff888036b05910 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: btrfs_inode_lock+0x4d/0xd0 fs/btrfs/inode.c:378 4 locks held by syz-executor.1/5666: #0: ffff888036b05910 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff888036b05910 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:370 #1: ffff88807cb560a0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline] #1: ffff88807cb560a0 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5372 [inline] #1: ffff88807cb560a0 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2d0 mm/memory.c:5432 #2: ffff88803882c510 (sb_pagefaults#2){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2944 #3: ffff888036b05798 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x49c/0xd10 fs/btrfs/inode.c:8147 2 locks held by syz-executor.3/5602: #0: ffff8880384c6418 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x607/0x1000 fs/read_write.c:1253 #1: ffff888036b0a160 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #1: ffff888036b0a160 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:370 2 locks held by syz-executor.3/5670: #0: ffff8880384c6418 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x607/0x1000 fs/read_write.c:1253 #1: ffff888036b0a160 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff888036b0a160 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: btrfs_inode_lock+0x4d/0xd0 fs/btrfs/inode.c:378 4 locks held by syz-executor.3/5676: #0: ffff888036b0a160 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff888036b0a160 (&sb->s_type->i_mutex_key#26){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:370 #1: ffff88802abb9e20 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline] #1: ffff88802abb9e20 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5372 [inline] #1: ffff88802abb9e20 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2d0 mm/memory.c:5432 #2: ffff8880384c6510 (sb_pagefaults#2){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2944 #3: ffff888036b09fe8 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x49c/0xd10 fs/btrfs/inode.c:8147 5 locks held by syz-executor.0/8277: 2 locks held by syz-executor.1/8282: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7136 Comm: kworker/u4:8 Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_switch+0x9c/0x110 kernel/kcov.c:341 Code: 00 00 00 4d 85 d2 0f 84 8a 00 00 00 4c 8b 4c 24 20 65 4c 8b 1d 45 4c 75 7e 31 d2 eb 08 48 ff c2 49 39 d2 74 71 4c 8b 74 d6 10 <65> 8b 05 35 4c 75 7e a9 00 01 ff 00 74 11 a9 00 01 00 00 74 de 41 RSP: 0018:ffffc900052175c0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8880909fbb80 RDX: 0000000000000006 RSI: ffffffff8d79dc80 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000005 R09: ffffffff813db5e3 R10: 0000000000000008 R11: ffff8880909fbb80 R12: ffffffff8f184348 R13: dffffc0000000000 R14: 0000000000000008 R15: 1ffff92000a42ed8 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f39dce12d58 CR3: 00000000290c2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x7c3/0x29e0 arch/x86/kernel/unwind_orc.c:515 arch_stack_walk+0x146/0x1a0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4f/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x28/0x40 mm/kasan/generic.c:522 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1800 [inline] slab_free_freelist_hook mm/slub.c:1826 [inline] slab_free mm/slub.c:3809 [inline] kmem_cache_free+0x299/0x470 mm/slub.c:3831 kfree_skb include/linux/skbuff.h:1234 [inline] ieee80211_iface_work+0x26c/0xd90 net/mac80211/iface.c:1645 cfg80211_wiphy_work+0x21e/0x250 net/wireless/core.c:437 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