INFO: task syz-executor.0:23454 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26288 pid:23454 ppid: 11788 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6250 schedule+0x12b/0x1f0 kernel/sched/core.c:6323 rwsem_down_write_slowpath+0xd47/0x1440 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1528 inode_lock include/linux/fs.h:783 [inline] vfs_setxattr+0x1e8/0x440 fs/xattr.c:300 setxattr+0x1aa/0x300 fs/xattr.c:575 path_setxattr+0x1a8/0x270 fs/xattr.c:595 __do_sys_setxattr fs/xattr.c:611 [inline] __se_sys_setxattr fs/xattr.c:607 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:607 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa881cb0ae9 RSP: 002b:00007fa87f1e4188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fa881dc40e0 RCX: 00007fa881cb0ae9 RDX: 0000000020000340 RSI: 0000000020000180 RDI: 0000000020000080 RBP: 00007fa881d0af25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000007fe9 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff55fc2c9f R14: 00007fa87f1e4300 R15: 0000000000022000 INFO: task syz-executor.0:23455 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25720 pid:23455 ppid: 11788 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6250 schedule+0x12b/0x1f0 kernel/sched/core.c:6323 rwsem_down_write_slowpath+0xd47/0x1440 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1528 inode_lock include/linux/fs.h:783 [inline] lock_mount+0x6a/0x2f0 fs/namespace.c:2242 do_new_mount_fc fs/namespace.c:2931 [inline] do_new_mount fs/namespace.c:2990 [inline] path_mount+0x22c7/0x2c30 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount+0x308/0x3c0 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa881cb0ae9 RSP: 002b:00007fa87f1c3188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa881dc41a0 RCX: 00007fa881cb0ae9 RDX: 0000000020000140 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 00007fa881d0af25 R08: 0000000020000580 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff55fc2c9f R14: 00007fa87f1c3300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91d500 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6161: 2 locks held by kworker/u4:7/13453: 2 locks held by kworker/0:4/633: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9001449fd20 ((work_completion)(&m->wq)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 2 locks held by kworker/u4:5/7588: #0: ffff8880b9a31558 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 #1: ffff8880b9a1f888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4c1/0x780 kernel/sched/psi.c:880 2 locks held by syz-executor.0/23412: #0: ffff888085ea6460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff888086798298 (&sb->s_type->i_mutex_key#27){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff888086798298 (&sb->s_type->i_mutex_key#27){++++}-{3:3}, at: vfs_setxattr+0x1e8/0x440 fs/xattr.c:300 2 locks held by syz-executor.0/23454: #0: ffff888085ea6460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff888086798298 (&sb->s_type->i_mutex_key#27){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff888086798298 (&sb->s_type->i_mutex_key#27){++++}-{3:3}, at: vfs_setxattr+0x1e8/0x440 fs/xattr.c:300 1 lock held by syz-executor.0/23455: #0: ffff888086798298 (&sb->s_type->i_mutex_key#27){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #0: ffff888086798298 (&sb->s_type->i_mutex_key#27){++++}-{3:3}, at: lock_mount+0x6a/0x2f0 fs/namespace.c:2242 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13453 Comm: kworker/u4:7 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:lock_is_held_type+0x12e/0x190 kernel/locking/lockdep.c:5670 Code: e8 e7 10 00 00 b8 ff ff ff ff 65 0f c1 05 3a de 06 76 83 f8 01 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 <75> 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 48 RSP: 0000:ffffc9000a87f658 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000080000003 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000 RBP: 0000000000000003 R08: dffffc0000000000 R09: fffffbfff1bb8fc6 R10: fffffbfff1bb8fc6 R11: 0000000000000000 R12: 0000000000000046 R13: ffff8880803c8000 R14: 00000000ffffffff R15: ffffffff8c91d460 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1b0d4f7000 CR3: 000000000c68e000 CR4: 00000000003526f0 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x89/0x130 kernel/rcu/update.c:125 trace_lock_release+0x4f/0x150 include/trace/events/lock.h:58 lock_release+0x82/0x810 kernel/locking/lockdep.c:5636 prepare_lock_switch+0xcd/0x1b0 kernel/sched/core.c:4713 context_switch kernel/sched/core.c:4966 [inline] __schedule+0xb65/0x1460 kernel/sched/core.c:6250 schedule+0x12b/0x1f0 kernel/sched/core.c:6323 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1881 toggle_allocation_gate+0x218/0x460 mm/kfence/core.c:633 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: e8 e7 10 00 00 callq 0x10ec 5: b8 ff ff ff ff mov $0xffffffff,%eax a: 65 0f c1 05 3a de 06 xadd %eax,%gs:0x7606de3a(%rip) # 0x7606de4c 11: 76 12: 83 f8 01 cmp $0x1,%eax 15: 75 40 jne 0x57 17: 48 c7 04 24 00 00 00 movq $0x0,(%rsp) 1e: 00 1f: 9c pushfq 20: 8f 04 24 popq (%rsp) 23: f7 04 24 00 02 00 00 testl $0x200,(%rsp) * 2a: 75 46 jne 0x72 <-- trapping instruction 2c: 41 f7 c4 00 02 00 00 test $0x200,%r12d 33: 74 01 je 0x36 35: fb sti 36: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 3d: 00 00 3f: 48 rex.W