INFO: task syz-executor.0:14703 blocked for more than 143 seconds. Not tainted 5.15.148-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27352 pid:14703 ppid: 9309 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1047 __down_read_common kernel/locking/rwsem.c:1231 [inline] __down_read kernel/locking/rwsem.c:1244 [inline] down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1490 iterate_supers+0xac/0x1e0 fs/super.c:703 ksys_sync+0xb9/0x1c0 fs/sync.c:102 __do_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f6e9f603da9 RSP: 002b:00007f6e9db420c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f6e9f732120 RCX: 00007f6e9f603da9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f6e9f65047a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f6e9f732120 R15: 00007fffd6f674a8 Showing all locks held in the system: 2 locks held by kworker/u4:0/9: #0: ffff888011c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000ce7d20 ((quota_release_work).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by khungtaskd/27: #0: ffffffff8c91f220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3261: #0: ffff88814b19f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bae2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 4 locks held by kworker/u4:11/4637: #0: ffff888011dcd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004dc7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9cead0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558 #3: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: cangw_pernet_exit+0xe/0x20 net/can/gw.c:1244 4 locks held by kworker/u4:15/12576: 1 lock held by syz-executor.2/14535: #0: ffff8880794500e0 (&type->s_umount_key#63/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 1 lock held by syz-executor.2/14918: #0: ffff88807b7f20e0 (&type->s_umount_key#63/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 1 lock held by syz-executor.2/15387: #0: ffff8880856360e0 (&type->s_umount_key#63/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 1 lock held by syz-executor.2/15972: #0: ffff8880395a60e0 (&type->s_umount_key#63/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 2 locks held by kworker/u4:2/16171: #0: ffff888011c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004067d20 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by syz-executor.2/16314: #0: ffff88801ee200e0 (&type->s_umount_key#63/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 2 locks held by kworker/u4:19/13067: #0: ffff888011c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900040b7d20 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 2 locks held by kworker/1:17/13431: 1 lock held by syz-executor.0/14703: #0: ffff8880794500e0 (&type->s_umount_key#87){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:703 1 lock held by syz-executor.4/17074: #0: ffff8880794500e0 (&type->s_umount_key#87){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:703 1 lock held by syz-executor.4/20181: #0: ffff888095f420e0 (&type->s_umount_key#32){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 2 locks held by syz-executor.3/13597: #0: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3434 #1: ffffffff8c9237e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c9237e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 1 lock held by syz-executor.1/13821: #0: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3434 1 lock held by syz-executor.0/14436: #0: ffffffff8d9da688 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x460/0x2270 drivers/net/tun.c:3046 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14437 Comm: syz-executor.2 Not tainted 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:validate_chain+0x2d/0x5930 kernel/locking/lockdep.c:3744 Code: e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 80 02 00 00 49 89 ce 89 54 24 58 48 89 7c 24 70 65 48 8b 04 25 28 00 00 00 <48> 89 84 24 60 02 00 00 49 bc 00 00 00 00 00 fc ff df 48 c7 84 24 RSP: 0018:ffffc900033671a0 EFLAGS: 00000086 RAX: 40bc9453d1786f00 RBX: ffffffff8f8c6000 RCX: 09f36f0e3cca25a5 RDX: 0000000000000000 RSI: ffff88803d94a8d8 RDI: ffff88803d949dc0 RBP: ffffc90003367450 R08: dffffc0000000000 R09: fffffbfff1f7a019 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff88803d94a8a8 R14: 09f36f0e3cca25a5 R15: ffff88803d94a8f8 FS: 000055555713c480(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3b31b46e4 CR3: 00000000846e3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1295/0x1ff0 kernel/locking/lockdep.c:5012 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_active_state+0x67/0x410 lib/debugobjects.c:941 debug_rcu_head_queue kernel/rcu/rcu.h:177 [inline] __call_rcu kernel/rcu/tree.c:2991 [inline] call_rcu+0xb1/0xa70 kernel/rcu/tree.c:3087 radix_tree_node_free lib/radix-tree.c:308 [inline] delete_node+0x1ac/0x770 lib/radix-tree.c:571 radix_tree_delete_item+0x2dc/0x3f0 lib/radix-tree.c:1428 free_pid+0x1a2/0x280 kernel/pid.c:152 copy_process+0x2e49/0x3ef0 kernel/fork.c:2456 kernel_clone+0x210/0x960 kernel/fork.c:2604 __do_sys_clone3 kernel/fork.c:2879 [inline] __se_sys_clone3+0x3e1/0x430 kernel/fork.c:2863 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa3b2587b99 Code: ff ff eb d2 e8 f8 62 fd ff 0f 1f 84 00 00 00 00 00 b8 ea ff ff ff 48 85 ff 74 2c 48 85 d2 74 27 49 89 c8 b8 b3 01 00 00 0f 05 <48> 85 c0 7c 18 74 01 c3 31 ed 48 83 e4 f0 4c 89 c7 ff d2 48 89 c7 RSP: 002b:00007ffdf34075b8 EFLAGS: 00000202 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007fa3b2530270 RCX: 00007fa3b2587b99 RDX: 00007fa3b2530270 RSI: 0000000000000058 RDI: 00007ffdf3407600 RBP: 00007fa3b0adc6c0 R08: 00007fa3b0adc6c0 R09: 00007ffdf34076e7 R10: 0000000000000008 R11: 0000000000000202 R12: ffffffffffffffb0 R13: 000000000000000b R14: 00007ffdf3407600 R15: 00007ffdf34076e8