INFO: task syz.3.1114:17409 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.1114      state:D stack:22656 pid:17409 tgid:17408 ppid:16726  task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 io_schedule+0x7f/0xd0
 lock_metapage+0x1ff/0x400
 __get_metapage+0x49a/0xde0
 xtSplitPage+0x281/0x2150
 xtSplitUp+0x33c/0x1fc0
 xtInsert+0x452/0xf20
 extAlloc+0xad9/0x1020
 jfs_get_block+0x358/0xad0
 __block_write_begin_int+0x6c6/0x1910
 block_write_begin+0x8d/0x120
 jfs_write_begin+0x35/0x80
 generic_perform_write+0x2e2/0x8f0
 generic_file_write_iter+0x14a/0x680
 vfs_write+0x61d/0xb90
 __x64_sys_pwrite64+0x199/0x230
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f168459c799
RSP: 002b:00007f16853c3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007f1684815fa0 RCX: 00007f168459c799
RDX: 00000000200000c1 RSI: 00002000000000c0 RDI: 0000000000000006
RBP: 00007f1684632c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000009000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1684816038 R14: 00007f1684815fa0 R15: 00007ffed5ee8c58
 </TASK>
INFO: task syz.3.1114:17417 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.1114      state:D stack:27720 pid:17417 tgid:17408 ppid:16726  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x899/0x1040
 down_write+0x1bc/0x200
 process_measurement+0x451/0x1c80
 ima_file_check+0xe1/0x130
 security_file_post_open+0xb3/0x260
 path_openat+0x2e4d/0x3860
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x113/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f168459c799
RSP: 002b:00007f16853a2028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f1684816090 RCX: 00007f168459c799
RDX: 0000000000000042 RSI: 0000200000000180 RDI: ffffffffffffff9c
RBP: 00007f1684632c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1684816128 R14: 00007f1684816090 R15: 00007ffed5ee8c58
 </TASK>
INFO: task syz.3.1114:17419 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.1114      state:D stack:27416 pid:17419 tgid:17408 ppid:16726  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x899/0x1040
 down_write+0x1bc/0x200
 process_measurement+0x451/0x1c80
 ima_file_check+0xe1/0x130
 security_file_post_open+0xb3/0x260
 path_openat+0x2e4d/0x3860
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x113/0x200
 __x64_sys_open+0x11e/0x150
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f168459c799
RSP: 002b:00007f1685381028 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1684816180 RCX: 00007f168459c799
RDX: 0000000000000000 RSI: 0000000000145142 RDI: 0000200000000240
RBP: 00007f1684632c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1684816218 R14: 00007f1684816180 R15: 00007ffed5ee8c58
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/35:
 #0: ffffffff8e75e520 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by kworker/u10:1/37:
4 locks held by kworker/u10:4/1094:
 #0: ffff8881626b7148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc90007147c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffff8881186660e0 (&type->s_umount_key#59){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0
 #3: ffff888028141d40 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530
2 locks held by getty/5635:
 #0: ffff88816ea2c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900035762f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0
4 locks held by syz.3.1114/17409:
 #0: ffff888118666420 (sb_writers#15){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff8880281420f0 (&sb->s_type->i_mutex_key#28){+.+.}-{4:4}, at: generic_file_write_iter+0x11e/0x680
 #2: ffff888028141cb0 (&jfs_ip->rdwrlock#2){++++}-{4:4}, at: jfs_get_block+0x153/0xad0
 #3: ffff888028141d40 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: extAlloc+0x130/0x1020
1 lock held by syz.3.1114/17417:
 #0: ffff8880281420f0 (&sb->s_type->i_mutex_key#28){+.+.}-{4:4}, at: process_measurement+0x451/0x1c80
1 lock held by syz.3.1114/17419:
 #0: ffff8880281420f0 (&sb->s_type->i_mutex_key#28){+.+.}-{4:4}, at: process_measurement+0x451/0x1c80
1 lock held by syz.8.1715/23727:
 #0: ffffffff8e7647b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2d0/0x770
5 locks held by dhcpcd-run-hook/23787:

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 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+0x17a/0x300
 sys_info+0x135/0x170
 watchdog+0xfd9/0x1030
 kthread+0x388/0x470
 ret_from_fork+0x51e/0xb90
 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: 23727 Comm: syz.8.1715 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:rcu_is_watching+0x55/0xb0
Code: f7 1a 8e 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 4c 29 85 00 48 c7 c3 58 39 1d 93 49 03 1e 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 34 8b 03 65 ff 0d 89 4b 71 11 74 11 83 e0
RSP: 0018:ffffc90003eaf0d8 EFLAGS: 00000a06
RAX: 1ffff110478c672b RBX: ffff88823c633958 RCX: 0000000080000001
RDX: ffffc90003eaf201 RSI: ffffffff8c27bde0 RDI: ffffffff8c27bda0
RBP: dffffc0000000000 R08: ffffc90003eafdd0 R09: 0000000000000000
R10: ffffc90003eaf218 R11: fffff520007d5e45 R12: ffffc90003eafde0
R13: ffffc90003ea8000 R14: ffffffff8e1af798 R15: dffffc0000000000
FS:  00007fef9dba56c0(0000) GS:ffff8882a9460000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e07447d131 CR3: 00000001b9582000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 unwind_next_frame+0x1a66/0x23c0
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 save_stack+0x122/0x230
 __reset_page_owner+0x71/0x1f0
 free_unref_folios+0xed5/0x16d0
 folios_put_refs+0x789/0x8d0
 shmem_undo_range+0x52c/0x1660
 shmem_evict_inode+0x240/0x9e0
 evict+0x61e/0xb10
 __dentry_kill+0x1a2/0x5e0
 finish_dput+0xc9/0x480
 __fput+0x691/0xa70
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0xed/0x480
 do_syscall_64+0x32d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fef9cd5cfce
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fef9dba4df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007fef9dba56c0 RCX: 00007fef9cd5cfce
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000025
RBP: 0000000000000025 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014
R13: 00007fef9dba4ea0 R14: 000000000000559e R15: 000020000000ac40
 </TASK>
