INFO: task syz-executor.3:32718 blocked for more than 143 seconds. Not tainted 5.15.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:26704 pid:32718 ppid: 6552 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 rwsem_down_read_slowpath+0x541/0x980 kernel/locking/rwsem.c:993 __down_read_common+0xaa/0x450 kernel/locking/rwsem.c:1214 inode_lock_shared include/linux/fs.h:796 [inline] lookup_slow fs/namei.c:1673 [inline] walk_component+0x508/0x790 fs/namei.c:1970 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x19d/0x6c0 fs/namei.c:2449 filename_lookup+0x270/0x640 fs/namei.c:2478 user_path_at_empty+0x40/0x1a0 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3328 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount+0x2cd/0x3c0 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f313fa8ba39 RSP: 002b:00007f313cfbf188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f313fb8f0e0 RCX: 00007f313fa8ba39 RDX: 0000000020000280 RSI: 00000000200001c0 RDI: 0000000020000080 RBP: 00007f313fae5c5f R08: 00000000200002c0 R09: 0000000000000000 R10: 0000000000039021 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc28e8cf0f R14: 00007f313cfbf300 R15: 0000000000022000 INFO: task syz-executor.3:32764 blocked for more than 143 seconds. Not tainted 5.15.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:26960 pid:32764 ppid: 6552 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 rwsem_down_read_slowpath+0x541/0x980 kernel/locking/rwsem.c:993 __down_read_common+0xaa/0x450 kernel/locking/rwsem.c:1214 inode_lock_shared include/linux/fs.h:796 [inline] lookup_slow fs/namei.c:1673 [inline] walk_component+0x508/0x790 fs/namei.c:1970 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x19d/0x6c0 fs/namei.c:2449 filename_lookup+0x270/0x640 fs/namei.c:2478 user_path_at_empty+0x40/0x1a0 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:489 [inline] __se_sys_chdir+0xa4/0x2a0 fs/open.c:483 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f313fa8ba39 RSP: 002b:00007f313cf9e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f313fb8f1a0 RCX: 00007f313fa8ba39 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f313fae5c5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc28e8cf0f R14: 00007f313cf9e300 R15: 0000000000022000 INFO: task syz-executor.3:32766 blocked for more than 144 seconds. Not tainted 5.15.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27632 pid:32766 ppid: 6552 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0xdb7/0x1490 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x165/0x170 kernel/locking/rwsem.c:1518 inode_lock include/linux/fs.h:786 [inline] open_last_lookups fs/namei.c:3349 [inline] path_openat+0x84a/0x3670 fs/namei.c:3558 do_filp_open+0x277/0x4f0 fs/namei.c:3588 do_sys_openat2+0x13b/0x500 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_open fs/open.c:1224 [inline] __se_sys_open fs/open.c:1220 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1220 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f313fa8ba39 RSP: 002b:00007f313cf7d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f313fb8f260 RCX: 00007f313fa8ba39 RDX: 0000000000000000 RSI: 0000000000141042 RDI: 00000000200000c0 RBP: 00007f313fae5c5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc28e8cf0f R14: 00007f313cf7d300 R15: 0000000000022000 INFO: task syz-executor.3:305 blocked for more than 144 seconds. Not tainted 5.15.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28496 pid: 305 ppid: 6552 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0xdb7/0x1490 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write_nested+0x171/0x180 kernel/locking/rwsem.c:1628 lock_rename+0x182/0x1a0 do_renameat2+0x75d/0x1450 fs/namei.c:4720 __do_sys_rename fs/namei.c:4825 [inline] __se_sys_rename fs/namei.c:4823 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:4823 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f313fa8ba39 RSP: 002b:00007f313cf3b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f313fb8f3e0 RCX: 00007f313fa8ba39 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000180 RBP: 00007f313fae5c5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc28e8cf0f R14: 00007f313cf3b300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8c91c8c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6209: #0: ffff88801ac76370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 2 locks held by syz-executor.3/32715: 1 lock held by syz-executor.3/32718: #0: ffff8880b41656d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:796 [inline] #0: ffff8880b41656d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff8880b41656d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x508/0x790 fs/namei.c:1970 1 lock held by syz-executor.3/32764: #0: ffff8880b41656d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:796 [inline] #0: ffff8880b41656d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff8880b41656d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x508/0x790 fs/namei.c:1970 2 locks held by syz-executor.3/32766: #0: ffff888026ac6460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff8880b41656d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:786 [inline] #1: ffff8880b41656d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3349 [inline] #1: ffff8880b41656d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x84a/0x3670 fs/namei.c:3558 2 locks held by syz-executor.3/305: #0: ffff888026ac6460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff8880b41656d0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: lock_rename+0x182/0x1a0 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.15.0-rc5-syzkaller #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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2961 Comm: systemd-journal Not tainted 5.15.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0x65/0x1c0 lib/smp_processor_id.c:55 Code: ff 7f 31 ff 0f 1f 44 00 00 81 e5 ff ff ff 7f 74 2a 0f 1f 44 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 52 01 00 00 <89> d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 04 24 00 RSP: 0018:ffffc9000248fab8 EFLAGS: 00000046 RAX: 14f53a9a7c70dd00 RBX: 0000000000000000 RCX: ffffffff90933903 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff818a0680 R09: fffffbfff21748b4 R10: fffffbfff21748b4 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff88807b3d0a18 R14: ffffffff8a4f05a0 R15: ffffffff8ab425e0 FS: 00007f66f206d8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f66ef865000 CR3: 000000001b7c4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline] lockdep_hardirqs_on_prepare+0x412/0x780 kernel/locking/lockdep.c:4281 trace_hardirqs_on+0x6f/0x80 kernel/trace/trace_preemptirq.c:49 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x8b/0x130 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:1002 [inline] debug_check_no_obj_freed+0x5a2/0x650 lib/debugobjects.c:1023 slab_free_hook mm/slub.c:1675 [inline] slab_free_freelist_hook+0xce/0x1a0 mm/slub.c:1725 slab_free mm/slub.c:3483 [inline] kfree+0xcf/0x2f0 mm/slub.c:4543 security_cred_free+0xbf/0x100 security/security.c:1685 put_cred_rcu+0xd4/0x400 kernel/cred.c:115 do_faccessat+0x798/0x940 fs/open.c:462 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f66f13289c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffdf7b030b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffdf7b060e0 RCX: 00007f66f13289c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000559d0b9509a3 RBP: 00007ffdf7b03200 R08: 0000559d0b9463e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000559d0c4448a0 R15: 00007ffdf7b036f0 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 31 ff xor %edi,%edi 2: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 7: 81 e5 ff ff ff 7f and $0x7fffffff,%ebp d: 74 2a je 0x39 f: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 14: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 1b: 00 00 1d: 48 3b 44 24 08 cmp 0x8(%rsp),%rax 22: 0f 85 52 01 00 00 jne 0x17a * 28: 89 d8 mov %ebx,%eax <-- trapping instruction 2a: 48 83 c4 10 add $0x10,%rsp 2e: 5b pop %rbx 2f: 41 5c pop %r12 31: 41 5d pop %r13 33: 41 5e pop %r14 35: 41 5f pop %r15 37: 5d pop %rbp 38: c3 retq 39: 48 rex.W 3a: c7 .byte 0xc7 3b: 04 24 add $0x24,%al