INFO: task syz-executor.5:32618 blocked for more than 143 seconds. Not tainted 5.15.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29272 pid:32618 ppid: 6897 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 inode_lock include/linux/fs.h:786 [inline] open_last_lookups fs/namei.c:3349 [inline] path_openat+0x941/0x2740 fs/namei.c:3558 do_filp_open+0x1aa/0x400 fs/namei.c:3588 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_creat fs/open.c:1290 [inline] __se_sys_creat fs/open.c:1284 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1284 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f60b1f2cae9 RSP: 002b:00007f60af3fd188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f60b2040320 RCX: 00007f60b1f2cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007f60b1f86f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0a02209f R14: 00007f60af3fd300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b97f0e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6261: #0: ffff88801acd05f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by syz-executor.5/32604: 2 locks held by syz-executor.5/32609: 1 lock held by syz-executor.5/32616: #0: ffff888085c64190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:796 [inline] #0: ffff888085c64190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff888085c64190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1970 2 locks held by syz-executor.5/32618: #0: ffff888023f96460 (sb_writers#20){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3341 [inline] #0: ffff888023f96460 (sb_writers#20){.+.+}-{0:0}, at: path_openat+0x25c9/0x2740 fs/namei.c:3558 #1: ffff888085c64190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:786 [inline] #1: ffff888085c64190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3349 [inline] #1: ffff888085c64190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x941/0x2740 fs/namei.c:3558 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc7-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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 32609 Comm: syz-executor.5 Not tainted 5.15.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x13/0x60 kernel/kcov.c:196 Code: 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 65 8b 05 59 cc 8b 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 <65> 48 8b 14 25 40 f0 01 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 RSP: 0018:ffffc90003fe73f0 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 0000000000000200 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81d8a491 RDI: 0000000000000003 RBP: 0000000000022000 R08: 0000000000000100 R09: 0000000000000000 R10: ffffffff81d8a4a3 R11: 0000000000000000 R12: 0000000095ed3f5c R13: 0000000000000000 R14: 0000000000000009 R15: 0000000000000400 FS: 00007f60af43f700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f31d126d020 CR3: 000000003933b000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blksize_bits include/linux/blkdev.h:1612 [inline] blkdev_max_block fs/buffer.c:884 [inline] init_page_buffers+0x201/0x530 fs/buffer.c:900 grow_dev_page fs/buffer.c:956 [inline] grow_buffers fs/buffer.c:1014 [inline] __getblk_slow+0x8fe/0xb70 fs/buffer.c:1041 __getblk_gfp fs/buffer.c:1334 [inline] __bread_gfp+0x275/0x3c0 fs/buffer.c:1379 sb_bread include/linux/buffer_head.h:303 [inline] get_branch fs/minix/itree_common.c:46 [inline] get_block+0x293/0x1450 fs/minix/itree_common.c:166 minix_get_block+0xbb/0x110 fs/minix/inode.c:397 block_read_full_page+0x28d/0xdf0 fs/buffer.c:2288 do_read_cache_page+0x8e8/0x13c0 mm/filemap.c:3458 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/minix/dir.c:70 [inline] minix_find_entry+0x203/0x7e0 fs/minix/dir.c:170 minix_inode_by_name+0x6d/0x460 fs/minix/dir.c:454 minix_lookup fs/minix/namei.c:30 [inline] minix_lookup+0x103/0x190 fs/minix/namei.c:22 __lookup_slow+0x24c/0x480 fs/namei.c:1657 lookup_slow fs/namei.c:1674 [inline] walk_component+0x40f/0x6a0 fs/namei.c:1970 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x1bb/0x860 fs/namei.c:2449 filename_lookup+0x1c6/0x590 fs/namei.c:2478 user_path_at_empty+0x42/0x60 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x92/0x1c0 fs/xattr.c:590 __do_sys_lsetxattr fs/xattr.c:618 [inline] __se_sys_lsetxattr fs/xattr.c:614 [inline] __x64_sys_lsetxattr+0xbd/0x150 fs/xattr.c:614 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f60b1f2cae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f60af43f188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f60b20401a0 RCX: 00007f60b1f2cae9 RDX: 00000000200005c0 RSI: 00000000200000c0 RDI: 0000000020000080 RBP: 00007f60b1f86f25 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000084 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0a02209f R14: 00007f60af43f300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 4d 8b add %cl,-0x75(%rbp) 3: 03 48 0f add 0xf(%rax),%ecx 6: bd ca 49 8b 45 mov $0x458b49ca,%ebp b: 00 48 63 add %cl,0x63(%rax) e: c9 leaveq f: e9 64 ff ff ff jmpq 0xffffff78 14: 0f 1f 00 nopl (%rax) 17: 65 8b 05 59 cc 8b 7e mov %gs:0x7e8bcc59(%rip),%eax # 0x7e8bcc77 1e: 89 c1 mov %eax,%ecx 20: 48 8b 34 24 mov (%rsp),%rsi 24: 81 e1 00 01 00 00 and $0x100,%ecx * 2a: 65 48 8b 14 25 40 f0 mov %gs:0x1f040,%rdx <-- trapping instruction 31: 01 00 33: a9 00 01 ff 00 test $0xff0100,%eax 38: 74 0e je 0x48 3a: 85 c9 test %ecx,%ecx 3c: 74 35 je 0x73 3e: 8b .byte 0x8b 3f: 82 .byte 0x82