INFO: task syz-executor.4:14981 blocked for more than 143 seconds. Not tainted 5.19.0-rc3-syzkaller-00043-g3abc3ae553c7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27472 pid:14981 ppid: 14923 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6458 schedule+0xeb/0x1b0 kernel/sched/core.c:6530 rwsem_down_read_slowpath+0x5ce/0x8f0 kernel/locking/rwsem.c:1077 __down_read_common+0x54/0x2a0 kernel/locking/rwsem.c:1242 inode_lock_shared include/linux/fs.h:751 [inline] lookup_slow+0x45/0x70 fs/namei.c:1717 walk_component+0x425/0x5a0 fs/namei.c:2014 lookup_last fs/namei.c:2469 [inline] path_lookupat+0x17d/0x450 fs/namei.c:2493 filename_lookup+0x277/0x640 fs/namei.c:2522 vfs_statx+0x107/0x3f0 fs/stat.c:228 vfs_fstatat fs/stat.c:255 [inline] vfs_lstat include/linux/fs.h:3144 [inline] __do_sys_newlstat fs/stat.c:411 [inline] __se_sys_newlstat+0xce/0x770 fs/stat.c:405 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f0af5889109 RSP: 002b:00007f0af69f8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 00007f0af599c100 RCX: 00007f0af5889109 RDX: 0000000000000000 RSI: 0000000020004640 RDI: 0000000020004600 RBP: 00007f0af58e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcd47675bf R14: 00007f0af69f8300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cb1ece0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3298: #0: ffff88814acb9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124 1 lock held by syz-executor.0/14970: 3 locks held by syz-executor.5/14965: 3 locks held by syz-executor.4/14980: 1 lock held by syz-executor.4/14981: #0: ffff888039c17160 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:751 [inline] #0: ffff888039c17160 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1717 2 locks held by syz-executor.1/15022: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc3-syzkaller-00043-g3abc3ae553c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xd18/0xd60 kernel/hung_task.c:378 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2961 Comm: syslogd Not tainted 5.19.0-rc3-syzkaller-00043-g3abc3ae553c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_hardirqs_on_prepare+0xd8/0x7b0 Code: c0 0f 85 b4 03 00 00 48 c7 c0 e0 fe 53 91 48 c1 e8 03 8a 04 10 84 c0 0f 85 57 05 00 00 83 3d 1e 69 ec 0f 00 0f 85 a6 00 00 00 <4c> 8d 74 24 40 4c 89 f3 48 c1 eb 03 80 3c 13 00 74 12 4c 89 f7 e8 RSP: 0018:ffffc90002cff700 EFLAGS: 00000046 RAX: 1ffffffff22a7f04 RBX: ffffffff9183b2a8 RCX: ffffffff9153fe03 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff8a33f6eb RBP: ffffc90002cff7a8 R08: dffffc0000000000 R09: fffffbfff2307656 R10: fffffbfff2307656 R11: 1ffffffff2307655 R12: dffffc0000000000 R13: 1ffff9200059fef8 R14: ffffc90002cff7e0 R15: 1ffff9200059fee4 FS: 00007fcdaea2c800(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ec091be600 CR3: 000000007efd5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x34/0x40 kernel/trace/trace_preemptirq.c:49 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x8b/0x130 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline] debug_check_no_obj_freed+0x5c2/0x650 lib/debugobjects.c:1020 slab_free_hook mm/slub.c:1729 [inline] slab_free_freelist_hook+0xcf/0x1a0 mm/slub.c:1780 slab_free mm/slub.c:3536 [inline] kmem_cache_free+0xc7/0x270 mm/slub.c:3553 skb_free_datagram+0x27/0x1f0 net/core/datagram.c:322 __unix_dgram_recvmsg+0xc70/0x1200 net/unix/af_unix.c:2470 sock_recvmsg_nosec net/socket.c:995 [inline] sock_recvmsg net/socket.c:1013 [inline] sock_read_iter+0x3ab/0x4d0 net/socket.c:1086 call_read_iter include/linux/fs.h:2052 [inline] new_sync_read fs/read_write.c:401 [inline] vfs_read+0xa01/0xd10 fs/read_write.c:482 ksys_read+0x19b/0x2c0 fs/read_write.c:620 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fcdaebb88fe Code: c0 e9 e6 fe ff ff 50 48 8d 3d 0e c7 09 00 e8 c9 cf 01 00 66 0f 1f 84 00 00 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 28 RSP: 002b:00007ffe13388cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fcdaebb88fe RDX: 00000000000000ff RSI: 0000555f51676950 RDI: 0000000000000000 RBP: 0000555f51676910 R08: 00007fcdaec48040 R09: 00007fcdaec480c0 R10: 00007fcdaec47fc0 R11: 0000000000000246 R12: 0000555f516769da R13: 0000555f51676950 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: c0 0f 85 rorb $0x85,(%rdi) 3: b4 03 mov $0x3,%ah 5: 00 00 add %al,(%rax) 7: 48 c7 c0 e0 fe 53 91 mov $0xffffffff9153fee0,%rax e: 48 c1 e8 03 shr $0x3,%rax 12: 8a 04 10 mov (%rax,%rdx,1),%al 15: 84 c0 test %al,%al 17: 0f 85 57 05 00 00 jne 0x574 1d: 83 3d 1e 69 ec 0f 00 cmpl $0x0,0xfec691e(%rip) # 0xfec6942 24: 0f 85 a6 00 00 00 jne 0xd0 * 2a: 4c 8d 74 24 40 lea 0x40(%rsp),%r14 <-- trapping instruction 2f: 4c 89 f3 mov %r14,%rbx 32: 48 c1 eb 03 shr $0x3,%rbx 36: 80 3c 13 00 cmpb $0x0,(%rbx,%rdx,1) 3a: 74 12 je 0x4e 3c: 4c 89 f7 mov %r14,%rdi 3f: e8 .byte 0xe8