INFO: task syz-executor.1:8922 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00024-g5d9248eed480 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25712 pid:8922 tgid:8919 ppid:5082 flags:0x00004006 Call Trace: <TASK> 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 include/linux/fs.h:802 [inline] chown_common+0x3e0/0x850 fs/open.c:778 do_fchownat+0x16d/0x240 fs/open.c:819 __do_sys_chown fs/open.c:839 [inline] __se_sys_chown fs/open.c:837 [inline] __x64_sys_chown+0x82/0x90 fs/open.c:837 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:0x7f21dde7cda9 RSP: 002b:00007f21dec680c8 EFLAGS: 00000246 ORIG_RAX: 000000000000005c RAX: ffffffffffffffda RBX: 00007f21ddfac050 RCX: 00007f21dde7cda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f21ddec947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f21ddfac050 R15: 00007fff0f911598 </TASK> Showing all locks held in the system: 2 locks held by kworker/u4:0/11: 1 lock held by khungtaskd/28: #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 2 locks held by getty/4811: #0: ffff8880297bf0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.2/5083: 1 lock held by syz-executor.3/5096: #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.1/8921: 2 locks held by syz-executor.1/8922: #0: ffff8880335fe420 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88803991de28 (&sb->s_type->i_mutex_key#35){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88803991de28 (&sb->s_type->i_mutex_key#35){++++}-{3:3}, at: chown_common+0x3e0/0x850 fs/open.c:778 3 locks held by syz-executor.2/10981: 2 locks held by syz-executor.5/10986: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00024-g5d9248eed480 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: <TASK> __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 </TASK> Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7020 Comm: syz-executor.4 Not tainted 6.8.0-rc1-syzkaller-00024-g5d9248eed480 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:mark_lock+0xa2/0x350 kernel/locking/lockdep.c:4656 Code: 00 8b 1b 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 e0 73 df 90 be 08 00 00 00 e8 86 e4 7d 00 48 0f a3 1d ee 78 71 0f <73> 10 48 69 c3 c8 00 00 00 48 8d 98 e0 d2 ad 90 eb 68 48 c7 c0 80 RSP: 0018:ffffc900094c73b8 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 000000000000053b RCX: ffffffff816dfaea RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90df7480 RBP: 0000000000000002 R08: ffffffff90df7487 R09: 1ffffffff21bee90 R10: dffffc0000000000 R11: fffffbfff21bee91 R12: ffff888026aa46b0 R13: dffffc0000000000 R14: 0000000000000004 R15: ffff888026aa4690 FS: 0000555555b88480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5ba14d66e4 CR3: 00000000388be000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <NMI> </NMI> <TASK> mark_held_locks kernel/locking/lockdep.c:4274 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:4292 [inline] lockdep_hardirqs_on_prepare+0x281/0x780 kernel/locking/lockdep.c:4359 trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 __raw_read_unlock_irqrestore include/linux/rwlock_api_smp.h:241 [inline] _raw_read_unlock_irqrestore+0x8f/0x140 kernel/locking/spinlock.c:268 stack_depot_save_flags+0x1fa/0x650 lib/stackdepot.c:517 kasan_save_stack mm/kasan/common.c:48 [inline] kasan_save_track+0x51/0x70 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:314 [inline] __kasan_slab_alloc+0x66/0x70 mm/kasan/common.c:340 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3813 [inline] slab_alloc_node mm/slub.c:3860 [inline] kmem_cache_alloc+0x16f/0x340 mm/slub.c:3867 vma_lock_alloc kernel/fork.c:439 [inline] vm_area_dup+0x61/0x280 kernel/fork.c:492 dup_mmap kernel/fork.c:695 [inline] dup_mm kernel/fork.c:1685 [inline] copy_mm+0xd90/0x21b0 kernel/fork.c:1734 copy_process+0x1d6f/0x3fb0 kernel/fork.c:2496 kernel_clone+0x222/0x840 kernel/fork.c:2901 __do_sys_clone kernel/fork.c:3044 [inline] __se_sys_clone kernel/fork.c:3028 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:3028 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:0x7fe625879dd3 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffe389d2018 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe625879dd3 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000555555b88750 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 </TASK>