INFO: task syz.4.97:6278 blocked for more than 143 seconds. Not tainted 6.14.0-rc1-next-20250207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.97 state:D stack:25792 pid:6278 tgid:6273 ppid:5834 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6913 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:877 [inline] open_last_lookups fs/namei.c:3742 [inline] path_openat+0x8b2/0x35b0 fs/namei.c:3981 do_filp_open+0x282/0x4e0 fs/namei.c:4011 do_sys_openat2+0x13f/0x1c0 fs/open.c:1428 do_sys_open fs/open.c:1443 [inline] __do_sys_open fs/open.c:1451 [inline] __se_sys_open fs/open.c:1447 [inline] __x64_sys_open+0x225/0x280 fs/open.c:1447 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:0x7fdf9cf8cde9 RSP: 002b:00007fdf9deaf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fdf9d1a6080 RCX: 00007fdf9cf8cde9 RDX: 0000000000000000 RSI: 0000000000145142 RDI: 0000400000000040 RBP: 00007fdf9d00e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdf9d1a6080 R15: 00007ffea027e1b8 INFO: task syz.4.97:6279 blocked for more than 144 seconds. Not tainted 6.14.0-rc1-next-20250207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.97 state:D stack:27328 pid:6279 tgid:6273 ppid:5834 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6913 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:877 [inline] open_last_lookups fs/namei.c:3742 [inline] path_openat+0x8b2/0x35b0 fs/namei.c:3981 do_filp_open+0x282/0x4e0 fs/namei.c:4011 do_sys_openat2+0x13f/0x1c0 fs/open.c:1428 do_sys_open fs/open.c:1443 [inline] __do_sys_open fs/open.c:1451 [inline] __se_sys_open fs/open.c:1447 [inline] __x64_sys_open+0x225/0x280 fs/open.c:1447 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:0x7fdf9cf8cde9 RSP: 002b:00007fdf9de8e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fdf9d1a6160 RCX: 00007fdf9cf8cde9 RDX: 0000000000000000 RSI: 0000000400141042 RDI: 0000400000000080 RBP: 00007fdf9d00e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fdf9d1a6160 R15: 00007ffea027e1b8 INFO: task syz.4.97:6281 blocked for more than 145 seconds. Not tainted 6.14.0-rc1-next-20250207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.97 state:D stack:27328 pid:6281 tgid:6273 ppid:5834 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6913 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:912 [inline] filename_create+0x263/0x540 fs/namei.c:4077 do_mkdirat+0xbd/0x3a0 fs/namei.c:4323 __do_sys_mkdirat fs/namei.c:4346 [inline] __se_sys_mkdirat fs/namei.c:4344 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4344 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:0x7fdf9cf8b657 RSP: 002b:00007fdf9de6ce68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fdf9de6cef0 RCX: 00007fdf9cf8b657 RDX: 00000000000001ff RSI: 0000400000002080 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000400000002080 R13: 00007fdf9de6ceb0 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz.4.97:6284 blocked for more than 145 seconds. Not tainted 6.14.0-rc1-next-20250207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.97 state:D stack:26000 pid:6284 tgid:6273 ppid:5834 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6913 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:912 [inline] filename_create+0x263/0x540 fs/namei.c:4077 do_symlinkat+0xf9/0x3a0 fs/namei.c:4685 __do_sys_symlink fs/namei.c:4713 [inline] __se_sys_symlink fs/namei.c:4711 [inline] __x64_sys_symlink+0x7a/0x90 fs/namei.c:4711 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:0x7fdf9cf8cde9 RSP: 002b:00007fdf9de4c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 RAX: ffffffffffffffda RBX: 00007fdf9d1a6320 RCX: 00007fdf9cf8cde9 RDX: 0000000000000000 RSI: 00004000000001c0 RDI: 0000400000000580 RBP: 00007fdf9d00e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdf9d1a6320 R15: 00007ffea027e1b8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e9389a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e9389a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e9389a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746 2 locks held by getty/5587: #0: ffff8880358520a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz.4.97/6274: 2 locks held by syz.4.97/6278: #0: ffff888030146420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556 #1: ffff888078b94180 (&type->i_mutex_dir_key#12){++++}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline] #1: ffff888078b94180 (&type->i_mutex_dir_key#12){++++}-{4:4}, at: open_last_lookups fs/namei.c:3742 [inline] #1: ffff888078b94180 (&type->i_mutex_dir_key#12){++++}-{4:4}, at: path_openat+0x8b2/0x35b0 fs/namei.c:3981 2 locks held by syz.4.97/6279: #0: ffff888030146420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556 #1: ffff888078b94180 (&type->i_mutex_dir_key#12){++++}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline] #1: ffff888078b94180 (&type->i_mutex_dir_key#12){++++}-{4:4}, at: open_last_lookups fs/namei.c:3742 [inline] #1: ffff888078b94180 (&type->i_mutex_dir_key#12){++++}-{4:4}, at: path_openat+0x8b2/0x35b0 fs/namei.c:3981 2 locks held by syz.4.97/6281: #0: ffff888030146420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556 #1: ffff888078b94180 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:912 [inline] #1: ffff888078b94180 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: filename_create+0x263/0x540 fs/namei.c:4077 2 locks held by syz.4.97/6284: #0: ffff888030146420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556 #1: ffff888078b94180 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:912 [inline] #1: ffff888078b94180 (&type->i_mutex_dir_key#12/1){+.+.}-{4:4}, at: filename_create+0x263/0x540 fs/namei.c:4077 2 locks held by kworker/u8:17/7780: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.14.0-rc1-next-20250207-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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:236 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:399 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 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: 5842 Comm: syz-executor Not tainted 6.14.0-rc1-next-20250207-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__lock_release kernel/locking/lockdep.c:5535 [inline] RIP: 0010:lock_release+0x2a0/0xa30 kernel/locking/lockdep.c:5872 Code: 34 e6 4c 89 f7 48 8b 74 24 18 e8 1b 02 5f 0a 89 5c 24 44 89 da 85 c0 0f 84 f0 01 00 00 4d 85 f6 0f 84 1b 03 00 00 49 8d 5e 24 <48> 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 2a 05 00 00 83 3b RSP: 0018:ffffc90003fbf580 EFLAGS: 00000086 RAX: 0000000000000001 RBX: ffff888069570b3c RCX: ffffc90003fbf603 RDX: 0000000000000001 RSI: ffff88802a888f28 RDI: ffff888069570b18 RBP: ffffc90003fbf6a8 R08: ffffffff901bb677 R09: 1ffffffff20376ce R10: dffffc0000000000 R11: fffffbfff20376cf R12: 0000000000000005 R13: 0000000000000001 R14: ffff888069570b18 R15: dffffc0000000000 FS: 0000555573962500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffef6d94e08 CR3: 00000000605ce000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] filemap_remove_folio+0x19a/0x1f0 mm/filemap.c:260 truncate_inode_folio+0x5d/0x70 mm/truncate.c:176 shmem_undo_range+0x44b/0x1820 mm/shmem.c:1108 shmem_truncate_range mm/shmem.c:1224 [inline] shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1352 evict+0x4e8/0x9a0 fs/inode.c:796 do_unlinkat+0x512/0x830 fs/namei.c:4591 __do_sys_unlink fs/namei.c:4632 [inline] __se_sys_unlink fs/namei.c:4630 [inline] __x64_sys_unlink+0x47/0x50 fs/namei.c:4630 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:0x7fe61fb8c397 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 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:00007ffef6d955b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe61fb8c397 RDX: 00007ffef6d955e0 RSI: 00007ffef6d95670 RDI: 00007ffef6d95670 RBP: 00007ffef6d95670 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffef6d96700 R13: 00007fe61fc0e08c R14: 00000000000447d9 R15: 00007ffef6d96740