INFO: task syz-executor.0:20707 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:28112 pid:20707 ppid: 8442 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x112/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] vfs_setxattr+0x148/0x310 fs/xattr.c:290 setxattr+0x125/0x240 fs/xattr.c:553 path_setxattr+0x109/0x1c0 fs/xattr.c:572 __do_sys_setxattr fs/xattr.c:587 [inline] __se_sys_setxattr fs/xattr.c:583 [inline] __x64_sys_setxattr+0xb7/0xd0 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:00007f6fa4e25188 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: 00007ffc093729af R14: 00007f6fa4e25300 R15: 0000000000022000 INFO: task syz-executor.0:20750 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:29456 pid:20750 ppid: 8442 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x112/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] vfs_setxattr+0x148/0x310 fs/xattr.c:290 setxattr+0x125/0x240 fs/xattr.c:553 path_setxattr+0x109/0x1c0 fs/xattr.c:572 __do_sys_setxattr fs/xattr.c:587 [inline] __se_sys_setxattr fs/xattr.c:583 [inline] __x64_sys_setxattr+0xb7/0xd0 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:00007f6fa4dc2188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 000000000056c158 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000020000280 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c158 R13: 00007ffc093729af R14: 00007f6fa4dc2300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1645: #0: ffffffff8c711680 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8122: #0: ffff88802c950d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:947 2 locks held by syz-executor.0/20707: #0: ffff888066998460 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:354 #1: ffff888067008ed0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888067008ed0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: vfs_setxattr+0x148/0x310 fs/xattr.c:290 3 locks held by syz-executor.0/20718: 2 locks held by syz-executor.0/20750: #0: ffff888066998460 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:354 #1: ffff888067008ed0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888067008ed0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: vfs_setxattr+0x148/0x310 fs/xattr.c:290 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1645 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+0x137/0x1be lib/dump_stack.c:120 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 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+0xce9/0xd30 kernel/hung_task.c:294 kthread+0x39a/0x3c0 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: 4880 Comm: systemd-journal Not tainted 5.11.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0x48d/0x5e90 kernel/locking/lockdep.c:4775 Code: 83 7c 24 74 00 0f 95 c2 c1 e2 13 44 8b 65 20 41 c1 e4 14 41 09 c6 41 09 d6 45 09 e6 41 09 ce 45 09 c6 41 09 de 48 8b 44 24 50 <8a> 04 30 84 c0 0f 85 8c 25 00 00 44 8b 7d 28 48 8b 44 24 30 44 89 RSP: 0018:ffffc900012df9b0 EFLAGS: 00000002 RAX: 1ffff11002633135 RBX: 0000000000000000 RCX: 0000000000040000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffff88801319896c RBP: ffffc900012dfb58 R08: 0000000000000561 R09: 0000000000000000 R10: fffffbfff1b6731e R11: 0000000000000000 R12: 0000000000000000 R13: ffff888013198000 R14: 0000000000040561 R15: ffff8880131989a0 FS: 00007f587f8658c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f587cdb3028 CR3: 000000001230e000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x114/0x5e0 kernel/locking/lockdep.c:5442 __mutex_lock_common+0x173/0x2f00 kernel/locking/mutex.c:956 __mutex_lock kernel/locking/mutex.c:1103 [inline] mutex_lock_interruptible_nested+0x1a/0x20 kernel/locking/mutex.c:1140 devkmsg_read+0x77/0x860 kernel/printk/printk.c:718 vfs_read+0x213/0xa80 fs/read_write.c:494 ksys_read+0x11b/0x220 fs/read_write.c:634 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f587edf4210 Code: 73 01 c3 48 8b 0d 98 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d b9 c1 20 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24 RSP: 002b:00007fffdace60d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007fffdace8b50 RCX: 00007f587edf4210 RDX: 0000000000002000 RSI: 00007fffdace6950 RDI: 0000000000000009 RBP: 0000000000000000 R08: 0000000000000008 R09: 0000000000000070 R10: 00007fffdade2118 R11: 0000000000000246 R12: 00007fffdace6950 R13: 00007fffdace8aa8 R14: 000055ffbccd9958 R15: 0005bae066f2e61d