INFO: task syz-executor.2:9937 blocked for more than 143 seconds. Not tainted 5.11.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26792 pid: 9937 ppid: 8487 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] open_last_lookups fs/namei.c:3177 [inline] path_openat+0x907/0x2730 fs/namei.c:3368 do_filp_open+0x17e/0x3c0 fs/namei.c:3398 do_sys_openat2+0x16d/0x420 fs/open.c:1172 do_sys_open fs/open.c:1188 [inline] __do_sys_creat fs/open.c:1262 [inline] __se_sys_creat fs/open.c:1256 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1256 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007f596e2f4c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020002040 RBP: 000000000119bfb8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007fffe2f32c2f R14: 00007f596e2f59c0 R15: 000000000119bf8c Showing all locks held in the system: 1 lock held by khungtaskd/1650: #0: ffffffff8b363860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254 1 lock held by systemd-journal/4885: 1 lock held by in:imklog/8379: #0: ffff888019873170 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:949 2 locks held by syz-executor.2/9937: #0: ffff88802ceca460 (sb_writers#17){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3167 [inline] #0: ffff88802ceca460 (sb_writers#17){.+.+}-{0:0}, at: path_openat+0x2462/0x2730 fs/namei.c:3368 #1: ffff888039bee850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888039bee850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3177 [inline] #1: ffff888039bee850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x907/0x2730 fs/namei.c:3368 2 locks held by syz-executor.2/9944: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1650 Comm: khungtaskd Not tainted 5.11.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:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd43/0xfa0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4885 Comm: systemd-journal Not tainted 5.11.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:list_del include/linux/list.h:147 [inline] RIP: 0010:free_block+0xfa/0x240 mm/slab.c:3339 Code: 08 4c 89 ef e8 87 49 0c 02 84 c0 74 0f 49 8b 4e 08 49 8b 46 10 48 89 41 08 48 89 08 48 b8 00 01 00 00 00 00 ad de 41 8b 7e 30 <49> 89 46 08 48 83 c0 22 49 89 46 10 4c 89 e0 49 2b 46 28 8b 4d 18 RSP: 0018:ffffc90001067c40 EFLAGS: 00000002 RAX: dead000000000100 RBX: ffffe8ffffc0b8e8 RCX: ffff888011137c40 RDX: ffffea000048ec48 RSI: ffffffff8132a9ca RDI: 000000000000000a RBP: ffff8880110e9d00 R08: 000000000048ec40 R09: 0000000000000003 R10: ffffffff8132a9c0 R11: 0000000000000000 R12: ffff8880123b16c0 R13: ffffea000048ec48 R14: ffffea000048ec40 R15: ffff888011137c00 FS: 00007f6987b8d8c0(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6984fb3000 CR3: 0000000013ef7000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cache_flusharray mm/slab.c:3392 [inline] ___cache_free+0x52a/0x770 mm/slab.c:3459 qlink_free mm/kasan/quarantine.c:146 [inline] qlist_free_all+0x44/0x100 mm/kasan/quarantine.c:165 quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 ____kasan_kmalloc.constprop.0+0x95/0xa0 mm/kasan/common.c:412 kasan_kmalloc include/linux/kasan.h:215 [inline] __do_kmalloc mm/slab.c:3659 [inline] __kmalloc+0x20c/0x440 mm/slab.c:3668 lsm_cred_alloc security/security.c:534 [inline] security_prepare_creds+0x104/0x180 security/security.c:1633 prepare_creds+0x509/0x730 kernel/cred.c:285 access_override_creds fs/open.c:353 [inline] do_faccessat+0x3d7/0x820 fs/open.c:417 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f6986e499c7 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:00007ffd3b8ad768 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffd3b8b0790 RCX: 00007f6986e499c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000557f5ceea9a3 RBP: 00007ffd3b8ad8b0 R08: 0000557f5cee03e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000557f5d5ea8c0 R15: 00007ffd3b8adda0