INFO: task syz-executor.2:23426 blocked for more than 143 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28816 pid:23426 ppid: 8612 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 rwsem_down_read_slowpath+0x4ca/0x980 kernel/locking/rwsem.c:992 __down_read_common kernel/locking/rwsem.c:1213 [inline] __down_read kernel/locking/rwsem.c:1222 [inline] down_read+0xdf/0x440 kernel/locking/rwsem.c:1355 inode_lock_shared include/linux/fs.h:783 [inline] lookup_slow fs/namei.c:1560 [inline] walk_component+0x409/0x6a0 fs/namei.c:1861 link_path_walk.part.0+0x703/0xc70 fs/namei.c:2186 link_path_walk fs/namei.c:2112 [inline] path_lookupat+0xb7/0x830 fs/namei.c:2335 filename_lookup+0x19f/0x560 fs/namei.c:2369 user_path_at include/linux/namei.h:59 [inline] vfs_statx+0x142/0x390 fs/stat.c:185 vfs_fstatat fs/stat.c:207 [inline] vfs_stat include/linux/fs.h:3118 [inline] __do_compat_sys_newstat+0x91/0x110 fs/stat.c:646 do_syscall_32_irqs_on arch/x86/entry/common.c:77 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:139 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:164 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fc8549 RSP: 002b:00000000f55a15fc EFLAGS: 00000296 ORIG_RAX: 000000000000006a RAX: ffffffffffffffda RBX: 0000000020000840 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:23430 blocked for more than 144 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27192 pid:23430 ppid: 8612 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 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] lock_mount+0x8a/0x2e0 fs/namespace.c:2198 do_new_mount_fc fs/namespace.c:2824 [inline] do_new_mount fs/namespace.c:2883 [inline] path_mount+0x1787/0x20c0 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount fs/namespace.c:3409 [inline] __ia32_sys_mount+0x27e/0x300 fs/namespace.c:3409 do_syscall_32_irqs_on arch/x86/entry/common.c:77 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:139 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:164 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fc8549 RSP: 002b:00000000f55805fc EFLAGS: 00000296 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000200042c0 RDX: 0000000020002100 RSI: 0000000000000000 RDI: 0000000020002140 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1642: #0: ffffffff8bd73da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6259 1 lock held by systemd-journal/4888: 1 lock held by in:imklog/8170: #0: ffff8880219b8370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 3 locks held by syz-executor.2/23422: 1 lock held by syz-executor.2/23426: #0: ffff8880325e0810 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:783 [inline] #0: ffff8880325e0810 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1560 [inline] #0: ffff8880325e0810 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x409/0x6a0 fs/namei.c:1861 1 lock held by syz-executor.2/23430: #0: ffff8880325e0810 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff8880325e0810 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2198 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1642 Comm: khungtaskd Not tainted 5.11.0-rc6-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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8171 Comm: rs:main Q:Reg Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode+0x0/0x40 kernel/kcov.c:163 Code: 48 8b 54 24 10 e9 c6 fe ff ff 48 89 df e8 48 e3 42 00 e9 a1 fe ff ff 48 8b 3c 24 e8 3a e3 42 00 e9 18 fe ff ff cc cc cc cc cc <65> 8b 05 39 23 8f 7e 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 RSP: 0000:ffffc9000be87788 EFLAGS: 00000207 RAX: 0000000000000000 RBX: ffff8880a7b042a0 RCX: 00000000a7b042a0 RDX: ffff88802a953780 RSI: ffff88802a953780 RDI: 0000000000000003 RBP: ffff888127b042a0 R08: ffff888127b042a0 R09: 000000000000002e R10: ffffffff8132efce R11: 000000000000003f R12: 00000000a7b042a0 R13: ffffc9000be87858 R14: ffffea0000000000 R15: ffff8880a7b04310 FS: 00007f921ffff700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000050 CR3: 000000002d35f000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_comp_data kernel/kcov.c:218 [inline] __sanitizer_cov_trace_cmp8+0x1d/0x70 kernel/kcov.c:264 __phys_addr+0x4e/0x140 arch/x86/mm/physaddr.c:28 virt_to_head_page include/linux/mm.h:874 [inline] ___cache_free+0x21/0x4b0 mm/slub.c:3150 qlink_free mm/kasan/quarantine.c:146 [inline] qlist_free_all+0x5a/0xc0 mm/kasan/quarantine.c:165 quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 ____kasan_kmalloc.constprop.0+0x98/0xa0 mm/kasan/common.c:412 kasan_slab_alloc include/linux/kasan.h:209 [inline] slab_post_alloc_hook mm/slab.h:512 [inline] slab_alloc_node mm/slub.c:2892 [inline] slab_alloc mm/slub.c:2900 [inline] kmem_cache_alloc+0x1c6/0x440 mm/slub.c:2905 kmem_cache_zalloc include/linux/slab.h:672 [inline] jbd2_alloc_handle include/linux/jbd2.h:1555 [inline] new_handle fs/jbd2/transaction.c:459 [inline] jbd2__journal_start+0x191/0x930 fs/jbd2/transaction.c:486 __ext4_journal_start_sb+0x227/0x4a0 fs/ext4/ext4_jbd2.c:105 __ext4_journal_start fs/ext4/ext4_jbd2.h:320 [inline] ext4_da_write_begin+0x576/0x1150 fs/ext4/inode.c:2997 generic_perform_write+0x20a/0x4f0 mm/filemap.c:3412 ext4_buffered_write_iter+0x244/0x4d0 fs/ext4/file.c:270 ext4_file_write_iter+0x423/0x14d0 fs/ext4/file.c:664 call_write_iter include/linux/fs.h:1901 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x791/0xa30 fs/read_write.c:605 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f92270b21cd Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f921fffe590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9210026f80 RCX: 00007f92270b21cd RDX: 0000000000000096 RSI: 00007f9210026f80 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f9210026d00 R13: 00007f921fffe5b0 R14: 000055d336b94440 R15: 0000000000000096