INFO: task syz-executor.1:1447 blocked for more than 143 seconds. Not tainted 5.11.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28520 pid: 1447 ppid: 8524 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 rwsem_down_read_slowpath+0x4ca/0x980 kernel/locking/rwsem.c:992 __down_read_common kernel/locking/rwsem.c:1213 [inline] __down_read kernel/locking/rwsem.c:1222 [inline] down_read+0xdf/0x440 kernel/locking/rwsem.c:1355 inode_lock_shared include/linux/fs.h:783 [inline] lookup_slow fs/namei.c:1560 [inline] walk_component+0x409/0x6a0 fs/namei.c:1861 link_path_walk.part.0+0x703/0xc70 fs/namei.c:2186 link_path_walk fs/namei.c:2112 [inline] path_lookupat+0xb7/0x830 fs/namei.c:2335 filename_lookup+0x19f/0x560 fs/namei.c:2369 user_path_at include/linux/namei.h:59 [inline] do_mount fs/namespace.c:3218 [inline] __do_sys_mount fs/namespace.c:3429 [inline] __se_sys_mount fs/namespace.c:3406 [inline] __ia32_sys_mount+0x1ea/0x300 fs/namespace.c:3406 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f02549 RSP: 002b:00000000f54ba0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000020000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.1:1449 blocked for more than 143 seconds. Not tainted 5.11.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27776 pid: 1449 ppid: 8524 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2195 do_new_mount_fc fs/namespace.c:2821 [inline] do_new_mount fs/namespace.c:2880 [inline] path_mount+0x1787/0x20c0 fs/namespace.c:3208 do_mount fs/namespace.c:3221 [inline] __do_sys_mount fs/namespace.c:3429 [inline] __se_sys_mount fs/namespace.c:3406 [inline] __ia32_sys_mount+0x27e/0x300 fs/namespace.c:3406 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f02549 RSP: 002b:00000000f54990cc EFLAGS: 00000296 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000200020c0 RDX: 0000000020002100 RSI: 0000000000000000 RDI: 0000000020002140 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1646: #0: ffffffff8b373920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254 1 lock held by in:imklog/8175: #0: ffff888027078370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by agetty/8397: #0: ffff888014be9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90000f7c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1aa0 drivers/tty/n_tty.c:2158 5 locks held by kworker/1:7/16669: #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x15f0 kernel/workqueue.c:2246 #1: ffffc900165afda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x15f0 kernel/workqueue.c:2250 #2: ffff888144ecb218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:725 [inline] #2: ffff888144ecb218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5537 #3: ffff88801c0b8578 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3030 [inline] #3: ffff88801c0b8578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5154 [inline] #3: ffff88801c0b8578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] #3: ffff88801c0b8578 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5509 [inline] #3: ffff88801c0b8578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x216c/0x42d0 drivers/usb/core/hub.c:5591 #4: ffff888144e86868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1b2/0x2dd0 drivers/usb/core/hub.c:4582 5 locks held by kworker/1:1/31355: #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888014c7cd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x15f0 kernel/workqueue.c:2246 #1: ffffc9000236fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x15f0 kernel/workqueue.c:2250 #2: ffff88801c0bf218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:725 [inline] #2: ffff88801c0bf218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5537 #3: ffff88801c0ed578 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3030 [inline] #3: ffff88801c0ed578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5154 [inline] #3: ffff88801c0ed578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] #3: ffff88801c0ed578 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5509 [inline] #3: ffff88801c0ed578 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x216c/0x42d0 drivers/usb/core/hub.c:5591 #4: ffff888144e86868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1b2/0x2dd0 drivers/usb/core/hub.c:4582 2 locks held by syz-executor.1/1430: 1 lock held by syz-executor.1/1447: #0: ffff888031a629d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:783 [inline] #0: ffff888031a629d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1560 [inline] #0: ffff888031a629d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x409/0x6a0 fs/namei.c:1861 1 lock held by syz-executor.1/1449: #0: ffff888031a629d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff888031a629d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2195 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1646 Comm: khungtaskd Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd43/0xfa0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1430 Comm: syz-executor.1 Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:do_raw_spin_unlock+0x176/0x230 kernel/locking/spinlock_debug.c:140 Code: 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 b7 00 00 00 48 83 3d 01 12 c5 09 00 74 4c 48 89 ef e8 af 9e ff ff 66 90 5d 41 5c <41> 5d c3 48 c7 c6 20 13 4c 89 48 89 ef e8 b8 f8 ff ff e9 f8 fe ff RSP: 0018:ffffc9001275f540 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffffc9001275f618 RCX: ffffffff81597a40 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffffff8b0146c0 RBP: ffffffff8b0146c0 R08: 0000000000000000 R09: ffffffff8b0146c3 R10: fffffbfff16028d8 R11: 0000000000000001 R12: ffff88806989a1c0 R13: ffffffff8b0146d0 R14: 0000000000000013 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0063) knlGS:00000000f54fcb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007ff31b028000 CR3: 000000002ed73000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock+0x1a/0x40 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:394 [inline] ilookup5_nowait fs/inode.c:1335 [inline] ilookup5 fs/inode.c:1363 [inline] iget5_locked+0xcc/0x2d0 fs/inode.c:1144 fuse_iget+0x271/0x610 fs/fuse/inode.c:342 fuse_lookup_name+0x447/0x630 fs/fuse/dir.c:439 fuse_lookup.part.0+0xdf/0x390 fs/fuse/dir.c:469 fuse_lookup+0x70/0x90 fs/fuse/dir.c:465 __lookup_slow+0x24c/0x480 fs/namei.c:1544 lookup_slow fs/namei.c:1561 [inline] walk_component+0x418/0x6a0 fs/namei.c:1861 link_path_walk.part.0+0x5a2/0xc70 fs/namei.c:2183 link_path_walk fs/namei.c:2112 [inline] path_lookupat+0xb7/0x830 fs/namei.c:2335 filename_lookup+0x19f/0x560 fs/namei.c:2369 user_path_at include/linux/namei.h:59 [inline] do_mount fs/namespace.c:3218 [inline] __do_sys_mount fs/namespace.c:3429 [inline] __se_sys_mount fs/namespace.c:3406 [inline] __ia32_sys_mount+0x1ea/0x300 fs/namespace.c:3406 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f02549 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f54fc0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000020000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000