INFO: task syz.2.485:9171 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.485       state:D stack:25128 pid:9171  tgid:9170  ppid:8849   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_read_slowpath+0x5fd/0x8f0
 down_read+0x98/0x2e0
 super_lock+0x2a9/0x3b0
 user_get_super+0xc8/0x120
 __se_sys_quotactl+0x4da/0x950
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8cc9d8ec29
RSP: 002b:00007f8ccab34038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3
RAX: ffffffffffffffda RBX: 00007f8cc9fd5fa0 RCX: 00007f8cc9d8ec29
RDX: 0000000000000000 RSI: 00002000000000c0 RDI: ffffffff80000800
RBP: 00007f8cc9e11e41 R08: 0000000000000000 R09: 0000000000000000
R10: 00002000000002c0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8cc9fd6038 R14: 00007f8cc9fd5fa0 R15: 00007fff0a61f578
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u9:2/52:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900007afbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53b148 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
4 locks held by kworker/u10:2/68:
 #0: ffff888136639f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
 #1: ffff888136624008 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x53/0x880
 #2: ffff888136625918 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x1ae/0xf30
 #3: ffffffff99d190e0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0xbb/0x420
2 locks held by getty/5678:
 #0: ffff88801cf090a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029032f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
2 locks held by syz-executor/5853:
2 locks held by syz-executor/6488:
2 locks held by syz-executor/6761:
2 locks held by syz-executor/7287:
1 lock held by syz.2.485/9171:
 #0: ffff8881170920e0 (&type->s_umount_key#74){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.6.507/9222:
 #0: ffff888041e6a0e0 (&type->s_umount_key#74){++++}-{4:4}, at: super_lock+0x25c/0x3b0
1 lock held by syz.7.533/9332:
 #0: ffff8880230940e0 (&type->s_umount_key#74){++++}-{4:4}, at: super_lock+0x25c/0x3b0
8 locks held by syz-executor/10655:
 #0: ffff8880292de428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xb30
 #1: ffff88804aac4088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff888021480788 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8edb1388 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360
 #4: ffff8880446010e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x800
 #5: ffff888044602250 (&devlink->lock_key#15){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160
 #6: ffffffff8f53b148 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0xe5/0x670
 #7: ffffffff8e13fb78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
1 lock held by syz.4.791/10716:
 #0: ffff88810c0a1f48 (&ima_iint_mutex_key[depth]){+.+.}-{4:4}, at: ima_file_free+0x16c/0x460
1 lock held by syz.4.791/10717:
2 locks held by syz.4.791/10733:
2 locks held by syz.8.792/10727:
1 lock held by dhcpcd-run-hook/10746:

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

NMI backtrace for cpu 0
CPU: 0 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+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 10717 Comm: syz.4.791 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
RIP: 0010:sha256_blocks_generic+0x87d/0x1b70
Code: c1 e9 0a 89 f1 c1 c1 19 41 31 f9 89 f7 c1 c7 0e 31 cf 89 f1 c1 e9 03 31 f9 41 01 d2 41 01 ca 45 01 ca 44 89 94 9c b8 01 00 00 <44> 89 c1 c1 c1 0f 44 89 c2 c1 c2 0d 31 ca 41 c1 e8 0a 8b 8c 9c 80
RSP: 0018:ffffc9000652ef20 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000018 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000652f258 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000652f3b0
R13: ffff8881209a4e7c R14: 0000000000000000 R15: ffffc9000652f3a8
FS:  00007fbaa98366c0(0000) GS:ffff8881a3c12000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffce27b75e8 CR3: 0000000028cd6000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __sha256_update+0xf7/0x150
 crypto_sha256_update+0x27/0x40
 ima_calc_file_hash+0x8a0/0x16f0
 ima_collect_measurement+0x428/0x8e0
 process_measurement+0x1121/0x1a40
 ima_file_mmap+0x1a2/0x1f0
 security_mmap_file+0x7a4/0xa60
 vm_mmap_pgoff+0x129/0x4d0
 ksys_mmap_pgoff+0x51f/0x760
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbaa898ec29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbaa9836038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007fbaa8bd5fa0 RCX: 00007fbaa898ec29
RDX: 00000000027ffff7 RSI: 0000000000600000 RDI: 0000200000000000
RBP: 00007fbaa8a11e41 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000004012011 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbaa8bd6038 R14: 00007fbaa8bd5fa0 R15: 00007fffc0337158
 </TASK>
