INFO: task syz-executor.2:28619 blocked for more than 143 seconds. Not tainted 6.3.0-rc3-syzkaller-00031-g1e760fa3596e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24344 pid:28619 ppid:5110 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6622 schedule+0xc3/0x180 kernel/sched/core.c:6698 io_schedule+0x8c/0x100 kernel/sched/core.c:8884 folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1301 __filemap_get_folio+0x44e/0xe50 mm/filemap.c:1936 pagecache_get_page+0x2c/0x240 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:632 [inline] ni_readpage_cmpr+0x313/0xa70 fs/ntfs3/frecord.c:2131 ntfs_read_folio+0x19e/0x210 fs/ntfs3/inode.c:703 filemap_read_folio+0x19d/0x7a0 mm/filemap.c:2424 filemap_update_page mm/filemap.c:2508 [inline] filemap_get_pages+0x15a5/0x20c0 mm/filemap.c:2622 filemap_read+0x45a/0x1170 mm/filemap.c:2693 call_read_iter include/linux/fs.h:1845 [inline] generic_file_splice_read+0x240/0x640 fs/splice.c:402 do_splice_to fs/splice.c:885 [inline] splice_direct_to_actor+0x40c/0xbd0 fs/splice.c:956 do_splice_direct+0x283/0x3d0 fs/splice.c:1065 do_sendfile+0x620/0xff0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1309 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:0x7feb0328c0f9 RSP: 002b:00007feaf9bdd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007feb033ac050 RCX: 00007feb0328c0f9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005 RBP: 00007feb032e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff7aca97f R14: 00007feaf9bdd300 R15: 0000000000022000 INFO: task syz-executor.2:28620 blocked for more than 144 seconds. Not tainted 6.3.0-rc3-syzkaller-00031-g1e760fa3596e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24344 pid:28620 ppid:5110 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6622 schedule+0xc3/0x180 kernel/sched/core.c:6698 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757 __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:702 filemap_read_folio+0x19d/0x7a0 mm/filemap.c:2424 filemap_update_page mm/filemap.c:2508 [inline] filemap_get_pages+0x15a5/0x20c0 mm/filemap.c:2622 filemap_read+0x45a/0x1170 mm/filemap.c:2693 call_read_iter include/linux/fs.h:1845 [inline] generic_file_splice_read+0x240/0x640 fs/splice.c:402 do_splice_to fs/splice.c:885 [inline] splice_direct_to_actor+0x40c/0xbd0 fs/splice.c:956 do_splice_direct+0x283/0x3d0 fs/splice.c:1065 do_sendfile+0x620/0xff0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1309 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:0x7feb0328c0f9 RSP: 002b:00007feaf9bbc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007feb033ac120 RCX: 00007feb0328c0f9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005 RBP: 00007feb032e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff7aca97f R14: 00007feaf9bbc300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf255f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf25df0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8cf25420 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4746: #0: ffff888028391098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.5/5104: #0: ffffffff8cf2a8f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #0: ffffffff8cf2a8f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:989 2 locks held by kworker/u4:7/6469: #0: ffff8880b983be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539 #1: ffff8880b9828788 ( &per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:976 2 locks held by kworker/0:21/9556: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc90016d97d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 3 locks held by syz-executor.2/28619: #0: ffff888079922460 (sb_writers#19){.+.+}-{0:0}, at: do_sendfile+0x5fb/0xff0 fs/read_write.c:1254 #1: ffff888034411b60 (mapping.invalidate_lock#7){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:813 [inline] #1: ffff888034411b60 (mapping.invalidate_lock#7){++++}-{3:3}, at: filemap_update_page mm/filemap.c:2474 [inline] #1: ffff888034411b60 (mapping.invalidate_lock#7){++++}-{3:3}, at: filemap_get_pages+0x8b1/0x20c0 mm/filemap.c:2622 #2: ffff888034411720 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1124 [inline] #2: ffff888034411720 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x193/0x210 fs/ntfs3/inode.c:702 3 locks held by syz-executor.2/28620: #0: ffff888079922460 (sb_writers#19){.+.+}-{0:0}, at: do_sendfile+0x5fb/0xff0 fs/read_write.c:1254 #1: ffff888034411b60 (mapping.invalidate_lock#7){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:813 [inline] #1: ffff888034411b60 (mapping.invalidate_lock#7){++++}-{3:3}, at: filemap_update_page mm/filemap.c:2474 [inline] #1: ffff888034411b60 (mapping.invalidate_lock#7){++++}-{3:3}, at: filemap_get_pages+0x8b1/0x20c0 mm/filemap.c:2622 #2: ffff888034411720 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1124 [inline] #2: ffff888034411720 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x193/0x210 fs/ntfs3/inode.c:702 3 locks held by syz-executor.0/30831: 3 locks held by syz-executor.1/30838: #0: ffff8880b993be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539 #1: ffff88807aeaa4b0 (&mm->cid_lock#2){....}-{2:2}, at: mm_cid_get kernel/sched/sched.h:3280 [inline] #1: ffff88807aeaa4b0 (&mm->cid_lock#2){....}-{2:2}, at: switch_mm_cid kernel/sched/sched.h:3302 [inline] #1: ffff88807aeaa4b0 (&mm->cid_lock#2){....}-{2:2}, at: prepare_task_switch kernel/sched/core.c:5114 [inline] #1: ffff88807aeaa4b0 (&mm->cid_lock#2){....}-{2:2}, at: context_switch kernel/sched/core.c:5255 [inline] #1: ffff88807aeaa4b0 (&mm->cid_lock#2){....}-{2:2}, at: __schedule+0x12e4/0x4630 kernel/sched/core.c:6622 #2: ffff88801f44c5a8 (&(&sig->stats_lock)->lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:350 [inline] #2: ffff88801f44c5a8 (&(&sig->stats_lock)->lock){....}-{2:2}, at: write_seqlock include/linux/seqlock.h:886 [inline] #2: ffff88801f44c5a8 (&(&sig->stats_lock)->lock){....}-{2:2}, at: __exit_signal kernel/exit.c:185 [inline] #2: ffff88801f44c5a8 (&(&sig->stats_lock)->lock){....}-{2:2}, at: release_task+0x806/0x16e0 kernel/exit.c:255 1 lock held by syz-executor.2/30842: #0: ffff88807900f768 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc3-syzkaller-00031-g1e760fa3596e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x270/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: 9556 Comm: kworker/0:21 Not tainted 6.3.0-rc3-syzkaller-00031-g1e760fa3596e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: events free_obj_work RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:203 Code: 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa 53 48 89 fb e8 13 00 00 00 48 8b 3d 84 0a c9 0c 48 89 de 5b e9 c3 db 54 00 0f 1f 00 0f 1e fa 48 8b 04 24 65 48 8b 0d 50 47 79 7e 65 8b 15 51 47 79 RSP: 0018:ffffc90016d97ab0 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff88801244f8c0 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: ffffffff8b37fda0 RDI: ffff888089712a48 RBP: ffffc90016d97c50 R08: dffffc0000000000 R09: fffffbfff205be47 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1101307581d R13: ffff888089712a48 R14: ffff888089712a48 R15: ffff8880983ac0e8 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcaed00f98 CR3: 00000000416e6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __phys_addr+0x11/0x170 arch/x86/mm/physaddr.c:16 virt_to_folio include/linux/mm.h:1057 [inline] virt_to_slab+0x5/0xa0 mm/slab.h:185 kmem_cache_free+0x6d/0x520 mm/slub.c:3809 free_obj_work+0x4ff/0x6d0 lib/debugobjects.c:335 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308