INFO: task syz-executor.3:16535 blocked for more than 143 seconds. Not tainted 6.3.0-rc4-syzkaller-00161-g62bad54b26db #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24728 pid:16535 ppid:5112 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 io_schedule+0x8c/0x100 kernel/sched/core.c:8887 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_create_folio mm/filemap.c:2552 [inline] filemap_get_pages+0xdf7/0x20c0 mm/filemap.c:2605 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:0x7fc85908c0f9 RSP: 002b:00007fc859e09168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc8591abf80 RCX: 00007fc85908c0f9 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000007 RBP: 00007fc8590e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0b4569df R14: 00007fc859e09300 R15: 0000000000022000 INFO: task syz-executor.3:16559 blocked for more than 144 seconds. Not tainted 6.3.0-rc4-syzkaller-00161-g62bad54b26db #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24872 pid:16559 ppid:5112 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 io_schedule+0x8c/0x100 kernel/sched/core.c:8887 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] ntfs_get_frame_pages fs/ntfs3/file.c:778 [inline] ntfs_compress_write+0x1055/0x1c20 fs/ntfs3/file.c:929 ntfs_file_write_iter+0x3db/0x6d0 fs/ntfs3/file.c:1068 do_iter_write+0x6ea/0xc50 fs/read_write.c:861 iter_file_splice_write+0x843/0xfe0 fs/splice.c:778 do_splice_from fs/splice.c:856 [inline] direct_splice_actor+0xe7/0x1c0 fs/splice.c:1022 splice_direct_to_actor+0x4c4/0xbd0 fs/splice.c:977 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:0x7fc85908c0f9 RSP: 002b:00007fc859de8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc8591ac050 RCX: 00007fc85908c0f9 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000007 RBP: 00007fc8590e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0b4569df R14: 00007fc859de8300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf255b0 (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: ffffffff8cf25db0 (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: ffffffff8cf253e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4749: #0: ffff8880282e4098 (&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.2/5101: #0: ffffffff8cf2a8b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #0: ffffffff8cf2a8b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:989 1 lock held by syz-executor.4/5111: 2 locks held by kworker/1:15/6137: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363 #1: ffffc90015b47d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365 3 locks held by syz-executor.3/16535: #0: ffff88802ba06460 (sb_writers#18){.+.+}-{0:0}, at: do_sendfile+0x5fb/0xff0 fs/read_write.c:1254 #1: ffff888033fd0540 (mapping.invalidate_lock#5){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:813 [inline] #1: ffff888033fd0540 (mapping.invalidate_lock#5){++++}-{3:3}, at: filemap_create_folio mm/filemap.c:2544 [inline] #1: ffff888033fd0540 (mapping.invalidate_lock#5){++++}-{3:3}, at: filemap_get_pages+0xb1c/0x20c0 mm/filemap.c:2605 #2: ffff888033fd0100 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1124 [inline] #2: ffff888033fd0100 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0x193/0x210 fs/ntfs3/inode.c:702 2 locks held by syz-executor.3/16559: #0: ffff88802ba06460 (sb_writers#18){.+.+}-{0:0}, at: do_sendfile+0x5fb/0xff0 fs/read_write.c:1254 #1: ffff888033fd03a0 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff888033fd03a0 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: ntfs_file_write_iter+0x260/0x6d0 fs/ntfs3/file.c:1051 1 lock held by syz-executor.1/18908: 1 lock held by syz-executor.3/18896: #0: ffff88802b116460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x5fb/0xff0 fs/read_write.c:1254 4 locks held by syz-executor.3/18898: #0: ffffffff8d653a88 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x380 drivers/char/misc.c:129 #1: ffffffff8cddbee8 (system_transition_mutex){+.+.}-{3:3}, at: lock_system_sleep+0x5f/0xa0 kernel/power/main.c:28 #2: ffffffff8cdf9b90 ((pm_chain_head).rwsem){++++}-{3:3}, at: blocking_notifier_call_chain_robust+0x57/0x90 kernel/notifier.c:346 #3: ffffffff8cf2a780 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x540 kernel/rcu/tree.c:3945 1 lock held by syz-executor.4/18906: #0: ffffffff8d653a88 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x5c/0x380 drivers/char/misc.c:129 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc4-syzkaller-00161-g62bad54b26db #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: 11 Comm: kworker/u4:1 Not tainted 6.3.0-rc4-syzkaller-00161-g62bad54b26db #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: wg-kex-wg0 wg_packet_handshake_send_worker RIP: 0010:fsqr arch/x86/crypto/curve25519-x86_64.c:672 [inline] RIP: 0010:fsquare_times arch/x86/crypto/curve25519-x86_64.c:1120 [inline] RIP: 0010:finv arch/x86/crypto/curve25519-x86_64.c:1153 [inline] RIP: 0010:encode_point+0x7b1d/0x8470 arch/x86/crypto/curve25519-x86_64.c:1217 Code: 07 4c 89 e6 48 8d bc 24 40 01 00 00 48 8b 16 c4 62 bb f6 76 08 45 31 ff c4 62 b3 f6 56 10 66 4d 0f 38 f6 ce c4 e2 fb f6 4e 18 <66> 4c 0f 38 f6 d0 48 8b 56 18 c4 e2 a3 f6 5e 08 66 4c 0f 38 f6 d9 RSP: 0018:ffffc90000107220 EFLAGS: 00000247 RAX: 34bc1f8d23a11ece RBX: 0000000000000003 RCX: 23fae281fe3e6fdb RDX: 368b56d8a699d7ba RSI: ffffc900001072e0 RDI: ffffc90000107360 RBP: ffffc90000107450 R08: d520ce6d2509869e R09: 0dbcaaf1111caa49 R10: 0fbdd65ee65e144b R11: a8deac29b4156613 R12: ffffc900001072e0 R13: 000000000000000b R14: 26f35b5798969fcf R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb182543000 CR3: 000000000cd30000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: curve25519_ever64_base arch/x86/crypto/curve25519-x86_64.c:1587 [inline] curve25519_base_arch+0x3533/0x3600 arch/x86/crypto/curve25519-x86_64.c:1609 curve25519_generate_public include/crypto/curve25519.h:55 [inline] wg_noise_handshake_create_initiation+0x452/0xf20 drivers/net/wireguard/noise.c:542 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:34 [inline] wg_packet_handshake_send_worker+0x15b/0x320 drivers/net/wireguard/send.c:51 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