INFO: task syz-executor.1:7800 blocked for more than 143 seconds.
Not tainted 6.2.0-rc6-syzkaller-00163-g66a87fff1a87 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:27224 pid:7800 ppid:5119 flags:0x00004004
Call Trace:
__schedule+0x13ca/0x43c0
schedule+0xc3/0x190
rwsem_down_write_slowpath+0xfb5/0x1490
process_measurement+0x41a/0x1c20
ima_file_check+0xdc/0x130
path_openat+0x264b/0x2e30
do_filp_open+0x26d/0x500
do_sys_openat2+0x128/0x4f0
__x64_sys_open+0x225/0x270
do_syscall_64+0x41/0xc0
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f38c568c0c9
RSP: 002b:00007f38c632d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f38c57ac120 RCX: 00007f38c568c0c9
RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000100
RBP: 00007f38c56e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff8fc49a0f R14: 00007f38c632d300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cf26e10 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cf27610 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0
2 locks held by kworker/0:1/14:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc90000137d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
1 lock held by khungtaskd/28:
#0: ffffffff8cf26c40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:3/46:
#0: ffff8880b983b1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
#1: ffff8880b9828748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x635/0x9d0
2 locks held by kworker/u4:4/75:
2 locks held by kworker/0:2/897:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000458fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by getty/4757:
#0: ffff88814a294098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
#1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1630
1 lock held by syz-executor.2/5105:
#0: ffff88807ac480e0 (&type->s_umount_key#48){++++}-{3:3}, at: deactivate_super+0xad/0xf0
2 locks held by kworker/0:4/5161:
2 locks held by kworker/0:5/5162:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc900045afd20 ((work_completion)(&pwq->unbound_release_work)
){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
3 locks held by kworker/0:6/5164:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc900045cfd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
#2: ffffffff8cf2c278 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x458/0x860
2 locks held by kworker/0:7/5167:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc900045ffd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
3 locks held by kworker/1:6/5170:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000462fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
#2: ffffffff8cf2c278 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x389/0x860
2 locks held by kworker/0:8/5257:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000477fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/0:9/5444:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc90004e27d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/0:10/5445:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc900052d7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/0:11/5446:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc90005377d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/0:12/5447:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc900053b7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
4 locks held by kworker/u4:7/5684:
#0: ffff8881451fa938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc90006337d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
#2: ffff88801d5880e0 (&type->s_umount_key#62){++++}-{3:3}, at: trylock_super+0x1f/0xf0
#3: ffff88807dbc12a0 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x50f/0x700
2 locks held by kworker/0:13/5685:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000a73fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/0:14/5885:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000b3a7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/0:15/5907:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9000b217d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
2 locks held by kworker/1:14/5972:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc9001563fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
7 locks held by syz-executor.1/7799:
1 lock held by syz-executor.1/7800:
#0: ffff888031e01c20 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: process_measurement+0x41a/0x1c20
2 locks held by kworker/0:17/7913:
#0:
ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7eb/0x13e0
#1: ffffc90015ecfd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x835/0x13e0
1 lock held by syz-executor.5/10074:
2 locks held by syz-executor.1/10081:
#0: ffff88802af54460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x5a6/0xf50
#1: ffff888073b8b628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_file_write_iter+0xd1f/0x18f0
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc6-syzkaller-00163-g66a87fff1a87 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
dump_stack_lvl+0x1b5/0x2a0
nmi_cpu_backtrace+0x47b/0x500
nmi_trigger_cpumask_backtrace+0x1d3/0x430
watchdog+0xf70/0xfb0
kthread+0x270/0x300
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7799 Comm: syz-executor.1 Not tainted 6.2.0-rc6-syzkaller-00163-g66a87fff1a87 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:io_serial_in+0x76/0xb0
Code: f0 87 d1 fc 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 b1 d5 25 fd 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 89 e9 80 e1 07 38 c1 7c ad 48 89 ef
RSP: 0018:ffffc90015c9e658 EFLAGS: 00000006
RAX: 1ffffffff23b4105 RBX: ffffffff91da08c0 RCX: 0000000000000000
RDX: 00000000000003f9 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 0000000000000000 R08: ffffffff84b8af16 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffffff8d665e60 R14: 00000000000003f9 R15: dffffc0000000000
FS: 00007f38c634e700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd4944deb28 CR3: 000000002bae0000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
serial8250_console_write+0x27c/0x17c0
console_emit_next_record+0x79e/0xa60
console_flush_all+0x2ce/0x6d0
console_unlock+0x115/0x240
vprintk_emit+0xd5/0x1f0
_printk+0xc4/0x110
submit_bio_noacct+0x133a/0x1f30
f2fs_submit_page_read+0x139/0x150
f2fs_get_read_data_page+0x58d/0x8e0
f2fs_get_lock_data_page+0x56/0x120
do_garbage_collect+0x313e/0x7910
f2fs_gc+0xcb9/0x2450
f2fs_balance_fs+0x51a/0x700
f2fs_map_blocks+0x2ecd/0x3c80
expand_inode_data+0x571/0xb00
f2fs_fallocate+0x400/0x6d0
vfs_fallocate+0x54b/0x6b0
__x64_sys_fallocate+0xbd/0x100
do_syscall_64+0x41/0xc0
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f38c568c0c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f38c634e168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f38c57ac050 RCX: 00007f38c568c0c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f38c56e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000ff8000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff8fc49a0f R14: 00007f38c634e300 R15: 0000000000022000