INFO: task syz.0.518:10441 blocked for more than 143 seconds. Not tainted 6.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.518 state:D stack:27256 pid:10441 tgid:10414 ppid:9389 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1675 [inline] sb_start_write include/linux/fs.h:1811 [inline] file_start_write+0x1fd/0x250 include/linux/fs.h:2881 direct_splice_actor+0x49/0x220 fs/splice.c:1163 splice_direct_to_actor+0x58e/0xc90 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x28c/0x3e0 fs/splice.c:1233 do_sendfile+0x56d/0xe20 fs/read_write.c:1295 __do_sys_sendfile64 fs/read_write.c:1362 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1348 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f10d3979e79 RSP: 002b:00007f10d4806038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f10d3b16058 RCX: 00007f10d3979e79 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000008 RBP: 00007f10d39e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000100800001 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f10d3b16058 R15: 00007fffb4afd858 INFO: task syz.0.518:10442 blocked for more than 144 seconds. Not tainted 6.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.518 state:D stack:26352 pid:10442 tgid:10414 ppid:9389 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1675 [inline] sb_start_write+0x184/0x1c0 include/linux/fs.h:1811 mnt_want_write+0x3f/0x90 fs/namespace.c:515 open_last_lookups fs/namei.c:3636 [inline] path_openat+0x779/0x3470 fs/namei.c:3883 do_filp_open+0x235/0x490 fs/namei.c:3913 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_open fs/open.c:1439 [inline] __se_sys_open fs/open.c:1435 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1435 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f10d3979e79 RSP: 002b:00007f10d47e5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f10d3b16130 RCX: 00007f10d3979e79 RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000080 RBP: 00007f10d39e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f10d3b16130 R15: 00007fffb4afd858 INFO: task syz.0.518:10445 blocked for more than 145 seconds. Not tainted 6.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.518 state:D stack:27392 pid:10445 tgid:10414 ppid:9389 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1675 [inline] sb_start_write+0x184/0x1c0 include/linux/fs.h:1811 mnt_want_write_file+0x61/0x200 fs/namespace.c:559 f2fs_ioc_start_atomic_write+0x153/0xaa0 fs/f2fs/file.c:2132 __f2fs_ioctl+0x1b4d/0xb650 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f10d3979e79 RSP: 002b:00007f10d47c4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f10d3b16208 RCX: 00007f10d3979e79 RDX: 0000000000000000 RSI: 000000000000f501 RDI: 0000000000000004 RBP: 00007f10d39e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f10d3b16208 R15: 00007fffb4afd858 INFO: task syz.0.518:10447 blocked for more than 145 seconds. Not tainted 6.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.518 state:D stack:27392 pid:10447 tgid:10414 ppid:9389 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1675 [inline] sb_start_write+0x184/0x1c0 include/linux/fs.h:1811 mnt_want_write+0x3f/0x90 fs/namespace.c:515 open_last_lookups fs/namei.c:3636 [inline] path_openat+0x779/0x3470 fs/namei.c:3883 do_filp_open+0x235/0x490 fs/namei.c:3913 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_open fs/open.c:1439 [inline] __se_sys_open fs/open.c:1435 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1435 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f10d3979e79 RSP: 002b:00007f10d47a3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f10d3b162e0 RCX: 00007f10d3979e79 RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000100 RBP: 00007f10d39e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f10d3b162e0 R15: 00007fffb4afd858 INFO: task syz.0.518:10451 blocked for more than 146 seconds. Not tainted 6.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.518 state:D stack:27392 pid:10451 tgid:10414 ppid:9389 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1675 [inline] sb_start_write+0x184/0x1c0 include/linux/fs.h:1811 mnt_want_write+0x3f/0x90 fs/namespace.c:515 open_last_lookups fs/namei.c:3636 [inline] path_openat+0x779/0x3470 fs/namei.c:3883 do_filp_open+0x235/0x490 fs/namei.c:3913 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1442 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f10d3979e79 RSP: 002b:00007f10d4782038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f10d3b163b8 RCX: 00007f10d3979e79 RDX: 000000000000275a RSI: 00000000200001c0 RDI: ffffffffffffff9c RBP: 00007f10d39e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f10d3b163b8 R15: 00007fffb4afd858 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626 3 locks held by kworker/u8:9/2928: #0: ffff888029a25148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888029a25148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90009bffd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90009bffd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fa72588 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4194 2 locks held by kworker/u8:10/2943: #0: ffff8880b923e998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:560 #1: ffff8880b9228948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:989 2 locks held by getty/4971: #0: ffff88802af3d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz.0.518/10441: #0: ffff88802d37a420 (sb_writers#12){++++}-{0:0}, at: direct_splice_actor+0x49/0x220 fs/splice.c:1163 1 lock held by syz.0.518/10442: #0: ffff88802d37a420 (sb_writers#12){++++}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 1 lock held by syz.0.518/10445: #0: ffff88802d37a420 (sb_writers#12){++++}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:559 1 lock held by syz.0.518/10447: #0: ffff88802d37a420 (sb_writers#12){++++}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 1 lock held by syz.0.518/10451: #0: ffff88802d37a420 (sb_writers#12){++++}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 1 lock held by syz.1.729/12476: #0: ffff88805e966420 (sb_writers#12){++++}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 1 lock held by syz.1.729/12490: #0: ffff88805e966420 (sb_writers#12){++++}-{0:0}, at: direct_splice_actor+0x49/0x220 fs/splice.c:1163 1 lock held by syz.1.729/12491: #0: ffff88805e966420 (sb_writers#12){++++}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 3 locks held by syz-executor/12596: #0: ffffffff8fa72588 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fa72588 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644 #1: ffff8880609d9428 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x22d/0x420 drivers/net/wireguard/device.c:50 #2: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:328 [inline] #2: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:958 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 2636 Comm: kworker/1:2 Not tainted 6.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker RIP: 0010:__bfs kernel/locking/lockdep.c:1736 [inline] RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1843 [inline] RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2803 [inline] RIP: 0010:check_prev_add kernel/locking/lockdep.c:3137 [inline] RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3252 [inline] RIP: 0010:validate_chain+0x1d53/0x5900 kernel/locking/lockdep.c:3868 Code: 85 ed 0f 84 aa 04 00 00 4d 8d 75 10 4c 89 f0 48 c1 e8 03 48 89 44 24 68 42 80 3c 20 00 74 08 4c 89 f7 e8 00 0c 87 00 49 8b 1e <48> 85 db 0f 84 60 27 00 00 48 83 c3 5c 49 89 df 49 c1 ef 03 43 0f RSP: 0018:ffffc9000988eec0 EFLAGS: 00000046 RAX: 1ffffffff28b6e1d RBX: ffffffff931f3860 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc9000988efe0 RBP: ffffc9000988f1c0 R08: ffffffff934f7857 R09: 1ffffffff269ef0a R10: dffffc0000000000 R11: fffffbfff269ef0b R12: dffffc0000000000 R13: ffffffff945b70d8 R14: ffffffff945b70e8 R15: ffffffff945b70d8 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557208e608 CR3: 000000007eebe000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x137a/0x2040 kernel/locking/lockdep.c:5142 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:560 raw_spin_rq_lock kernel/sched/sched.h:1415 [inline] rq_lock kernel/sched/sched.h:1714 [inline] ttwu_queue kernel/sched/core.c:3844 [inline] try_to_wake_up+0x7cc/0x1470 kernel/sched/core.c:4167 kick_pool+0x45c/0x620 kernel/workqueue.c:1281 __queue_work+0xc97/0xf50 kernel/workqueue.c:2342 queue_work_on+0x1c2/0x380 kernel/workqueue.c:2392 wg_queue_enqueue_per_device_and_peer drivers/net/wireguard/queueing.h:176 [inline] wg_packet_create_data drivers/net/wireguard/send.c:320 [inline] wg_packet_send_staged_packets+0x11a0/0x18c0 drivers/net/wireguard/send.c:388 wg_receive_handshake_packet drivers/net/wireguard/receive.c:186 [inline] wg_packet_handshake_receive_worker+0x653/0xf50 drivers/net/wireguard/receive.c:213 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd10 kernel/workqueue.c:3389 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244