INFO: task syz-executor.0:11630 blocked for more than 143 seconds. Not tainted 5.11.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27056 pid:11630 ppid: 8455 flags:0x00000004 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] vfs_setxattr+0x117/0x320 fs/xattr.c:290 setxattr+0x1ff/0x290 fs/xattr.c:553 path_setxattr+0x170/0x190 fs/xattr.c:572 __do_sys_setxattr fs/xattr.c:587 [inline] __se_sys_setxattr fs/xattr.c:583 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:583 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 RSP: 002b:00007f4cc0c9e188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000020000280 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffc81ed9b4f R14: 00007f4cc0c9e300 R15: 0000000000022000 INFO: task syz-executor.0:11670 blocked for more than 143 seconds. Not tainted 5.11.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27088 pid:11670 ppid: 8455 flags:0x00004004 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] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 RSP: 002b:00007f4cc0c3b188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c158 RCX: 0000000000465b09 RDX: 0000000020002100 RSI: 00000000200020c0 RDI: 0000000000000000 RBP: 00000000004b069f R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c158 R13: 00007ffc81ed9b4f R14: 00007f4cc0c3b300 R15: 0000000000022000 INFO: task syz-executor.0:11676 blocked for more than 144 seconds. Not tainted 5.11.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29600 pid:11676 ppid: 8455 flags:0x00000004 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] vfs_setxattr+0x117/0x320 fs/xattr.c:290 setxattr+0x1ff/0x290 fs/xattr.c:553 path_setxattr+0x170/0x190 fs/xattr.c:572 __do_sys_setxattr fs/xattr.c:587 [inline] __se_sys_setxattr fs/xattr.c:583 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:583 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 RSP: 002b:00007f4cc0bf9188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 000000000056c2a8 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000020000280 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c2a8 R13: 00007ffc81ed9b4f R14: 00007f4cc0bf9300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1643: #0: ffffffff8bd73da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6259 1 lock held by in:imklog/8148: #0: ffff88802aa7b870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by syz-executor.0/11630: #0: ffff88801ed84460 (sb_writers#19){.+.+}-{0:0}, at: path_setxattr+0xb5/0x190 fs/xattr.c:570 #1: ffff8880683d3850 (&type->i_mutex_dir_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff8880683d3850 (&type->i_mutex_dir_key#9){+.+.}-{3:3}, at: vfs_setxattr+0x117/0x320 fs/xattr.c:290 5 locks held by syz-executor.0/11642: 1 lock held by syz-executor.0/11670: #0: ffff8880683d3850 (&type->i_mutex_dir_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff8880683d3850 (&type->i_mutex_dir_key#9){+.+.}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2198 2 locks held by syz-executor.0/11676: #0: ffff88801ed84460 (sb_writers#19){.+.+}-{0:0}, at: path_setxattr+0xb5/0x190 fs/xattr.c:570 #1: ffff8880683d3850 (&type->i_mutex_dir_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff8880683d3850 (&type->i_mutex_dir_key#9){+.+.}-{3:3}, at: vfs_setxattr+0x117/0x320 fs/xattr.c:290 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1643 Comm: khungtaskd Not tainted 5.11.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: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: 45 Comm: kworker/u4:2 Not tainted 5.11.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-8:0) RIP: 0010:write_comp_data kernel/kcov.c:218 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x17/0x70 kernel/kcov.c:284 Code: 30 f0 4c 89 54 d8 20 48 89 10 5b c3 0f 1f 80 00 00 00 00 41 89 f8 bf 03 00 00 00 4c 8b 14 24 89 f1 65 48 8b 34 25 00 f0 01 00 a4 f1 ff ff 84 c0 74 4b 48 8b 86 b0 14 00 00 8b b6 ac 14 00 00 RSP: 0018:ffffc90000ec6bd8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff88803550b160 RCX: 0000000000000001 RDX: 1ffff11005bcdf54 RSI: ffff888011e42300 RDI: 0000000000000003 RBP: ffff88802df4a000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff821a6a75 R11: 0000000000000000 R12: ffff88802de6fa50 R13: ffff8880262e07c0 R14: 0000000000000000 R15: ffff88803550b184 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d86fcd000 CR3: 0000000014c0b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jbd2_journal_dirty_metadata+0x635/0xaa0 fs/jbd2/transaction.c:1484 __ext4_handle_dirty_metadata+0xfd/0x730 fs/ext4/ext4_jbd2.c:331 ext4_do_update_inode fs/ext4/inode.c:5144 [inline] ext4_mark_iloc_dirty+0x19b6/0x3890 fs/ext4/inode.c:5725 __ext4_mark_inode_dirty+0x21d/0x8c0 fs/ext4/inode.c:5919 __ext4_ext_dirty+0x134/0x180 fs/ext4/extents.c:169 ext4_ext_insert_extent+0xdcc/0x4160 fs/ext4/extents.c:2130 ext4_ext_map_blocks+0x137f/0x5fb0 fs/ext4/extents.c:4259 ext4_map_blocks+0x653/0x17d0 fs/ext4/inode.c:637 mpage_map_one_extent fs/ext4/inode.c:2396 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2449 [inline] ext4_writepages+0x1cb2/0x3b70 fs/ext4/inode.c:2801 do_writepages+0xec/0x290 mm/page-writeback.c:2352 __writeback_single_inode+0x126/0x1030 fs/fs-writeback.c:1461 writeback_sb_inodes+0x53d/0xef0 fs/fs-writeback.c:1723 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1792 wb_writeback+0x814/0xc40 fs/fs-writeback.c:1898 wb_check_old_data_flush fs/fs-writeback.c:2000 [inline] wb_do_writeback fs/fs-writeback.c:2053 [inline] wb_workfn+0x891/0x12d0 fs/fs-writeback.c:2082 process_one_work+0x98d/0x15f0 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296