INFO: task syz-executor.3:18726 blocked for more than 143 seconds. Not tainted 5.11.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29280 pid:18726 ppid: 8467 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] 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_lsetxattr fs/xattr.c:594 [inline] __se_sys_lsetxattr fs/xattr.c:590 [inline] __x64_sys_lsetxattr+0xbd/0x150 fs/xattr.c:590 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007f113a489c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 00000000200000c0 RBP: 000000000119c078 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007ffdf26bb47f R14: 00007f113a48a9c0 R15: 000000000119c034 INFO: task syz-executor.3:18731 blocked for more than 143 seconds. Not tainted 5.11.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29592 pid:18731 ppid: 8467 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] 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:0x45e219 RSP: 002b:00007f113a468c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000020000000 RBP: 000000000119c120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c0dc R13: 00007ffdf26bb47f R14: 00007f113a4699c0 R15: 000000000119c0dc Showing all locks held in the system: 1 lock held by khungtaskd/1657: #0: ffffffff8b363860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254 1 lock held by in:imklog/8155: #0: ffff8880133100f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by syz-executor.3/18712: 2 locks held by syz-executor.3/18726: #0: ffff88807f6de460 (sb_writers#18){.+.+}-{0:0}, at: path_setxattr+0xb5/0x190 fs/xattr.c:570 #1: ffff888077e50150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888077e50150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: vfs_setxattr+0x117/0x320 fs/xattr.c:290 2 locks held by syz-executor.3/18731: #0: ffff88807f6de460 (sb_writers#18){.+.+}-{0:0}, at: path_setxattr+0xb5/0x190 fs/xattr.c:570 #1: ffff888077e50150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888077e50150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: vfs_setxattr+0x117/0x320 fs/xattr.c:290 1 lock held by syz-executor.3/18737: #0: ffff888077e50150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff888077e50150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2195 2 locks held by syz-executor.3/18761: #0: ffff88807f6de460 (sb_writers#18){.+.+}-{0:0}, at: path_setxattr+0xb5/0x190 fs/xattr.c:570 #1: ffff888077e50150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888077e50150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: vfs_setxattr+0x117/0x320 fs/xattr.c:290 2 locks held by syz-executor.3/18762: #0: ffff88807f6de460 (sb_writers#18){.+.+}-{0:0}, at: path_setxattr+0xb5/0x190 fs/xattr.c:570 #1: ffff888077e50150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888077e50150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: vfs_setxattr+0x117/0x320 fs/xattr.c:290 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1657 Comm: khungtaskd Not tainted 5.11.0-rc2-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: 18712 Comm: syz-executor.3 Not tainted 5.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5185 [inline] RIP: 0010:lock_is_held_type+0x7e/0x100 kernel/locking/lockdep.c:5476 Code: 85 c0 7f 0f eb 7a 83 c3 01 41 3b 9c 24 80 09 00 00 7d 6d 48 63 c3 48 89 ee 48 8d 04 80 4d 8d 7c c5 00 4c 89 ff e8 62 fc ff ff <85> c0 74 d8 41 83 fe ff 41 bc 01 00 00 00 74 12 41 0f b6 47 22 45 RSP: 0018:ffffc90003837368 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 1ffffffff19df11b RDX: 0000000000000000 RSI: ffffffff8b3637a0 RDI: ffff88801daedd18 RBP: ffffffff8b3637a0 R08: 0000000000000000 R09: ffffffff8cef570f R10: fffffbfff19deae1 R11: 0000000000000000 R12: ffff88801daed340 R13: ffff88801daedcc8 R14: 00000000ffffffff R15: ffff88801daedd18 FS: 00007f113a4ab700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4115e1c000 CR3: 0000000013b18000 CR4: 0000000000350ef0 Call Trace: lock_is_held include/linux/lockdep.h:271 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:123 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x5b7/0x710 kernel/locking/lockdep.c:5448 __raw_spin_unlock include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:394 [inline] find_inode+0x1b8/0x220 fs/inode.c:836 ilookup5_nowait+0x6f/0xb0 fs/inode.c:1334 ilookup5 fs/inode.c:1363 [inline] iget5_locked+0x41/0x220 fs/inode.c:1144 fuse_iget+0x271/0x610 fs/fuse/inode.c:342 fuse_lookup_name+0x447/0x630 fs/fuse/dir.c:439 fuse_lookup.part.0+0xdf/0x390 fs/fuse/dir.c:469 fuse_lookup fs/fuse/dir.c:465 [inline] fuse_atomic_open+0x2de/0x440 fs/fuse/dir.c:621 atomic_open fs/namei.c:2972 [inline] lookup_open.isra.0+0xc09/0x1350 fs/namei.c:3078 open_last_lookups fs/namei.c:3180 [inline] path_openat+0x96d/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_openat fs/open.c:1204 [inline] __se_sys_openat fs/open.c:1199 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1199 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f113a4aac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000020004400 RDI: ffffffffffffff9c RBP: 000000000119bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007ffdf26bb47f R14: 00007f113a4ab9c0 R15: 000000000119bf8c