INFO: task syz-executor.2:22134 blocked for more than 143 seconds. Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29016 pid:22134 ppid:5093 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x1409/0x43f0 kernel/sched/core.c:6606 schedule+0xc3/0x190 kernel/sched/core.c:6682 rwsem_down_write_slowpath+0xfcf/0x14a0 kernel/locking/rwsem.c:1190 inode_lock_nested include/linux/fs.h:791 [inline] lock_rename+0xa4/0x1a0 fs/namei.c:2998 do_renameat2+0x549/0x1390 fs/namei.c:4871 __do_sys_renameat2 fs/namei.c:4963 [inline] __se_sys_renameat2 fs/namei.c:4960 [inline] __x64_sys_renameat2+0xd2/0xe0 fs/namei.c:4960 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f678588c0f9 RSP: 002b:00007f678664c168 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f67859ac050 RCX: 00007f678588c0f9 RDX: 0000000000000004 RSI: 00000000200001c0 RDI: 0000000000000004 RBP: 00007f67858e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc211b8f6f R14: 00007f678664c300 R15: 0000000000022000 INFO: task syz-executor.2:22137 blocked for more than 144 seconds. Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27560 pid:22137 ppid:5093 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x1409/0x43f0 kernel/sched/core.c:6606 schedule+0xc3/0x190 kernel/sched/core.c:6682 rwsem_down_write_slowpath+0xfcf/0x14a0 kernel/locking/rwsem.c:1190 inode_lock_nested include/linux/fs.h:791 [inline] filename_create+0x25a/0x530 fs/namei.c:3807 do_symlinkat+0xfa/0x5f0 fs/namei.c:4420 __do_sys_symlinkat fs/namei.c:4447 [inline] __se_sys_symlinkat fs/namei.c:4444 [inline] __x64_sys_symlinkat+0x99/0xb0 fs/namei.c:4444 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f678588c0f9 RSP: 002b:00007f678662b168 EFLAGS: 00000246 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 00007f67859ac120 RCX: 00007f678588c0f9 RDX: 00000000200000c0 RSI: 0000000000000005 RDI: 0000000020000040 RBP: 00007f67858e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc211b8f6f R14: 00007f678662b300 R15: 0000000000022000 INFO: task syz-executor.2:22144 blocked for more than 145 seconds. Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29096 pid:22144 ppid:5093 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x1409/0x43f0 kernel/sched/core.c:6606 schedule+0xc3/0x190 kernel/sched/core.c:6682 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6741 __mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 lock_rename+0x58/0x1a0 fs/namei.c:2994 do_renameat2+0x549/0x1390 fs/namei.c:4871 __do_sys_renameat2 fs/namei.c:4963 [inline] __se_sys_renameat2 fs/namei.c:4960 [inline] __x64_sys_renameat2+0xd2/0xe0 fs/namei.c:4960 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f678588c0f9 RSP: 002b:00007f678660a168 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f67859ac1f0 RCX: 00007f678588c0f9 RDX: 0000000000000004 RSI: 0000000020001680 RDI: 0000000000000005 RBP: 00007f67858e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200016c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc211b8f6f R14: 00007f678660a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf25950 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf26150 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8cf25780 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by udevd/4425: 2 locks held by getty/4744: #0: ffff888028396098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.0/5092: #0: ffffffff8cf2ad78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #0: ffffffff8cf2ad78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3ab/0x890 kernel/rcu/tree_exp.h:946 1 lock held by syz-executor.1/5100: #0: ffffffff8cf2ad78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8cf2ad78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x474/0x890 kernel/rcu/tree_exp.h:946 2 locks held by kworker/0:16/5459: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370 #1: ffffc90005657d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264 3 locks held by kworker/u4:7/5689: 6 locks held by syz-executor.2/22117: 3 locks held by syz-executor.2/22134: #0: ffff8880301c4460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:508 #1: ffff8880301c4748 (&type->s_vfs_rename_key#3){+.+.}-{3:3}, at: lock_rename+0x58/0x1a0 fs/namei.c:2994 #2: ffff8880833e0f78 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #2: ffff8880833e0f78 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: lock_rename+0xa4/0x1a0 fs/namei.c:2998 2 locks held by syz-executor.2/22137: #0: ffff8880301c4460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:508 #1: ffff8880833e0f78 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff8880833e0f78 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3807 2 locks held by syz-executor.2/22144: #0: ffff8880301c4460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:508 #1: ffff8880301c4748 (&type->s_vfs_rename_key#3){+.+.}-{3:3}, at: lock_rename+0x58/0x1a0 fs/namei.c:2994 3 locks held by syz-executor.4/23528: #0: ffff88802f0b4460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:508 #1: ffff88802f0b4748 (&type->s_vfs_rename_key#3){+.+.}-{3:3}, at: lock_rename+0x58/0x1a0 fs/namei.c:2994 #2: ffff88808312c2b8 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #2: ffff88808312c2b8 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: lock_rename+0xa4/0x1a0 fs/namei.c:2998 7 locks held by syz-executor.4/23538: 2 locks held by syz-executor.4/23542: #0: ffff88802f0b4460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:508 #1: ffff88808312c2b8 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff88808312c2b8 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3807 2 locks held by syz-executor.4/23546: #0: ffff88802f0b4460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:508 #1: ffff88802f0b4748 (&type->s_vfs_rename_key#3){+.+.}-{3:3}, at: lock_rename+0x58/0x1a0 fs/namei.c:2994 2 locks held by syz-executor.4/23626: 1 lock held by syz-executor.2/23914: #0: ffff8880827760e0 (&type->s_umount_key#60/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e5/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b4/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf70/0xfb0 kernel/hung_task.c:377 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5317 Comm: kworker/1:11 Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: 0x0 (rcu_gp) RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x7f/0x290 mm/kasan/generic.c:189 Code: 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da 41 80 39 00 <0f> 85 c4 01 00 00 49 ff c1 49 ff c2 75 ee e9 1d 01 00 00 45 89 cf RSP: 0018:ffffc90004b0fb98 EFLAGS: 00000046 RAX: dffffc0000000001 RBX: 1ffff110056229e9 RCX: ffffffff8ab04c1a RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88802b114f48 RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed10056229e9 R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff11006663b9e R13: 1ffff11006528b9d R14: ffffed10056229ea R15: ffff888032945ce8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12e3400000 CR3: 000000007de99000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] membarrier_switch_mm kernel/sched/sched.h:3218 [inline] context_switch kernel/sched/core.c:5269 [inline] __schedule+0x117a/0x43f0 kernel/sched/core.c:6606 schedule+0xc3/0x190 kernel/sched/core.c:6682 worker_thread+0xec1/0x1210 kernel/workqueue.c:2457 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308