INFO: task syz.2.119:6699 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.119       state:D stack:25192 pid:6699  tgid:6656  ppid:5848   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x872/0xfe0
 down_write+0x1ab/0x1f0
 process_measurement+0x3d8/0x1a40
 ima_file_check+0xd7/0x120
 security_file_post_open+0xbb/0x290
 path_openat+0x2f26/0x3830
 do_filp_open+0x1fa/0x410
 do_sys_openat2+0x121/0x1c0
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7feb29f8ebe9
RSP: 002b:00007feb2adfa038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007feb2a1c6090 RCX: 00007feb29f8ebe9
RDX: 0000000000084242 RSI: 0000200000000100 RDI: ffffffffffffff9c
RBP: 00007feb2a011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000000c2 R11: 0000000000000246 R12: 0000000000000000
R13: 00007feb2a1c6128 R14: 00007feb2a1c6090 R15: 00007ffe6b6319f8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139f20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u9:2/64:
 #0: 
ffff88801b39f148
 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000172fbc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88802492c0e0 (&type->s_umount_key#106){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0
3 locks held by kworker/u9:3/70:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000178fbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f538c48 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
1 lock held by dhcpcd/5594:
 #0: ffffffff8f538c48 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x323/0x1b50
2 locks held by getty/5676:
 #0: ffff888022a550a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
5 locks held by kworker/u8:2/5719:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002fcfbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52bdb0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffffffff8f538c48 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0xdc/0x890
 #4: ffffffff8e13f9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
4 locks held by syz.2.119/6657:
 #0: ffff88802492c428 (sb_writers#26){.+.+}-{0:0}, at: vfs_fallocate+0x5f0/0x7e0
 #1: ffff88802c329338 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: f2fs_fallocate+0x24e/0x990
 #2: ffff888039769558 (&sbi->pin_sem){+.+.}-{4:4}, at: f2fs_expand_inode_data+0x462/0xa60
 #3: ffff888039769410 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_expand_inode_data+0x4f1/0xa60
2 locks held by syz.2.119/6699:
 #0: ffff88802492c428 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff88802c329338 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: process_measurement+0x3d8/0x1a40
3 locks held by f2fs_ckpt-7:2/6658:
2 locks held by syz-executor/9362:
 #0: ffff88812004e0e0 (&type->s_umount_key#106){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffffffff8e13f880 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570
1 lock held by syz-executor/9571:
1 lock held by syz-executor/10175:
 #0: ffffffff8f538c48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70

=============================================

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 27 Comm: kworker/u10:0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:nsim_dev_trap_report_work+0x68c/0xb80
Code: 0f 85 f0 03 00 00 01 eb 66 41 89 9d b6 00 00 00 4c 89 ef be 6c 00 00 00 e8 b1 e2 43 02 48 89 c3 ba 6c 00 00 00 48 89 c7 31 f6 <e8> ef 29 0c fb be 02 00 00 00 48 89 df e8 e2 39 3b fe 48 8d 7b 02
RSP: 0018:ffffc9000060f990 EFLAGS: 00000246
RAX: ffff88810eabc022 RBX: ffff88810eabc022 RCX: ffff888100a83980
RDX: 000000000000006c RSI: 0000000000000000 RDI: ffff88810eabc022
RBP: 0000000000000022 R08: ffff888100a83980 R09: 0000000000000003
R10: 000000000000002e R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8880397f3680 R14: ffff8880397f3750 R15: 0000000000000080
FS:  0000000000000000(0000) GS:ffff8880b8618000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555750fa008 CR3: 000000000df36000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
