INFO: task syz-executor.0:738 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28984 pid: 738 ppid: 8445 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:0x466019 RSP: 002b:00007f46cd056188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000466019 RDX: 00000000200008c0 RSI: 0000000020001a40 RDI: 0000000020001900 RBP: 00000000004bd067 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000006c R11: 0000000000000246 R12: 000000000056c008 R13: 0000000000a9fb1f R14: 00007f46cd056300 R15: 0000000000022000 INFO: task syz-executor.0:778 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27312 pid: 778 ppid: 8445 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:0x466019 RSP: 002b:00007f46cd014188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c158 RCX: 0000000000466019 RDX: 0000000020000200 RSI: 00000000200020c0 RDI: 0000000000000000 RBP: 00000000004bd067 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c158 R13: 0000000000a9fb1f R14: 00007f46cd014300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:3/101: #0: ffff8880b9d34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1320 [inline] #0: ffff8880b9d34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x217/0x21a0 kernel/sched/core.c:4995 #1: ffff8880b9d20088 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x305/0x440 kernel/sched/psi.c:833 1 lock held by khungtaskd/1658: #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/8136: #0: ffff8880251acaf0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by agetty/8362: #0: ffff88801b73e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90000fac2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1aa0 drivers/tty/n_tty.c:2155 3 locks held by syz-executor.0/734: 2 locks held by syz-executor.0/738: #0: ffff88808554e460 (sb_writers#18){.+.+}-{0:0}, at: path_setxattr+0xb5/0x190 fs/xattr.c:570 #1: ffff88806a043090 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff88806a043090 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: vfs_setxattr+0x117/0x320 fs/xattr.c:290 1 lock held by syz-executor.0/778: #0: ffff88806a043090 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff88806a043090 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2198 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1658 Comm: khungtaskd Not tainted 5.11.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: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: 4875 Comm: systemd-journal Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memset+0x10/0x40 mm/kasan/shadow.c:43 Code: f4 ff ff ff eb d4 4c 89 ed eb a6 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 55 41 89 f5 41 54 49 89 d4 ba 01 00 00 00 55 <48> 8b 4c 24 18 4c 89 e6 48 89 fd e8 20 f7 ff ff 84 c0 74 13 4c 89 RSP: 0018:ffffc9000162fa38 EFLAGS: 00000292 RAX: ffff888012399bc0 RBX: ffffc9000162fb30 RCX: ffffc9000162fb30 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffc9000162faa8 RBP: ffff888012399bc0 R08: 00000000000000fc R09: ffffed1003d54eb7 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000060 R13: 0000000000000000 R14: ffff888012399bc0 R15: ffffc9000162faa8 FS: 00007fd7008358c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd6fc7b9000 CR3: 0000000026c52000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memset include/linux/string.h:432 [inline] __unwind_start+0x2a/0x800 arch/x86/kernel/unwind_orc.c:624 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0x5c/0xe0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:401 [inline] ____kasan_kmalloc.constprop.0+0x82/0xa0 mm/kasan/common.c:429 kasan_slab_alloc include/linux/kasan.h:209 [inline] slab_post_alloc_hook mm/slab.h:512 [inline] slab_alloc_node mm/slub.c:2892 [inline] slab_alloc mm/slub.c:2900 [inline] kmem_cache_alloc+0x1c6/0x440 mm/slub.c:2905 prepare_creds+0x3b/0x730 kernel/cred.c:258 access_override_creds fs/open.c:353 [inline] do_faccessat+0x3d7/0x820 fs/open.c:417 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fd6ffaf09c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd8884a818 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffd8884d730 RCX: 00007fd6ffaf09c7 RDX: 00007fd700561a00 RSI: 0000000000000000 RDI: 00005566c99ba9a3 RBP: 00007ffd8884a850 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffd8884d730 R15: 00007ffd8884ad40