INFO: task syz-executor.4:1101 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27664 pid: 1101 ppid: 6573 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0xd47/0x1440 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1528 inode_lock include/linux/fs.h:783 [inline] open_last_lookups fs/namei.c:3347 [inline] path_openat+0x853/0x3660 fs/namei.c:3556 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_creat fs/open.c:1304 [inline] __se_sys_creat fs/open.c:1298 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1298 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:0x7fd4a0118ae9 RSP: 002b:00007fd49d62b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd4a022c1a0 RCX: 00007fd4a0118ae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007fd4a0172f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd28ea073f R14: 00007fd49d62b300 R15: 0000000000022000 INFO: task syz-executor.4:1104 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27664 pid: 1104 ppid: 6573 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0xd47/0x1440 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1528 inode_lock include/linux/fs.h:783 [inline] open_last_lookups fs/namei.c:3347 [inline] path_openat+0x853/0x3660 fs/namei.c:3556 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_creat fs/open.c:1304 [inline] __se_sys_creat fs/open.c:1298 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1298 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:0x7fd4a0118ae9 RSP: 002b:00007fd49d5e9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd4a022c320 RCX: 00007fd4a0118ae9 RDX: 0000000000000000 RSI: 0000000000000122 RDI: 0000000020000180 RBP: 00007fd4a0172f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd28ea073f R14: 00007fd49d5e9300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8cd1db00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6192: #0: ffff88807c20f4f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 1 lock held by syz-executor.4/1062: 2 locks held by syz-executor.4/1101: #0: ffff888073e42460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff888017b0e6c0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff888017b0e6c0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline] #1: ffff888017b0e6c0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x853/0x3660 fs/namei.c:3556 2 locks held by syz-executor.4/1104: #0: ffff888073e42460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff888017b0e6c0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff888017b0e6c0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline] #1: ffff888017b0e6c0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x853/0x3660 fs/namei.c:3556 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc1-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+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2963 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_lock_acquire+0x0/0x30 include/linux/rcupdate.h:267 Code: 89 d6 49 89 f7 48 89 fb e8 ed 82 f2 ff 48 89 df 4c 89 fe 4c 89 f2 5b 41 5e 41 5f e9 5a b3 fc ff 66 2e 0f 1f 84 00 00 00 00 00 cb 82 f2 ff e8 c6 82 f2 ff 48 c7 c7 00 db d1 8c 31 f6 31 d2 b9 RSP: 0018:ffffc9000b5b78c0 EFLAGS: 00000283 RAX: 0000000000000001 RBX: 00007ff43b899687 RCX: ffff88807b695700 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff8cd1db00 RBP: 0000000000000001 R08: ffffffff81008ec9 R09: ffffc9000b5b7a50 R10: fffff520016b6f38 R11: 0000000000000000 R12: ffff88807b695700 R13: ffffffff8171bd80 R14: 00007ff43b899687 R15: 1ffff920016b6f35 FS: 00007ff43c5de8c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff439bfb000 CR3: 000000007ac96000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:688 [inline] is_bpf_text_address+0x27/0x270 kernel/bpf/core.c:715 kernel_text_address+0x9e/0xd0 kernel/extable.c:124 __kernel_text_address+0x9/0x40 kernel/extable.c:78 unwind_get_return_address+0x48/0x80 arch/x86/kernel/unwind_orc.c:318 arch_stack_walk+0xf8/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x10d/0x150 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:1723 [inline] slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1749 slab_free mm/slub.c:3513 [inline] kmem_cache_free+0x95/0x190 mm/slub.c:3529 putname fs/namei.c:270 [inline] do_mkdirat+0x49d/0x530 fs/namei.c:3918 __do_sys_mkdir fs/namei.c:3929 [inline] __se_sys_mkdir fs/namei.c:3927 [inline] __x64_sys_mkdir+0x6a/0x80 fs/namei.c:3927 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:0x7ff43b899687 Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007fff6d1870c8 EFLAGS: 00000293 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fff6d18a130 RCX: 00007ff43b899687 RDX: 0000000000000000 RSI: 00000000000001ed RDI: 00005573e6b2a8a0 RBP: 00007fff6d187100 R08: 00005573e5ec23e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 00005573e6b2a8a0 R15: 00007fff6d187740 ---------------- Code disassembly (best guess): 0: 89 d6 mov %edx,%esi 2: 49 89 f7 mov %rsi,%r15 5: 48 89 fb mov %rdi,%rbx 8: e8 ed 82 f2 ff callq 0xfff282fa d: 48 89 df mov %rbx,%rdi 10: 4c 89 fe mov %r15,%rsi 13: 4c 89 f2 mov %r14,%rdx 16: 5b pop %rbx 17: 41 5e pop %r14 19: 41 5f pop %r15 1b: e9 5a b3 fc ff jmpq 0xfffcb37a 20: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 27: 00 00 00 * 2a: e8 cb 82 f2 ff callq 0xfff282fa <-- trapping instruction 2f: e8 c6 82 f2 ff callq 0xfff282fa 34: 48 c7 c7 00 db d1 8c mov $0xffffffff8cd1db00,%rdi 3b: 31 f6 xor %esi,%esi 3d: 31 d2 xor %edx,%edx 3f: b9 .byte 0xb9