INFO: task syz-executor.4:13806 blocked for more than 143 seconds. Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29072 pid:13806 tgid:13798 ppid:12517 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:805 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2485 filename_lookup+0x1e5/0x5b0 fs/namei.c:2514 user_path_at_empty+0x42/0x60 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3689 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x1ff/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f21a347dd69 RSP: 002b:00007f21a420d0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f21a35ac050 RCX: 00007f21a347dd69 RDX: 00000000200007c0 RSI: 0000000020000780 RDI: 0000000000000000 RBP: 00007f21a34ca49e R08: 0000000020000800 R09: 0000000000000000 R10: 0000000000040000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f21a35ac050 R15: 00007ffc02f3a448 INFO: task syz-executor.4:13807 blocked for more than 144 seconds. Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29392 pid:13807 tgid:13798 ppid:12517 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:795 [inline] open_last_lookups fs/namei.c:3563 [inline] path_openat+0x8c7/0x2990 fs/namei.c:3796 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_creat fs/open.c:1497 [inline] __se_sys_creat fs/open.c:1491 [inline] __x64_sys_creat+0xcd/0x120 fs/open.c:1491 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f21a347dd69 RSP: 002b:00007f21a41ec0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f21a35ac120 RCX: 00007f21a347dd69 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300 RBP: 00007f21a34ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f21a35ac120 R15: 00007ffc02f3a448 INFO: task syz-executor.4:13810 blocked for more than 144 seconds. Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27120 pid:13810 tgid:13798 ppid:12517 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:795 [inline] open_last_lookups fs/namei.c:3563 [inline] path_openat+0x8c7/0x2990 fs/namei.c:3796 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f21a347dd69 RSP: 002b:00007f21a41cb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f21a35ac1f0 RCX: 00007f21a347dd69 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f21a34ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f21a35ac1f0 R15: 00007ffc02f3a448 INFO: task syz-executor.4:13825 blocked for more than 145 seconds. Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27216 pid:13825 tgid:13798 ppid:12517 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:805 [inline] open_last_lookups fs/namei.c:3565 [inline] path_openat+0x18ce/0x2990 fs/namei.c:3796 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_open fs/open.c:1429 [inline] __se_sys_open fs/open.c:1425 [inline] __x64_sys_open+0x154/0x1e0 fs/open.c:1425 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f21a347dd69 RSP: 002b:00007f21a41aa0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f21a35ac2c0 RCX: 00007f21a347dd69 RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000020000040 RBP: 00007f21a34ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f21a35ac2c0 R15: 00007ffc02f3a448 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8d9b0e60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d9b0e60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d9b0e60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4830: #0: ffff88801639e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by syz-fuzzer/5087: 3 locks held by kworker/u9:6/5101: #0: ffff8880595bf148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242 #1: ffffc9000334fd80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243 #2: ffff88805d661060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:309 2 locks held by syz-executor.4/13801: 1 lock held by syz-executor.4/13806: #0: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 2 locks held by syz-executor.4/13807: #0: ffff888069aa4420 (sb_writers#37){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3555 [inline] #0: ffff888069aa4420 (sb_writers#37){.+.+}-{0:0}, at: path_openat+0x19a7/0x2990 fs/namei.c:3796 #1: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #1: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: open_last_lookups fs/namei.c:3563 [inline] #1: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: path_openat+0x8c7/0x2990 fs/namei.c:3796 2 locks held by syz-executor.4/13810: #0: ffff888069aa4420 (sb_writers#37){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3555 [inline] #0: ffff888069aa4420 (sb_writers#37){.+.+}-{0:0}, at: path_openat+0x19a7/0x2990 fs/namei.c:3796 #1: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #1: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: open_last_lookups fs/namei.c:3563 [inline] #1: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: path_openat+0x8c7/0x2990 fs/namei.c:3796 2 locks held by syz-executor.4/13825: #0: ffff888069aa4420 (sb_writers#37){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3555 [inline] #0: ffff888069aa4420 (sb_writers#37){.+.+}-{0:0}, at: path_openat+0x1bd7/0x2990 fs/namei.c:3796 #1: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #1: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline] #1: ffff88805c6f16a8 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: path_openat+0x18ce/0x2990 fs/namei.c:3796 1 lock held by syz-executor.0/14668: #0: ffffffff8d9bc5f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323 2 locks held by syz-executor.4/15475: 1 lock held by syz-executor.2/15477: 3 locks held by syz-executor.3/15490: #0: ffff88802a960420 (sb_writers#5){.+.+}-{0:0}, at: filename_create+0x10d/0x530 fs/namei.c:3885 #1: ffff88807cd2acd8 (&fs_devs->device_list_mutex){+.+.}-{3:3} , at: device_list_add.constprop.0+0xdf3/0x1a70 fs/btrfs/volumes.c:785 #2: ffff8880b943ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15475 Comm: syz-executor.4 Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x18/0x60 kernel/kcov.c:203 Code: 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 f4 02 76 7e 65 8b 05 f5 02 76 7e a9 00 01 ff 00 <48> 8b 34 24 74 0f f6 c4 01 74 35 8b 82 14 16 00 00 85 c0 74 2b 8b RSP: 0018:ffffc9000352f028 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 0000000000000001 RCX: ffffffff8134782f RDX: ffff8880630d5a00 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc9000352f0c8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc9000352f038 R13: ffffffff81799c50 R14: ffffc9000352f0f8 R15: ffff8880630d5a00 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc31c5cc28 CR3: 000000004e956000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0xf8/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:302 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347 free_unref_folios+0x256/0xad0 mm/page_alloc.c:2536 folios_put_refs+0x487/0x6d0 mm/swap.c:1034 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x5a1/0x1170 mm/shmem.c:1005 shmem_truncate_range mm/shmem.c:1114 [inline] shmem_evict_inode+0x3a3/0xbb0 mm/shmem.c:1242 evict+0x2ed/0x6c0 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput.part.0+0x5a8/0x7f0 fs/inode.c:1767 iput+0x5c/0x80 fs/inode.c:1757 dentry_unlink_inode+0x295/0x440 fs/dcache.c:400 __dentry_kill+0x1d0/0x600 fs/dcache.c:603 dput.part.0+0x4b1/0x9b0 fs/dcache.c:845 dput+0x1f/0x30 fs/dcache.c:835 __fput+0x3bc/0xb80 fs/file_table.c:430 task_work_run+0x14e/0x250 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa7d/0x2c10 kernel/exit.c:878 do_group_exit+0xd3/0x2a0 kernel/exit.c:1027 get_signal+0x2616/0x2710 kernel/signal.c:2911 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x14a/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f299ce7caaf Code: Unable to access opcode bytes at 0x7f299ce7ca85. RSP: 002b:00007f299dbc5e80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: 00000000004bb000 RBX: 0000000001000000 RCX: 00007f299ce7caaf RDX: 0000000001000000 RSI: 00007f2992c00000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000009824 R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f299dbc5f80 R14: 00007f299dbc5f40 R15: 00007f2992c00000