INFO: task syz.1.145:7083 blocked in I/O wait for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.145       state:D stack:23432 pid:7083  tgid:7082  ppid:5618   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1828/0x58c0
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 txBeginAnon+0x150/0x420
 extAlloc+0x11d/0x1010
 jfs_get_block+0x351/0xad0
 __blockdev_direct_IO+0x1590/0x3380
 jfs_direct_IO+0x119/0x220
 generic_file_direct_write+0x1d0/0x3f0
 __generic_file_write_iter+0x11d/0x230
 generic_file_write_iter+0xae/0x330
 iter_file_splice_write+0xa31/0x1240
 direct_splice_actor+0x101/0x160
 splice_direct_to_actor+0x57b/0xcb0
 do_splice_direct+0x195/0x290
 do_sendfile+0x52e/0x7c0
 __se_sys_sendfile64+0x144/0x1a0
 do_syscall_64+0x16a/0x530
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd41519fb19
RSP: 002b:00007fd415fb3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fd415425fa0 RCX: 00007fd41519fb19
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007fd415237b70 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000018ad414 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd415426038 R14: 00007fd415425fa0 R15: 00007ffda6da6d18
 </TASK>
INFO: task syz.1.145:7097 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.145       state:D stack:25888 pid:7097  tgid:7082  ppid:5618   task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1828/0x58c0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x874/0x10d0
 down_write+0x1b7/0x200
 process_measurement+0x443/0x1c10
 ima_file_check+0xdc/0x130
 security_file_post_open+0xb3/0x260
 path_openat+0x1748/0x20f0
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x115/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0x16a/0x530
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd41519fb19
RSP: 002b:00007fd415f92028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fd415426090 RCX: 00007fd41519fb19
RDX: 0000000000000042 RSI: 0000200000004080 RDI: ffffffffffffff9c
RBP: 00007fd415237b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd415426128 R14: 00007fd415426090 R15: 00007ffda6da6d18
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/36: 1, on CPU#1:
 #0: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5439: 2, last CPU#1:
 #0: ffff888112b280a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034862e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by sshd/5554: 4, on CPU#0:
 #0: ffff888117aae0e0 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sendmsg+0x21/0x50
 #1: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x65/0x1b10
 #2: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: ip_output+0x5a/0x450
 #3: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x3de/0x10b0
locks held by syz.1.145/7083: 3, last CPU#1:
 #0: ffff888116f80478 (sb_writers#20){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x160
 #1: ffff888172ffb190 (&sb->s_type->i_mutex_key#34){+.+.}-{4:4}, at: generic_file_write_iter+0x82/0x330
 #2: ffff888172ffad68 (&jfs_ip->rdwrlock#3){++++}-{4:4}, at: jfs_get_block+0x14e/0xad0
locks held by syz.1.145/7097: 1, last CPU#0:
 #0: ffff888172ffb190 (&sb->s_type->i_mutex_key#34){+.+.}-{4:4}, at: process_measurement+0x443/0x1c10
locks held by kworker/1:7/7704: 4, on CPU#1:
 #0: ffff88810006ad48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90007e57c40 ((work_completion)(&helper->damage_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff8881692bda70 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_damage_work+0x15b/0xf20
 #3: ffff88816b484128 (&dev->master_mutex){+.+.}-{4:4}, at: drm_master_internal_acquire+0x20/0x80
locks held by kworker/0:9/8423: 2, on CPU#0:
 #0: ffff888115a83548 ((wq_completion)wg-crypt-wg1#7){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900078f7c40 ((work_completion)(&({ do { const void __attribute__((btf_type_tag("percpu"))) *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by syz-executor/9621: 1, last CPU#1:
 #0: ffff88819d214100 (&type->s_umount_key#51){++++}-{4:4}, at: deactivate_super+0xac/0xe0
locks held by syz-executor/10806: 1, on CPU#0:
 #0: ffff8881bed86100 (&type->s_umount_key#105){+.+.}-{4:4}, at: retire_super+0x5b/0x120
locks held by syz.2.500/11455: 2, on CPU#1:
 #0: ffff8881ab2fa100 (&type->s_umount_key#66/1){+.+.}-{4:4}, at: sget_fc+0x9d5/0x1ce0
 #1: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: is_module_text_address+0x1d/0x1e0
locks held by udevadm/11492: 1, on CPU#0:
 #0: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: path_init+0x124/0x1300

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 36 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+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0x1073/0x10f0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 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: 35 Comm: pr/ttyS0 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:io_serial_out+0x7c/0xc0
Code: 66 43 fc 44 89 f9 d3 e5 49 83 c6 40 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 cc ef ba fc 41 03 2e 89 d8 89 ea ee <5b> 41 5c 41 5e 41 5f 5d c3 cc cc cc cc cc 44 89 f9 80 e1 07 38 c1
RSP: 0018:ffffc90000ab7900 EFLAGS: 00000002
RAX: 0000000000000073 RBX: 0000000000000073 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 00000000000003f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff8585ba20 R12: dffffc0000000000
R13: 0000000000000073 R14: ffffffff9c205ec0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8882a7809000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555571d4a28 CR3: 0000000013eb0000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __serial8250_console_fifo_write+0x1e6/0x3e0
 serial8250_console_write+0xa7e/0x1200
 nbcon_emit_next_record+0xef5/0x1a90
 nbcon_kthread_func+0x6d9/0x8d0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
