INFO: task syz.6.1539:10294 blocked for more than 143 seconds. Not tainted 6.1.129-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.1539 state:D stack:27856 pid:10294 ppid:6866 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5243 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6560 schedule+0xbf/0x180 kernel/sched/core.c:6636 rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189 inode_lock include/linux/fs.h:758 [inline] open_last_lookups fs/namei.c:3547 [inline] path_openat+0x7b6/0x2e60 fs/namei.c:3780 do_filp_open+0x230/0x480 fs/namei.c:3810 do_sys_openat2+0x13b/0x4f0 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc10ed8d169 RSP: 002b:00007fc10ebde038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc10efa6080 RCX: 00007fc10ed8d169 RDX: 000000000000275a RSI: 0000400000000040 RDI: ffffffffffffff9c RBP: 00007fc10ee0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fc10efa6080 R15: 00007fff95041ae8 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32e850 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32f050 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffffffff8d32e680 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32e680 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32e680 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510 3 locks held by kworker/u4:3/51: 2 locks held by syz.6.1539/10289: 2 locks held by syz.6.1539/10294: #0: ffff888064a22460 (sb_writers#39){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888055710188 (&type->i_mutex_dir_key#31){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff888055710188 (&type->i_mutex_dir_key#31){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3547 [inline] #1: ffff888055710188 (&type->i_mutex_dir_key#31){+.+.}-{3:3}, at: path_openat+0x7b6/0x2e60 fs/namei.c:3780 2 locks held by getty/11358: #0: ffff88814c975098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000d0cb2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x54a/0x1620 drivers/tty/n_tty.c:2198 1 lock held by syz.1.1875/11636: #0: ffff88807091be10 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff88807091be10 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: fuse_flush+0x274/0x950 fs/fuse/file.c:499 3 locks held by syz.1.1875/11637: #0: ffff8880757fcae8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ba/0x360 fs/file.c:1032 #1: ffff8880792f2460 (sb_writers#15){.+.+}-{0:0}, at: vfs_write+0x269/0xbc0 fs/read_write.c:580 #2: ffff88807091be10 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff88807091be10 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: fuse_cache_write_iter fs/fuse/file.c:1324 [inline] #2: ffff88807091be10 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: fuse_file_write_iter+0x2d0/0x10e0 fs/fuse/file.c:1656 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.129-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ca/0x430 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+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11644 Comm: syz.0.1873 Not tainted 6.1.129-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__copy_msghdr net/socket.c:2405 [inline] RIP: 0010:copy_msghdr_from_user+0x232/0x670 net/socket.c:2452 Code: b6 04 30 84 c0 0f 85 55 03 00 00 44 8b a4 24 90 00 00 00 49 8d 5f 44 48 89 d8 48 c1 e8 03 0f b6 04 30 84 c0 0f 85 5f 03 00 00 <44> 89 23 49 8d 7d 08 48 89 f8 48 c1 e8 03 0f b6 04 30 84 c0 0f 85 RSP: 0018:ffffc90004657980 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90004657d64 RCX: ffff88802ab23b80 RDX: ffffc9000ed9b000 RSI: dffffc0000000000 RDI: ffffc90004657a10 RBP: ffffc90004657a90 R08: ffffffff889c0797 R09: fffff520008caf43 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffc900046579e0 R14: ffffc90004657c20 R15: ffffc90004657d20 FS: 00007efc18fde6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff48eb78ab8 CR3: 000000005fcae000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: recvmsg_copy_msghdr net/socket.c:2704 [inline] ___sys_recvmsg net/socket.c:2776 [inline] do_recvmmsg+0x408/0xad0 net/socket.c:2874 __sys_recvmmsg net/socket.c:2953 [inline] __do_sys_recvmmsg net/socket.c:2976 [inline] __se_sys_recvmmsg net/socket.c:2969 [inline] __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2969 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7efc1918d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efc18fde038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007efc193a6080 RCX: 00007efc1918d169 RDX: 0000000000010106 RSI: 00004000000000c0 RDI: 0000000000000007 RBP: 00007efc1920e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efc193a6080 R15: 00007ffd6af5a838