INFO: task kworker/u4:3:30357 blocked for more than 143 seconds. Not tainted 6.7.0-syzkaller-04629-g3e7aeb78ab01 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:3 state:D stack:20904 pid:30357 tgid:30357 ppid:2 flags:0x00004000 Workqueue: btrfs-endio-write btrfs_work_helper Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 wait_extent_bit fs/btrfs/extent-io-tree.c:822 [inline] lock_extent+0x69d/0x850 fs/btrfs/extent-io-tree.c:1868 btrfs_finish_one_ordered+0x591/0x16e0 fs/btrfs/inode.c:3092 btrfs_work_helper+0x37c/0xbe0 fs/btrfs/async-thread.c:315 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 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 INFO: task syz-executor.4:22072 blocked for more than 143 seconds. Not tainted 6.7.0-syzkaller-04629-g3e7aeb78ab01 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:21544 pid:22072 tgid:22068 ppid:30561 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 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:387 btrfs_sync_file+0x55d/0x1330 fs/btrfs/file.c:1824 generic_write_sync include/linux/fs.h:2735 [inline] iomap_dio_complete+0x557/0x8e0 fs/iomap/direct-io.c:126 btrfs_direct_write fs/btrfs/file.c:1559 [inline] btrfs_do_write_iter+0x7f4/0x1190 fs/btrfs/file.c:1687 call_write_iter include/linux/fs.h:2085 [inline] iter_file_splice_write+0xa64/0x1320 fs/splice.c:743 do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0xf6/0x1e0 fs/splice.c:1164 splice_direct_to_actor+0x54e/0xc80 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x28c/0x3e0 fs/splice.c:1233 do_sendfile+0x56d/0xdb0 fs/read_write.c:1295 __do_sys_sendfile64 fs/read_write.c:1362 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1348 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f21b367cd29 RSP: 002b:00007f21b44030c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f21b37abf80 RCX: 00007f21b367cd29 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f21b36c947a R08: 0000000000000000 R09: 0000000000000000 R10: 000000007fffffff R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f21b37abf80 R15: 00007ffd2980a1c8 INFO: task syz-executor.4:22150 blocked for more than 144 seconds. Not tainted 6.7.0-syzkaller-04629-g3e7aeb78ab01 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:25008 pid:22150 tgid:22068 ppid:30561 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 wait_extent_bit fs/btrfs/extent-io-tree.c:822 [inline] lock_extent+0x69d/0x850 fs/btrfs/extent-io-tree.c:1868 btrfs_page_mkwrite+0x743/0x10c0 fs/btrfs/inode.c:8176 do_page_mkwrite+0x197/0x470 mm/memory.c:2966 wp_page_shared mm/memory.c:3353 [inline] do_wp_page+0x20e3/0x4c80 mm/memory.c:3493 handle_pte_fault mm/memory.c:5160 [inline] __handle_mm_fault+0x26a3/0x72b0 mm/memory.c:5285 handle_mm_fault+0x27e/0x770 mm/memory.c:5450 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:ffffc9000337f530 EFLAGS: 00050206 RAX: 0000000000000000 RBX: 0000000020001618 RCX: 0000000000000038 RDX: 0000000000000000 RSI: ffffc9000337f5e0 RDI: 00000000200015e0 RBP: ffffc9000337f690 R08: ffffc9000337f617 R09: 1ffff9200066fec2 R10: dffffc0000000000 R11: fffff5200066fec3 R12: 0000000000000038 R13: ffffc9000337f5e0 R14: 00000000200015e0 R15: ffffc9000337f5e0 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:2555 [inline] extent_fiemap+0x1b9c/0x1fe0 fs/btrfs/extent_io.c:3082 btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7844 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+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f21b367cd29 RSP: 002b:00007f21b43e20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f21b37ac050 RCX: 00007f21b367cd29 RDX: 00000000200015c0 RSI: 00000000c020660b RDI: 0000000000000004 RBP: 00007f21b36c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f21b37ac050 R15: 00007ffd2980a1c8 INFO: task syz-executor.4:22179 blocked for more than 144 seconds. Not tainted 6.7.0-syzkaller-04629-g3e7aeb78ab01 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28624 pid:22179 tgid:22068 ppid:30561 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x703/0xa40 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:812 [inline] btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:379 extent_fiemap+0x26e/0x1fe0 fs/btrfs/extent_io.c:2892 btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7844 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+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f21b367cd29 RSP: 002b:00007f21b43c10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f21b37ac120 RCX: 00007f21b367cd29 RDX: 00000000200015c0 RSI: 00000000c020660b RDI: 0000000000000004 RBP: 00007f21b36c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f21b37ac120 R15: 00007ffd2980a1c8 INFO: lockdep is turned off. NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-syzkaller-04629-g3e7aeb78ab01 #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: 11665 Comm: kworker/u4:9 Not tainted 6.7.0-syzkaller-04629-g3e7aeb78ab01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:debug_lockdep_rcu_enabled+0x0/0x30 kernel/rcu/update.c:319 Code: 4c e0 03 00 75 19 90 48 c7 c7 80 a4 6a 8b 48 c7 c6 a0 c8 6a 8b e8 d0 1e 33 f6 90 0f 0b 90 90 90 eb ca 0f 1f 84 00 00 00 00 00 0f 1e fa 31 c0 83 3d c7 19 e0 03 00 74 1d 83 3d e6 4b e0 03 00 RSP: 0018:ffffc9000d8c7b90 EFLAGS: 00000282 RAX: b8524776f1649500 RBX: ffff8880254e8c00 RCX: ffffffff816d7af4 RDX: 0000000000000000 RSI: ffffffff8bbe5ae0 RDI: ffffffff8bbe5aa0 RBP: ffff888054b14480 R08: ffffffff8f01ac6f R09: 1ffffffff1e0358d R10: dffffc0000000000 R11: fffffbfff1e0358e R12: ffff88802d788c80 R13: 0000000000000090 R14: ffff8880254e8c00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558f37071040 CR3: 000000000d732000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:748 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xf5/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 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