INFO: task syz-executor.1:16083 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28256 pid:16083 tgid:16069 ppid:15043 flags:0x00004006 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 super_lock+0x2bb/0x3f0 fs/super.c:114 super_lock_excl fs/super.c:145 [inline] grab_super+0xab/0x430 fs/super.c:529 sget+0x45b/0x760 fs/super.c:832 mount_bdev+0x108/0x2d0 fs/super.c:1646 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8f/0x380 fs/super.c:1779 do_new_mount fs/namespace.c:3352 [inline] path_mount+0x14e6/0x1f20 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x297/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:0x7f5b6927dda9 RSP: 002b:00007f5b6a0590c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5b693ac120 RCX: 00007f5b6927dda9 RDX: 0000000020000180 RSI: 0000000020000140 RDI: 0000000020000100 RBP: 00007f5b692ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008001 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5b693ac120 R15: 00007ffd56394888 Showing all locks held in the system: 3 locks held by kworker/u8:1/11: 1 lock held by khungtaskd/29: #0: ffffffff8d7afaa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7afaa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7afaa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4813: #0: ffff88802a3b40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015f02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 4 locks held by kworker/u8:10/15398: 4 locks held by kworker/u8:0/17592: #0: ffff888015acb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x128f/0x1a50 kernel/workqueue.c:3229 #1: ffffc9000362fd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8ff/0x1a50 kernel/workqueue.c:3230 #2: ffffffff8f2d8d50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb20 net/core/net_namespace.c:580 #3: ffff888049d6d3e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x151/0x400 drivers/net/wireguard/device.c:250 2 locks held by syz-executor.1/14888: 2 locks held by syz-executor.0/14973: 1 lock held by syz-executor.2/15975: 4 locks held by syz-executor.2/16085: 2 locks held by syz-executor.1/16361: #0: ffff88802a26a420 (sb_writers#5){.+.+}-{0:0}, at: do_unlinkat+0x1d3/0x750 fs/namei.c:4383 #1: ffff88802a26a610 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6c0 fs/inode.c:667 3 locks held by syz-executor.3/16642: #0: ffff88802a26a420 (sb_writers#5){.+.+}-{0:0}, at: do_unlinkat+0x1d3/0x750 fs/namei.c:4383 #1: ffff88802a26a610 (sb_internal){.+.+}-{0:0}, at: evict+0x2ed/0x6c0 fs/inode.c:667 #2: ffff88802a26e950 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x10db/0x15e0 fs/jbd2/transaction.c:463 3 locks held by syz-executor.4/16846: #0: ffff88802a26a420 (sb_writers#5){.+.+}-{0:0}, at: do_rmdir+0x1e4/0x410 fs/namei.c:4250 #1: ffff88803bc82200 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:828 [inline] #1: ffff88803bc82200 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_rmdir+0x235/0x410 fs/namei.c:4254 #2: ffff88803bd63600 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline] #2: ffff88803bd63600 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir fs/namei.c:4196 [inline] #2: ffff88803bd63600 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir+0xe9/0x660 fs/namei.c:4184 8 locks held by syz-executor.0/17459: #0: ffff88802b2d0420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff88802e570c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff88801edf9da0 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8e950f28 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 #4: ffff88802b1720e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff88802b1720e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88802b1720e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 #5: ffff88807ccb1250 (&devlink->lock_key#61){+.+.}-{3:3}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8f2ee128 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x39/0x1c0 drivers/net/netdevsim/netdev.c:417 #7: ffffffff8d7bb1b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #7: ffffffff8d7bb1b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 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: 4496 Comm: klogd Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:check_region_inline mm/kasan/generic.c:174 [inline] RIP: 0010:kasan_check_range+0x1b/0x1a0 mm/kasan/generic.c:189 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 85 f6 0f 84 50 01 00 00 48 89 f8 41 54 44 0f b6 c2 48 01 f0 55 53 <0f> 82 c6 00 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 f8 0f 83 b3 RSP: 0018:ffffc9000343fb68 EFLAGS: 00000086 RAX: ffffffff93d701b8 RBX: 00000000000001ba RCX: ffffffff816a565e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff93d701b0 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff27ae036 R10: ffffffff93d701b7 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000000001ba R14: ffff88804b6328d8 R15: 0000000000000004 FS: 00007fa9cb418380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffbcd302464 CR3: 000000002b2c4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class+0x4e/0x130 kernel/locking/lockdep.c:228 __lock_acquire+0xc5d/0x3b30 kernel/locking/lockdep.c:5134 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x540 kernel/locking/lockdep.c:5719 __might_fault mm/memory.c:6080 [inline] __might_fault+0x11b/0x190 mm/memory.c:6073 rseq_get_rseq_cs kernel/rseq.c:161 [inline] rseq_ip_fixup kernel/rseq.c:281 [inline] __rseq_handle_notify_resume+0x14a/0x1030 kernel/rseq.c:329 rseq_handle_notify_resume include/linux/rseq.h:38 [inline] resume_user_mode_work include/linux/resume_user_mode.h:62 [inline] exit_to_user_mode_loop kernel/entry/common.c:108 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x19d/0x2a0 kernel/entry/common.c:212 do_syscall_64+0xe2/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fa9cb579fa7 Code: 73 01 c3 48 8b 0d 81 ce 0c 00 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 67 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 ce 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd5e976288 EFLAGS: 00000206 ORIG_RAX: 0000000000000067 RAX: 00000000000003d1 RBX: 00007fa9cb7184a0 RCX: 00007fa9cb579fa7 RDX: 00000000000003ff RSI: 00007fa9cb7184a0 RDI: 0000000000000002 RBP: 0000000000000000 R08: 0000000000000007 R09: 80d91e8066a166de R10: 0000000000004000 R11: 0000000000000206 R12: 00007fa9cb7184a0 R13: 00007fa9cb708212 R14: 00007fa9cb71851e R15: 00007fa9cb71851e