INFO: task syz-executor.4:18066 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-14587-g51094a24b85e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:20840 pid:18066 ppid:5101 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xe4f/0x26e0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 ni_lock fs/ntfs3/ntfs_fs.h:1122 [inline] ntfs_read_folio+0x16a/0x1e0 fs/ntfs3/inode.c:702 filemap_read_folio+0x187/0x7d0 mm/filemap.c:2426 filemap_create_folio mm/filemap.c:2555 [inline] filemap_get_pages+0xadb/0x10d0 mm/filemap.c:2607 filemap_read+0x3cf/0xea0 mm/filemap.c:2694 call_read_iter include/linux/fs.h:2180 [inline] generic_file_splice_read+0x1ff/0x5d0 fs/splice.c:309 do_splice_to fs/splice.c:793 [inline] splice_direct_to_actor+0x41b/0xc00 fs/splice.c:865 do_splice_direct+0x279/0x3d0 fs/splice.c:974 do_sendfile+0x5fb/0xf80 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x14f/0x1b0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6cc288c0a9 RSP: 002b:00007f6cc3513168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f6cc29abf80 RCX: 00007f6cc288c0a9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f6cc28e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffca657a64f R14: 00007f6cc3513300 R15: 0000000000022000 INFO: task syz-executor.4:18073 blocked for more than 144 seconds. Not tainted 6.1.0-syzkaller-14587-g51094a24b85e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23912 pid:18073 ppid:5101 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 io_schedule+0x83/0x100 kernel/sched/core.c:8811 folio_wait_bit_common+0x83a/0x12a0 mm/filemap.c:1297 folio_lock include/linux/pagemap.h:938 [inline] truncate_inode_pages_range+0xc7d/0x1690 mm/truncate.c:421 truncate_inode_pages mm/truncate.c:448 [inline] truncate_pagecache mm/truncate.c:743 [inline] truncate_setsize+0xcb/0xf0 mm/truncate.c:768 ntfs_truncate fs/ntfs3/file.c:395 [inline] ntfs3_setattr+0x5a5/0xca0 fs/ntfs3/file.c:696 notify_change+0xe50/0x1100 fs/attr.c:482 do_truncate+0x200/0x2f0 fs/open.c:65 do_sys_ftruncate+0x2b0/0x350 fs/open.c:193 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6cc288c0a9 RSP: 002b:00007f6cb91fe168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f6cc29ac050 RCX: 00007f6cc288c0a9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f6cc28e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffca657a64f R14: 00007f6cb91fe300 R15: 0000000000022000 INFO: task syz-executor.3:18093 blocked for more than 145 seconds. Not tainted 6.1.0-syzkaller-14587-g51094a24b85e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:20152 pid:18093 ppid:5097 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xe4f/0x26e0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 ni_lock fs/ntfs3/ntfs_fs.h:1122 [inline] ntfs_read_folio+0x16a/0x1e0 fs/ntfs3/inode.c:702 filemap_read_folio+0x187/0x7d0 mm/filemap.c:2426 filemap_update_page+0x3ca/0x550 mm/filemap.c:2511 filemap_get_pages+0x888/0x10d0 mm/filemap.c:2624 filemap_read+0x3cf/0xea0 mm/filemap.c:2694 call_read_iter include/linux/fs.h:2180 [inline] generic_file_splice_read+0x1ff/0x5d0 fs/splice.c:309 do_splice_to fs/splice.c:793 [inline] splice_direct_to_actor+0x41b/0xc00 fs/splice.c:865 do_splice_direct+0x279/0x3d0 fs/splice.c:974 do_sendfile+0x5fb/0xf80 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x14f/0x1b0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f11c868c0a9 RSP: 002b:00007f11c94ae168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f11c87abf80 RCX: 00007f11c868c0a9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f11c86e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc9c288bbf R14: 00007f11c94ae300 R15: 0000000000022000 INFO: task syz-executor.3:18095 blocked for more than 145 seconds. Not tainted 6.1.0-syzkaller-14587-g51094a24b85e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24232 pid:18095 ppid:5097 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 io_schedule+0x83/0x100 kernel/sched/core.c:8811 folio_wait_bit_common+0x83a/0x12a0 mm/filemap.c:1297 folio_lock include/linux/pagemap.h:938 [inline] truncate_inode_pages_range+0xc7d/0x1690 mm/truncate.c:421 truncate_inode_pages mm/truncate.c:448 [inline] truncate_pagecache mm/truncate.c:743 [inline] truncate_setsize+0xcb/0xf0 mm/truncate.c:768 ntfs_truncate fs/ntfs3/file.c:395 [inline] ntfs3_setattr+0x5a5/0xca0 fs/ntfs3/file.c:696 notify_change+0xe50/0x1100 fs/attr.c:482 do_truncate+0x200/0x2f0 fs/open.c:65 do_sys_ftruncate+0x2b0/0x350 fs/open.c:193 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f11c868c0a9 RSP: 002b:00007f11c948d168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f11c87ac050 RCX: 00007f11c868c0a9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f11c86e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc9c288bbf R14: 00007f11c948d300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d326e90 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327690 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d326cc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4746: #0: ffff88802816c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.5/5098: #0: ffffffff8d32c338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8d32c338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 3 locks held by kworker/u4:7/5190: 2 locks held by kworker/1:11/5897: #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900155a7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by syz-executor.4/18066: #0: ffff888075584460 (sb_writers#20){.+.+}-{0:0}, at: do_sendfile+0x5d6/0xf80 fs/read_write.c:1254 #1: ffff88804ada47a0 (mapping.invalidate_lock#10){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:811 [inline] #1: ffff88804ada47a0 (mapping.invalidate_lock#10){++++}-{3:3}, at: filemap_create_folio mm/filemap.c:2547 [inline] #1: ffff88804ada47a0 (mapping.invalidate_lock#10){++++}-{3:3}, at: filemap_get_pages+0xa30/0x10d0 mm/filemap.c:2607 #2: ffff88804ada4360 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1122 [inline] #2: ffff88804ada4360 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x16a/0x1e0 fs/ntfs3/inode.c:702 3 locks held by syz-executor.4/18073: #0: ffff888075584460 (sb_writers#20){.+.+}-{0:0}, at: do_sys_ftruncate+0x243/0x350 fs/open.c:190 #1: ffff88804ada4600 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff88804ada4600 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: do_truncate+0x1ec/0x2f0 fs/open.c:63 #2: ffff88804ada4360 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1122 [inline] #2: ffff88804ada4360 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_truncate fs/ntfs3/file.c:393 [inline] #2: ffff88804ada4360 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs3_setattr+0x596/0xca0 fs/ntfs3/file.c:696 3 locks held by syz-executor.3/18093: #0: ffff88804a700460 (sb_writers#20){.+.+}-{0:0}, at: do_sendfile+0x5d6/0xf80 fs/read_write.c:1254 #1: ffff8880733e4040 (mapping.invalidate_lock#10){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:811 [inline] #1: ffff8880733e4040 (mapping.invalidate_lock#10){++++}-{3:3}, at: filemap_update_page+0x72/0x550 mm/filemap.c:2478 #2: ffff8880733e3c00 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1122 [inline] #2: ffff8880733e3c00 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x16a/0x1e0 fs/ntfs3/inode.c:702 3 locks held by syz-executor.3/18095: #0: ffff88804a700460 (sb_writers#20){.+.+}-{0:0}, at: do_sys_ftruncate+0x243/0x350 fs/open.c:190 #1: ffff8880733e3ea0 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff8880733e3ea0 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: do_truncate+0x1ec/0x2f0 fs/open.c:63 #2: ffff8880733e3c00 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1122 [inline] #2: ffff8880733e3c00 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_truncate fs/ntfs3/file.c:393 [inline] #2: ffff8880733e3c00 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs3_setattr+0x596/0xca0 fs/ntfs3/file.c:696 2 locks held by syz-executor.2/20254: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.0-syzkaller-14587-g51094a24b85e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5098 Comm: syz-executor.5 Not tainted 6.1.0-syzkaller-14587-g51094a24b85e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:chain_hlock_class_idx kernel/locking/lockdep.c:434 [inline] RIP: 0010:remove_class_from_lock_chain kernel/locking/lockdep.c:5959 [inline] RIP: 0010:remove_class_from_lock_chains kernel/locking/lockdep.c:5997 [inline] RIP: 0010:zap_class+0x317/0x810 kernel/locking/lockdep.c:6039 Code: 00 00 00 81 fb 00 00 14 00 73 7c 48 63 c3 48 8d ac 00 80 70 21 90 48 89 e8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 35 0f b7 6d 00 <81> e5 ff 1f 00 00 43 0f b6 44 35 00 84 c0 75 36 41 8b 37 89 f7 c1 RSP: 0018:ffffc900049efa68 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 000000000004b34c RCX: ffffffff816c6d44 RDX: 0000000000000001 RSI: 0000000000048c40 RDI: 0000000000048c3b RBP: 0000000000002948 R08: dffffc0000000000 R09: fffffbfff23f9f52 R10: fffffbfff23f9f52 R11: 1ffffffff23f9f51 R12: 0000000000000bf6 R13: 1ffffffff2137ccc R14: dffffc0000000000 R15: ffffffff909be660 FS: 00005555569e3400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0096da000 CR3: 0000000075f45000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lockdep_free_key_range kernel/locking/lockdep.c:6158 [inline] lockdep_unregister_key+0x440/0x5b0 kernel/locking/lockdep.c:6354 wq_unregister_lockdep kernel/workqueue.c:3497 [inline] destroy_workqueue+0x85a/0xed0 kernel/workqueue.c:4464 xlog_dealloc_log+0x16d/0x1b0 fs/xfs/xfs_log.c:2159 xfs_unmountfs+0x1d6/0x280 fs/xfs/xfs_mount.c:1096 xfs_fs_put_super+0x72/0x2d0 fs/xfs/xfs_super.c:1115 generic_shutdown_super+0x130/0x310 fs/super.c:492 kill_block_super+0x79/0xd0 fs/super.c:1386 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 cleanup_mnt+0x494/0x520 fs/namespace.c:1291 task_work_run+0x243/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa1c7e8d517 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff316bdb98 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fa1c7e8d517 RDX: 00007fff316bdc6b RSI: 000000000000000a RDI: 00007fff316bdc60 RBP: 00007fff316bdc60 R08: 00000000ffffffff R09: 00007fff316bda30 R10: 00005555569e48b3 R11: 0000000000000246 R12: 00007fa1c7ee6b24 R13: 00007fff316bed20 R14: 00005555569e4810 R15: 00007fff316bed60