INFO: task kworker/u10:3:1292 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u10:3   state:D stack:22536 pid:1292  tgid:1292  ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:7)
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 jfs_commit_inode+0x1ca/0x530
 jfs_write_inode+0x145/0x220
 __writeback_single_inode+0x6f1/0xff0
 writeback_sb_inodes+0x6c7/0x1010
 __writeback_inodes_wb+0x111/0x240
 wb_writeback+0x44f/0xaf0
 wb_workfn+0xaef/0xef0
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
2 locks held by kworker/u8:0/12:
 #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
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/1:1/52:
4 locks held by kworker/u10:3/1292:
 #0: ffff88801b387948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90007807bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888115f880e0 (&type->s_umount_key#84){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0
 #3: ffff88811adc6730 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530
2 locks held by getty/5669:
 #0: ffff88810ed070a0 (&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
1 lock held by syz-executor/5834:
 #0: ffff888136639f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
3 locks held by kworker/1:6/7927:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002f0fbc0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88810a5d6240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x26b/0x3180
4 locks held by syz.7.419/9464:
2 locks held by syz.7.723/12453:
 #0: ffff888115f880e0 (&type->s_umount_key#84){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
 #1: ffff888107a5a7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19f/0xa10
5 locks held by kworker/u8:5/12786:
1 lock held by syz-executor/13274:
 #0: ffffffff8e13f9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
4 locks held by syz.2.783/13404:
2 locks held by syz.4.764/13409:
 #0: ffff888109e64428 (sb_writers#13){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x160
 #1: ffff88811274f330 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: xfs_ilock+0x119/0x390
1 lock held by syz.4.764/13433:
 #0: ffff88804b039f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
1 lock held by rm/13434:

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

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+0x3fc/0x770
 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: 5851 Comm: udevd 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:check_preemption_disabled+0x5c/0x120
Code: 9e 26 07 48 3b 4c 24 08 0f 85 cc 00 00 00 48 83 c4 10 5b 41 5e 41 5f 5d e9 81 c9 02 00 cc 48 c7 04 24 00 00 00 00 9c 8f 04 24 <f7> 04 24 00 02 00 00 74 c8 65 4c 8b 3c 25 08 80 a0 92 41 f6 47 2f
RSP: 0018:ffffc900035bf400 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000080000000
RDX: 0000000000000000 RSI: ffffffff8d9cbe05 RDI: ffffffff8be33880
RBP: ffffffff8172c195 R08: 0000000000000000 R09: 0000000000000000
R10: ffffc900035bf658 R11: fffff520006b7ecd R12: 0000000000000002
R13: ffffffff8e139f20 R14: 0000000000000000 R15: 0000000000000246
FS:  00007f6b6c957c80(0000) GS:ffff8881a3c18000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558b4b33b950 CR3: 0000000108f48000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 lock_acquire+0xe7/0x360
 unwind_next_frame+0xc2/0x2390
 __unwind_start+0x5b9/0x760
 arch_stack_walk+0xe4/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_noprof+0x27a/0x4f0
 tomoyo_realpath_from_path+0xe3/0x5d0
 tomoyo_path_perm+0x213/0x4b0
 security_inode_getattr+0x12f/0x330
 vfs_fstatat+0xb1/0x170
 __x64_sys_newfstatat+0x116/0x190
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6b6c5165f4
Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8
RSP: 002b:00007ffc7b2c57d8 EFLAGS: 00000202 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 00007f6b6c5ee460 RCX: 00007f6b6c5165f4
RDX: 00007ffc7b2c57e0 RSI: 00007f6b6c5b3130 RDI: 000000000000000b
RBP: 00005572a6752dd0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000001000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000003fff R14: 00007ffc7b2c5d78 R15: 000000000000000a
 </TASK>
