INFO: task syz-executor.4:6122 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29360 pid:6122 tgid:6118 ppid:5087 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 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:803 [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+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7ff71947de69 RSP: 002b:00007ff71a1260c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff7195ac050 RCX: 00007ff71947de69 RDX: 0000000020000100 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007ff7194ca47a R08: 0000000020000280 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007ff7195ac050 R15: 00007ffcb2e0d6d8 Showing all locks held in the system: 3 locks held by kworker/u8:0/10: 1 lock held by khungtaskd/29: #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 5 locks held by kworker/1:2/56: #0: ffff88801aee7148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229 #1: ffffc9000131fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230 #2: ffff88802353b190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff88802353b190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e20 drivers/usb/core/hub.c:5811 #3: ffff888055c7a190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #3: ffff888055c7a190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #4: ffff88805d668160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff88805d668160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 2 locks held by kworker/u8:7/2439: 2 locks held by getty/4815: #0: ffff88802adf60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020a92f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by syz-executor.4/6119: 1 lock held by syz-executor.4/6122: #0: ffff8880679c9160 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff8880679c9160 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff8880679c9160 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 2 locks held by syz-executor.2/6264: 1 lock held by syz-executor.2/6273: #0: ffff8880679c96a8 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff8880679c96a8 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff8880679c96a8 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 2 locks held by syz-executor.3/6421: 1 lock held by syz-executor.3/6422: #0: ffff88806a240c18 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff88806a240c18 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88806a240c18 (&type->i_mutex_dir_key#13){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 3 locks held by syz-executor.4/6458: 2 locks held by syz-executor.3/6594: #0: ffff88804710e800 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline] #0: ffff88804710e800 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: do_lock_mount+0xb0/0x5b0 fs/namespace.c:2460 #1: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #1: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x682/0x7a0 kernel/rcu/tree_exp.h:939 1 lock held by syz-executor.0/6596: #0: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939 2 locks held by syz-executor.2/6598: 1 lock held by syz-executor.2/6599: #0: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x62d/0x4770 drivers/net/tun.c:3108 1 lock held by syz-executor.2/6600: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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:222 [inline] watchdog+0xf86/0x1210 kernel/hung_task.c:379 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:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6264 Comm: syz-executor.2 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__sanitizer_cov_trace_switch+0x30/0x90 kernel/kcov.c:320 Code: 41 55 41 54 49 89 fc 55 48 89 f5 53 48 8b 46 08 48 83 f8 20 74 6b 77 48 48 83 f8 08 74 5b 48 83 f8 10 75 2f 41 bd 03 00 00 00 <4c> 8b 75 00 31 db 4d 85 f6 74 1e 48 8b 74 dd 10 4c 89 e2 4c 89 ef RSP: 0018:ffffc9000367eec8 EFLAGS: 00000246 RAX: 0000000000000008 RBX: ffffc9000367ef78 RCX: 0000000000000001 RDX: 0000000000000005 RSI: ffffffff8b09dd00 RDI: 0000000000000005 RBP: ffffffff8b09dd00 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000002 R11: dffffc0000000000 R12: 0000000000000005 R13: 0000000000000001 R14: ffffffff902fae80 R15: ffffc9000367efad FS: 00007f6f254726c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f03356d66e4 CR3: 00000000567d2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x6c1/0x23a0 arch/x86/kernel/unwind_orc.c:515 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:129 __set_page_owner+0x1f/0x60 mm/page_owner.c:195 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1533 prep_new_page mm/page_alloc.c:1540 [inline] get_page_from_freelist+0xa28/0x3780 mm/page_alloc.c:3311 __alloc_pages+0x22b/0x2410 mm/page_alloc.c:4569 alloc_pages_mpol+0x258/0x600 mm/mempolicy.c:2133 folio_alloc+0x1e/0xe0 mm/mempolicy.c:2211 filemap_alloc_folio+0x3ba/0x490 mm/filemap.c:984 do_read_cache_folio+0x1bc/0x550 mm/filemap.c:3667 do_read_cache_page mm/filemap.c:3769 [inline] read_cache_page+0x5b/0x160 mm/filemap.c:3778 read_mapping_page include/linux/pagemap.h:888 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x1e5/0x690 fs/sysv/dir.c:157 sysv_inode_by_name+0x71/0x3b0 fs/sysv/dir.c:374 sysv_lookup fs/sysv/namei.c:38 [inline] sysv_lookup+0x8c/0x100 fs/sysv/namei.c:31 lookup_open.isra.0+0x928/0x13c0 fs/namei.c:3475 open_last_lookups fs/namei.c:3566 [inline] path_openat+0x92f/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+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f6f2467de69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6f254720c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f6f247abf80 RCX: 00007f6f2467de69 RDX: 0000000000000042 RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00007f6f246ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6f247abf80 R15: 00007ffd970f57f8