INFO: task syz-executor.4:17962 blocked for more than 143 seconds.
Not tainted 6.2.0-syzkaller-13534-gb01fe98d34f3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27504 pid:17962 ppid:5110 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x17d8/0x4990 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:758 [inline]
open_last_lookups fs/namei.c:3481 [inline]
path_openat+0x7ba/0x3170 fs/namei.c:3712
do_filp_open+0x234/0x490 fs/namei.c:3742
do_sys_openat2+0x13f/0x500 fs/open.c:1348
do_sys_open fs/open.c:1364 [inline]
__do_sys_openat fs/open.c:1380 [inline]
__se_sys_openat fs/open.c:1375 [inline]
__x64_sys_openat+0x247/0x290 fs/open.c:1375
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:0x7f991c68c0f9
RSP: 002b:00007f991d3b4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f991c7ac050 RCX: 00007f991c68c0f9
RDX: 0000000000040542 RSI: 0000000020000100 RDI: ffffffffffffff9c
RBP: 00007f991c6e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd9af0841f R14: 00007f991d3b4300 R15: 0000000000022000
INFO: task syz-executor.4:17963 blocked for more than 143 seconds.
Not tainted 6.2.0-syzkaller-13534-gb01fe98d34f3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27968 pid:17963 ppid:5110 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x17d8/0x4990 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
rwsem_down_read_slowpath+0x5f4/0x950 kernel/locking/rwsem.c:1086
__down_read_common+0x61/0x2c0 kernel/locking/rwsem.c:1250
inode_lock_shared include/linux/fs.h:768 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1702
walk_component+0x2d0/0x400 fs/namei.c:1994
lookup_last fs/namei.c:2451 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2475
filename_lookup+0x255/0x610 fs/namei.c:2504
vfs_statx+0x110/0x480 fs/stat.c:238
vfs_fstatat fs/stat.c:276 [inline]
__do_sys_newfstatat fs/stat.c:446 [inline]
__se_sys_newfstatat fs/stat.c:440 [inline]
__x64_sys_newfstatat+0x14f/0x1d0 fs/stat.c:440
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:0x7f991c68c0f9
RSP: 002b:00007f991d393168 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 00007f991c7ac120 RCX: 00007f991c68c0f9
RDX: 0000000020001200 RSI: 0000000020000000 RDI: ffffffffffffff9c
RBP: 00007f991c6e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd9af0841f R14: 00007f991d393300 R15: 0000000000022000
Showing all locks held in the system:
2 locks held by kworker/u4:1/11:
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc90000107d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d127a70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d128270 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8d1278a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4750:
#0: ffff88802c15b098 (&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
2 locks held by syz-executor.1/5099:
#0: ffff888078d220e0 (&type->s_umount_key#81){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361
#1: ffffffff8d12cf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#1: ffffffff8d12cf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:989
2 locks held by kworker/1:5/5156:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc90004c07d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
5 locks held by syz-executor.4/17943:
1 lock held by syz-executor.4/17962:
#0: ffff88803bfa02e0 (&type->i_mutex_dir_key#21){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
#0: ffff88803bfa02e0 (&type->i_mutex_dir_key#21){++++}-{3:3}, at: open_last_lookups fs/namei.c:3481 [inline]
#0: ffff88803bfa02e0 (&type->i_mutex_dir_key#21){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3712
1 lock held by syz-executor.4/17963:
#0: ffff88803bfa02e0 (&type->i_mutex_dir_key#21){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline]
#0: ffff88803bfa02e0 (&type->i_mutex_dir_key#21){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1702
3 locks held by kworker/1:19/20135:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0
#1: ffffc9000360fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365
#2: ffffffff8d12cf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8d12cf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:989
2 locks held by kworker/u4:15/20984:
#0: ffff8880b993be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539
#1: ffff88807cfd24b0 (&mm->cid_lock){....}-{2:2}, at: mm_cid_get kernel/sched/sched.h:3280 [inline]
#1: ffff88807cfd24b0 (&mm->cid_lock){....}-{2:2}, at: switch_mm_cid kernel/sched/sched.h:3302 [inline]
#1: ffff88807cfd24b0 (&mm->cid_lock){....}-{2:2}, at: prepare_task_switch kernel/sched/core.c:5114 [inline]
#1: ffff88807cfd24b0 (&mm->cid_lock){....}-{2:2}, at: context_switch kernel/sched/core.c:5255 [inline]
#1: ffff88807cfd24b0 (&mm->cid_lock){....}-{2:2}, at: __schedule+0x1361/0x4990 kernel/sched/core.c:6622
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-syzkaller-13534-gb01fe98d34f3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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:113
nmi_trigger_cpumask_backtrace+0x1b4/0x410 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0x1024/0x1070 kernel/hung_task.c:379
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 18029 Comm: udevd Not tainted 6.2.0-syzkaller-13534-gb01fe98d34f3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:rcu_rdp_cpu_online kernel/rcu/tree.c:4048 [inline]
RIP: 0010:rcu_lockdep_current_cpu_online+0x87/0x120 kernel/rcu/tree.c:4082
Code: 3c 30 00 74 08 48 89 df e8 f6 8e 6d 00 48 8b 03 48 8d 98 80 cd 03 00 48 8d b8 a0 cd 03 00 48 89 f8 48 c1 e8 03 42 80 3c 30 00 <74> 05 e8 d2 8e 6d 00 4c 8b 7b 20 48 83 c3 18 48 89 d8 48 c1 e8 03
RSP: 0018:ffffc90015bb7ca0 EFLAGS: 00000246
RAX: 1ffff110173079b4 RBX: ffff8880b983cd80 RCX: 0000000080000000
RDX: 0000000000000000 RSI: ffffffff8b587840 RDI: ffff8880b983cda0
RBP: 0000000000000001 R08: ffffffff81f95ce8 R09: fffff520000aa784
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802929f938
R13: ffff88807b45c000 R14: dffffc0000000000 R15: dffffc0000000000
FS: 00007fee026fb840(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f57c9b83558 CR3: 00000000218e5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_read_lock_held_common kernel/rcu/update.c:112 [inline]
rcu_read_lock_held+0x1e/0x40 kernel/rcu/update.c:348
hlist_bl_first_rcu include/linux/rculist_bl.h:24 [inline]
__d_lookup+0x163/0x730 fs/dcache.c:2483
d_lookup+0x27/0x60 fs/dcache.c:2430
lookup_dcache fs/namei.c:1564 [inline]
__lookup_hash+0x2e/0x240 fs/namei.c:1587
do_unlinkat+0x292/0x940 fs/namei.c:4302
__do_sys_unlink fs/namei.c:4364 [inline]
__se_sys_unlink fs/namei.c:4362 [inline]
__x64_sys_unlink+0x49/0x50 fs/namei.c:4362
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:0x7fee023272d7
Code: f0 ff ff 73 01 c3 48 8b 0d 9e db 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 71 db 0c 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe4f2f4be8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007ffe4f2f4bf8 RCX: 00007fee023272d7
RDX: 0000000000000000 RSI: 00007ffe4f2f3ba7 RDI: 00007ffe4f2f4bf8
RBP: 000055eb7a31baf0 R08: 0000000000001fff R09: 00007ffe4f2f4a90
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000001cf2
R13: 000055eb7a314c80 R14: 0000000000000008 R15: 000055eb7a30b910