INFO: task syz-executor.0:18916 blocked for more than 143 seconds. Not tainted 6.1.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:20824 pid:18916 ppid:3660 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6656 __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:1108 [inline] attr_data_get_block+0x301/0x2370 fs/ntfs3/attrib.c:917 ntfs_get_block_vbo+0x310/0xe40 fs/ntfs3/inode.c:564 do_mpage_readpage+0x970/0x1c50 fs/mpage.c:208 mpage_readahead+0x210/0x380 fs/mpage.c:361 read_pages+0x169/0x9c0 mm/readahead.c:161 page_cache_ra_unbounded+0x703/0x820 mm/readahead.c:270 filemap_readahead mm/filemap.c:2557 [inline] filemap_get_pages+0x72f/0x10d0 mm/filemap.c:2597 filemap_read+0x3cf/0xea0 mm/filemap.c:2675 call_read_iter include/linux/fs.h:2193 [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:0x7fb25d88c0d9 RSP: 002b:00007fb25e6a3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb25d9abf80 RCX: 00007fb25d88c0d9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007fb25d8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000001000fc4 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcfea2aedf R14: 00007fb25e6a3300 R15: 0000000000022000 INFO: task syz-executor.0:18928 blocked for more than 144 seconds. Not tainted 6.1.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:20312 pid:18928 ppid:3660 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x231/0x270 kernel/locking/rwsem.c:1563 inode_lock include/linux/fs.h:756 [inline] ntfs_file_write_iter+0x25a/0x6c0 fs/ntfs3/file.c:1146 do_iter_write+0x6c2/0xc20 fs/read_write.c:861 iter_file_splice_write+0x7fc/0xfc0 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0xe6/0x1c0 fs/splice.c:931 splice_direct_to_actor+0x4e4/0xc00 fs/splice.c:886 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:0x7fb25d88c0d9 RSP: 002b:00007fb25e682168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb25d9ac050 RCX: 00007fb25d88c0d9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fb25d8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcfea2aedf R14: 00007fb25e682300 R15: 0000000000022000 INFO: task syz-executor.0:18933 blocked for more than 145 seconds. Not tainted 6.1.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:21912 pid:18933 ppid:3660 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 io_schedule+0x83/0x100 kernel/sched/core.c:8741 folio_wait_bit_common+0x83a/0x12a0 mm/filemap.c:1296 folio_lock include/linux/pagemap.h:939 [inline] truncate_inode_pages_range+0xc9d/0x17f0 mm/truncate.c:423 truncate_inode_pages mm/truncate.c:452 [inline] truncate_pagecache mm/truncate.c:753 [inline] truncate_setsize+0xcb/0xf0 mm/truncate.c:778 ntfs_truncate fs/ntfs3/file.c:491 [inline] ntfs3_setattr+0x4f2/0xb00 fs/ntfs3/file.c:792 notify_change+0xe38/0x10f0 fs/attr.c:420 do_truncate+0x1fb/0x2e0 fs/open.c:65 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x2770/0x2df0 fs/namei.c:3714 do_filp_open+0x264/0x4f0 fs/namei.c:3741 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_open fs/open.c:1334 [inline] __se_sys_open fs/open.c:1330 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1330 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:0x7fb25d88c0d9 RSP: 002b:00007fb25e640168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fb25d9ac1f0 RCX: 00007fb25d88c0d9 RDX: 0000000000000080 RSI: 00000000001ebb42 RDI: 0000000020000180 RBP: 00007fb25d8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcfea2aedf R14: 00007fb25e640300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d1272b0 (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: ffffffff8d127ab0 (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: ffffffff8d1270e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3308: #0: ffff8880287fe098 (&tty->ldisc_sem){++++}-{0:0} , at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.1/3661: #0: ffffffff8d12c6b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #0: ffffffff8d12c6b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946 1 lock held by syz-executor.5/3678: #0: ffffffff8d12c6b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8d12c6b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 2 locks held by kworker/u4:12/6692: 3 locks held by syz-executor.0/18916: #0: ffff888040ec2460 (sb_writers#19){.+.+}-{0:0}, at: do_sendfile+0x5d6/0xf80 fs/read_write.c:1254 #1: ffff888029b7b8e0 (mapping.invalidate_lock#12){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:811 [inline] #1: ffff888029b7b8e0 (mapping.invalidate_lock#12){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xe9/0x820 mm/readahead.c:226 #2: ffff888029b7b4a0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1108 [inline] #2: ffff888029b7b4a0 (&ni->ni_lock/4){+.+.}-{3:3}, at: attr_data_get_block+0x301/0x2370 fs/ntfs3/attrib.c:917 2 locks held by syz-executor.0/18928: #0: ffff888040ec2460 (sb_writers#19){.+.+}-{0:0}, at: do_sendfile+0x5d6/0xf80 fs/read_write.c:1254 #1: ffff888029b7b740 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff888029b7b740 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: ntfs_file_write_iter+0x25a/0x6c0 fs/ntfs3/file.c:1146 3 locks held by syz-executor.0/18933: #0: ffff888040ec2460 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888029b7b740 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff888029b7b740 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: do_truncate+0x1e7/0x2e0 fs/open.c:63 #2: ffff888029b7b4a0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1108 [inline] #2: ffff888029b7b4a0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_truncate fs/ntfs3/file.c:489 [inline] #2: ffff888029b7b4a0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs3_setattr+0x4e3/0xb00 fs/ntfs3/file.c:792 2 locks held by kworker/0:14/19288: #0: ffff888012866538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900048f7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 1 lock held by syz-executor.3/22065: #0: ffff8880b9839dd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc7-syzkaller #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/0x28e 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+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5077 Comm: syz-executor.4 Not tainted 6.1.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:lock_acquire+0x81/0x3c0 kernel/locking/lockdep.c:5636 Code: 4c 8d 6c 24 20 49 c1 ed 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4b 89 44 25 00 43 c7 44 25 09 f2 f2 f2 00 43 c7 44 25 11 f3 f3 f3 f3 <66> 43 c7 44 25 15 f3 f3 43 c6 44 25 17 f3 89 54 24 0c 89 4c 24 08 RSP: 0018:ffffc900049371e0 EFLAGS: 00000a02 RAX: f2f2f200f1f1f1f1 RBX: ffffffff8d1270e0 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8d1270e0 RBP: ffffc90004937308 R08: 0000000000000000 R09: 0000000000000000 R10: fffff52000926e84 R11: 1ffff92000926e82 R12: dffffc0000000000 R13: 1ffff92000926e40 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555556559400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31525000 CR3: 0000000046412000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:304 rcu_read_lock include/linux/rcupdate.h:738 [inline] is_bpf_text_address+0x27/0x270 kernel/bpf/core.c:713 kernel_text_address+0x9e/0xd0 kernel/extable.c:125 __kernel_text_address+0x9/0x40 kernel/extable.c:79 unwind_get_return_address+0x48/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0x98/0xe0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x104/0x1e0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x3d/0x60 mm/kasan/common.c:52 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:511 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1724 [inline] slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1750 slab_free mm/slub.c:3661 [inline] kmem_cache_free+0x94/0x1d0 mm/slub.c:3683 free_buffer_head+0x45/0xb0 fs/buffer.c:2915 try_to_free_buffers+0x335/0x640 fs/buffer.c:2856 block_invalidate_folio+0x661/0xa60 fs/buffer.c:1526 folio_invalidate mm/truncate.c:159 [inline] truncate_cleanup_folio+0x1be/0x5c0 mm/truncate.c:179 truncate_inode_pages_range+0x2c8/0x17f0 mm/truncate.c:369 kill_bdev block/bdev.c:76 [inline] blkdev_flush_mapping+0x153/0x2c0 block/bdev.c:662 blkdev_put_whole block/bdev.c:693 [inline] blkdev_put+0x4a5/0x730 block/bdev.c:953 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 cleanup_mnt+0x494/0x520 fs/namespace.c:1186 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:0x7fb8ce48d547 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:00007ffdc5503cc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb8ce48d547 RDX: 00007ffdc5503d9b RSI: 000000000000000a RDI: 00007ffdc5503d90 RBP: 00007ffdc5503d90 R08: 00000000ffffffff R09: 00007ffdc5503b60 R10: 000055555655a8b3 R11: 0000000000000246 R12: 00007fb8ce4e6b24 R13: 00007ffdc5504e50 R14: 000055555655a810 R15: 00007ffdc5504e90