INFO: task syz-executor.5:18682 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:25712 pid:18682 tgid:18679 ppid:5094 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:837 [inline] do_rmdir+0x263/0x580 fs/namei.c:4252 __do_sys_rmdir fs/namei.c:4283 [inline] __se_sys_rmdir fs/namei.c:4281 [inline] __x64_sys_rmdir+0x49/0x50 fs/namei.c:4281 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f183d27cda9 RSP: 002b:00007f183dfd20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f183d3ac050 RCX: 00007f183d27cda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 00007f183d2c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f183d3ac050 R15: 00007fffc258e3a8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 1 lock held by udevd/4500: #0: ffff8880b983c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 2 locks held by getty/4798: #0: ffff88802936e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.4/5084: #0: ffff888023b760e0 (&type->s_umount_key#70){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888023b760e0 (&type->s_umount_key#70){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888023b760e0 (&type->s_umount_key#70){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:509 2 locks held by kworker/0:8/5182: #0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc90004897d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90004897d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 4 locks held by syz-executor.5/18681: 2 locks held by syz-executor.5/18682: #0: ffff888028ac0420 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88803e9302b8 (&sb->s_type->i_mutex_key#27/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline] #1: ffff88803e9302b8 (&sb->s_type->i_mutex_key#27/1){+.+.}-{3:3}, at: do_rmdir+0x263/0x580 fs/namei.c:4252 1 lock held by syz-executor.3/20256: #0: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #0: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:996 3 locks held by syz-executor.0/20264: 2 locks held by syz-executor.2/20279: 2 locks held by dhcpcd/20312: #0: ffff8880379ae130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1691 [inline] #0: ffff8880379ae130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3202 #1: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:996 1 lock held by dhcpcd/20313: #0: ffff8880342c2130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1691 [inline] #0: ffff8880342c2130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3202 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 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+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19699 Comm: udevd Not tainted 6.8.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:60 [inline] RIP: 0010:unwind_next_frame+0x1df0/0x29e0 arch/x86/kernel/unwind_orc.c:665 Code: 48 89 df e8 f2 b2 ad 00 4d 39 e6 77 76 48 8b 1b 4c 39 e3 76 6e 4d 8d 7c 24 08 4c 89 e7 48 8b b4 24 90 00 00 00 e8 50 d1 50 00 <4d> 39 f7 76 5b 49 39 df 77 56 4c 3b a4 24 90 00 00 00 77 4c 48 8b RSP: 0018:ffffc9001a4c7608 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffffc9001a4c8000 RCX: ffff8880282c5940 RDX: ffff8880282c5940 RSI: ffffc9001a4c7b38 RDI: ffffc9001a4c7b60 RBP: ffffc9001a4c76e0 R08: ffffffff813e2ae0 R09: ffffffff813e2660 R10: 0000000000000003 R11: ffff8880282c5940 R12: ffffc9001a4c7b60 R13: dffffc0000000000 R14: ffffc9001a4c0000 R15: ffffc9001a4c7b68 FS: 00007fd8372a6c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555575238f8 CR3: 000000002de36000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x146/0x1a0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x70 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:372 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:389 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:3981 [inline] __kmalloc_node+0x24e/0x4e0 mm/slub.c:3988 kmalloc_node include/linux/slab.h:610 [inline] kvmalloc_node+0x72/0x180 mm/util.c:617 kvmalloc include/linux/slab.h:728 [inline] simple_xattr_alloc+0x43/0xa0 fs/xattr.c:1096 shmem_initxattrs+0x24a/0x450 mm/shmem.c:3635 security_inode_init_security+0x2a7/0x470 security/security.c:1752 shmem_symlink+0x168/0x6a0 mm/shmem.c:3484 vfs_symlink+0x12f/0x2a0 fs/namei.c:4480 do_symlinkat+0x222/0x3a0 fs/namei.c:4506 __do_sys_symlink fs/namei.c:4527 [inline] __se_sys_symlink fs/namei.c:4525 [inline] __x64_sys_symlink+0x7e/0x90 fs/namei.c:4525 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fd836f17ce7 Code: f0 ff ff 73 01 c3 48 8b 0d 3e 91 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 58 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 11 91 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd05bb9198 EFLAGS: 00000202 ORIG_RAX: 0000000000000058 RAX: ffffffffffffffda RBX: 00007ffd05bb91a8 RCX: 00007fd836f17ce7 RDX: 0000000000000000 RSI: 00007ffd05bb91a8 RDI: 0000557c19c9e0b0 RBP: 0000557c19caacf0 R08: 0000000000000000 R09: 00007ffd05bb8b18 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000027b1 R13: 0000557c19c9e5a0 R14: 0000000000000008 R15: 0000557c19c89910