INFO: task syz-executor.0:3515 blocked for more than 143 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27544 pid: 3515 ppid: 17724 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write_common kernel/locking/rwsem.c:1265 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1524 inode_lock include/linux/fs.h:783 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2242 do_new_mount_fc fs/namespace.c:2931 [inline] do_new_mount fs/namespace.c:2990 [inline] path_mount+0x14c6/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0de512fae9 RSP: 002b:00007f0de2684188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f0de5243020 RCX: 00007f0de512fae9 RDX: 0000000020000140 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 00007f0de5189f6d R08: 0000000020000580 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe8f720adf R14: 00007f0de2684300 R15: 0000000000022000 INFO: task syz-executor.0:3554 blocked for more than 143 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28832 pid: 3554 ppid: 17724 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write_common kernel/locking/rwsem.c:1265 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1524 inode_lock include/linux/fs.h:783 [inline] vfs_setxattr+0x11c/0x330 fs/xattr.c:300 setxattr+0x218/0x2b0 fs/xattr.c:575 path_setxattr+0x197/0x1c0 fs/xattr.c:595 __do_sys_setxattr fs/xattr.c:611 [inline] __se_sys_setxattr fs/xattr.c:607 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:607 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0de512fae9 RSP: 002b:00007f0de2663188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f0de52430e0 RCX: 00007f0de512fae9 RDX: 0000000020000340 RSI: 0000000020000180 RDI: 0000000020000080 RBP: 00007f0de5189f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000006000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe8f720adf R14: 00007f0de2663300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by kworker/1:3/2932: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc9000b2afdb0 ((work_completion)(&m->wq)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 2 locks held by in:imklog/6210: #0: ffff888073074ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 #1: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 2 locks held by syz-executor.0/3505: #0: ffff888077052460 (sb_writers#27){.+.+}-{0:0}, at: path_setxattr+0xb2/0x1c0 fs/xattr.c:593 #1: ffff888084ec6e70 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff888084ec6e70 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: vfs_setxattr+0x11c/0x330 fs/xattr.c:300 1 lock held by syz-executor.0/3515: #0: ffff888084ec6e70 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #0: ffff888084ec6e70 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2242 2 locks held by syz-executor.0/3554: #0: ffff888077052460 (sb_writers#27){.+.+}-{0:0}, at: path_setxattr+0xb2/0x1c0 fs/xattr.c:593 #1: ffff888084ec6e70 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff888084ec6e70 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: vfs_setxattr+0x11c/0x330 fs/xattr.c:300 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 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:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8940 Comm: kworker/u4:7 Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:mark_lock+0x3d/0x17b0 kernel/locking/lockdep.c:4566 Code: ff df 55 53 48 81 ec 18 01 00 00 48 8d 5c 24 38 48 89 3c 24 48 c7 44 24 38 b3 8a b5 41 48 c1 eb 03 48 c7 44 24 40 70 4b 37 8b <48> 8d 04 13 48 c7 44 24 48 50 41 5c 81 c7 00 f1 f1 f1 f1 c7 40 04 RSP: 0018:ffffc9000499f638 EFLAGS: 00000012 RAX: 0000000000000000 RBX: 1ffff92000933ece RCX: 1ffffffff1fef34e RDX: dffffc0000000000 RSI: ffff88807cda2828 RDI: ffff88807cda1d00 RBP: ffff88807cda284a R08: 0000000000000000 R09: ffffffff8ff72a17 R10: 0000000000000001 R11: 000000000000003f R12: 0000000000000006 R13: ffff88807cda1d00 R14: ffff88807cda2760 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcdb4c70000 CR3: 000000000b88e000 CR4: 0000000000350ee0 Call Trace: mark_usage kernel/locking/lockdep.c:4518 [inline] __lock_acquire+0x88f/0x54a0 kernel/locking/lockdep.c:4981 lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] __get_locked_pte+0x2b6/0x4d0 mm/memory.c:1722 get_locked_pte include/linux/mm.h:2160 [inline] __text_poke+0x1ae/0x8c0 arch/x86/kernel/alternative.c:1000 text_poke_bp_batch+0x3d7/0x560 arch/x86/kernel/alternative.c:1361 text_poke_flush arch/x86/kernel/alternative.c:1451 [inline] text_poke_flush arch/x86/kernel/alternative.c:1448 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d5/0x430 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:732 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:724 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: df 55 53 fists 0x53(%rbp) 3: 48 81 ec 18 01 00 00 sub $0x118,%rsp a: 48 8d 5c 24 38 lea 0x38(%rsp),%rbx f: 48 89 3c 24 mov %rdi,(%rsp) 13: 48 c7 44 24 38 b3 8a movq $0x41b58ab3,0x38(%rsp) 1a: b5 41 1c: 48 c1 eb 03 shr $0x3,%rbx 20: 48 c7 44 24 40 70 4b movq $0xffffffff8b374b70,0x40(%rsp) 27: 37 8b * 29: 48 8d 04 13 lea (%rbx,%rdx,1),%rax <-- trapping instruction 2d: 48 c7 44 24 48 50 41 movq $0xffffffff815c4150,0x48(%rsp) 34: 5c 81 36: c7 00 f1 f1 f1 f1 movl $0xf1f1f1f1,(%rax) 3c: c7 .byte 0xc7 3d: 40 rex 3e: 04 .byte 0x4