INFO: task syz-executor.2:5695 blocked for more than 143 seconds. Not tainted 6.5.0-rc7-syzkaller-00018-g89bf6209cad6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24584 pid:5695 ppid:5381 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 io_schedule+0x8c/0x100 kernel/sched/core.c:9028 folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1304 __filemap_get_folio+0x90/0xa00 mm/filemap.c:1899 pagecache_get_page+0x2e/0x220 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:639 [inline] ni_readpage_cmpr+0x313/0xa70 fs/ntfs3/frecord.c:2135 ntfs_read_folio+0x19e/0x210 fs/ntfs3/inode.c:716 filemap_read_folio+0x19d/0x7a0 mm/filemap.c:2389 filemap_create_folio mm/filemap.c:2517 [inline] filemap_get_pages+0xdf7/0x20c0 mm/filemap.c:2570 filemap_splice_read+0x4ce/0xcd0 mm/filemap.c:2925 splice_direct_to_actor+0x2c4/0x9e0 fs/splice.c:1072 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1197 do_sendfile+0x623/0x1070 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:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f97bd27cb29 RSP: 002b:00007f97bdf130c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f97bd39bf80 RCX: 00007f97bd27cb29 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f97bd2c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f97bd39bf80 R15: 00007fffa7d0c4b8 INFO: task syz-executor.2:5711 blocked for more than 143 seconds. Not tainted 6.5.0-rc7-syzkaller-00018-g89bf6209cad6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24904 pid:5711 ppid:5381 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 ni_lock fs/ntfs3/ntfs_fs.h:1124 [inline] ntfs_read_folio+0x193/0x210 fs/ntfs3/inode.c:715 filemap_read_folio+0x19d/0x7a0 mm/filemap.c:2389 filemap_create_folio mm/filemap.c:2517 [inline] filemap_get_pages+0xdf7/0x20c0 mm/filemap.c:2570 filemap_splice_read+0x4ce/0xcd0 mm/filemap.c:2925 splice_direct_to_actor+0x2c4/0x9e0 fs/splice.c:1072 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1197 do_sendfile+0x623/0x1070 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:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f97bd27cb29 RSP: 002b:00007f97bdef20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f97bd39c050 RCX: 00007f97bd27cb29 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f97bd2c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f97bd39c050 R15: 00007fffa7d0c4b8 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8d3295f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8d3299b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8d329420 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4771: #0: ffff8880290cc098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2187 3 locks held by syz-executor.2/5695: #0: ffff88805fec4410 (sb_writers#14){.+.+}-{0:0}, at: do_sendfile+0x600/0x1070 fs/read_write.c:1253 #1: ffff8880630b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:826 [inline] #1: ffff8880630b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_create_folio mm/filemap.c:2509 [inline] #1: ffff8880630b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_get_pages+0xb1c/0x20c0 mm/filemap.c:2570 #2: ffff8880630b6fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1124 [inline] #2: ffff8880630b6fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x193/0x210 fs/ntfs3/inode.c:715 3 locks held by syz-executor.2/5711: #0: ffff88805fec4410 (sb_writers#14){.+.+}-{0:0}, at: do_sendfile+0x600/0x1070 fs/read_write.c:1253 #1: ffff8880630b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:826 [inline] #1: ffff8880630b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_create_folio mm/filemap.c:2509 [inline] #1: ffff8880630b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_get_pages+0xb1c/0x20c0 mm/filemap.c:2570 #2: ffff8880630b6fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1124 [inline] #2: ffff8880630b6fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x193/0x210 fs/ntfs3/inode.c:715 3 locks held by syz-executor.0/6369: #0: ffff88807d368410 (sb_writers#14){.+.+}-{0:0}, at: do_sendfile+0x600/0x1070 fs/read_write.c:1253 #1: ffff8880614d9b60 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:826 [inline] #1: ffff8880614d9b60 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_create_folio mm/filemap.c:2509 [inline] #1: ffff8880614d9b60 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_get_pages+0xb1c/0x20c0 mm/filemap.c:2570 #2: ffff8880614d9720 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1124 [inline] #2: ffff8880614d9720 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x193/0x210 fs/ntfs3/inode.c:715 3 locks held by syz-executor.0/6381: #0: ffff88807d368410 (sb_writers#14){.+.+}-{0:0}, at: do_sendfile+0x600/0x1070 fs/read_write.c:1253 #1: ffff8880614d9b60 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:826 [inline] #1: ffff8880614d9b60 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_create_folio mm/filemap.c:2509 [inline] #1: ffff8880614d9b60 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_get_pages+0xb1c/0x20c0 mm/filemap.c:2570 #2: ffff8880614d9720 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1124 [inline] #2: ffff8880614d9720 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x193/0x210 fs/ntfs3/inode.c:715 3 locks held by syz-executor.3/6724: #0: ffff888146e72410 (sb_writers#14){.+.+}-{0:0}, at: do_sendfile+0x600/0x1070 fs/read_write.c:1253 #1: ffff8880615b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:826 [inline] #1: ffff8880615b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_create_folio mm/filemap.c:2509 [inline] #1: ffff8880615b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_get_pages+0xb1c/0x20c0 mm/filemap.c:2570 #2: ffff8880615b6fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1124 [inline] #2: ffff8880615b6fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x193/0x210 fs/ntfs3/inode.c:715 3 locks held by syz-executor.3/6734: #0: ffff888146e72410 (sb_writers#14){.+.+}-{0:0}, at: do_sendfile+0x600/0x1070 fs/read_write.c:1253 #1: ffff8880615b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:826 [inline] #1: ffff8880615b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_create_folio mm/filemap.c:2509 [inline] #1: ffff8880615b73e0 (mapping.invalidate_lock#3){++++}-{3:3}, at: filemap_get_pages+0xb1c/0x20c0 mm/filemap.c:2570 #2: ffff8880615b6fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1124 [inline] #2: ffff8880615b6fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x193/0x210 fs/ntfs3/inode.c:715 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc7-syzkaller-00018-g89bf6209cad6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/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+0x187/0x300 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+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5460 Comm: kworker/u4:6 Not tainted 6.5.0-rc7-syzkaller-00018-g89bf6209cad6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:debug_lockdep_rcu_enabled+0x29/0x30 kernel/rcu/update.c:320 Code: 90 f3 0f 1e fa 31 c0 83 3d 2b a1 db 03 00 74 1d 83 3d 8e d4 db 03 00 74 14 65 48 8b 0d 40 dd 46 75 31 c0 83 b9 c4 0a 00 00 00 <0f> 94 c0 c3 0f 1f 00 66 0f 1f 00 48 8b 3c 24 e8 43 fb ff ff 66 90 RSP: 0018:ffffc90006377bb0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880292a5970 RCX: ffff8880221b0000 RDX: 0000000000000000 RSI: ffffffff8b0aa9e0 RDI: ffffffff8b58ade0 RBP: 0000000000000001 R08: dffffc0000000000 R09: 1ffffffff20f6860 R10: dffffc0000000000 R11: fffffbfff20f6861 R12: 000000000000032e R13: dffffc0000000000 R14: ffff888079144c80 R15: ffff888141a70640 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3fb0781866 CR3: 000000000d130000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:750 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xca/0x5c0 net/batman-adv/network-coding.c:719 process_one_work+0x92c/0x12c0 kernel/workqueue.c:2600 worker_thread+0xa63/0x1210 kernel/workqueue.c:2751 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304