INFO: task syz.0.896:16389 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.896       state:D stack:24648 pid:16389 tgid:16388 ppid:16131  task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17d4/0
 __schedule+0x17d4/0x5820
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_read_slowpath+0x6ba/0x920
 down_read+0x9c/0x330
 super_lock+0x2d6/0x3d0
 __iterate_supers+0x26b/0x420
 __ia32_sys_sync+0xa0/0x120
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4b2859e159
RSP: 002b:00007f4b29501028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f4b28825fa0 RCX: 00007f4b2859e159
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f4b28825fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4b28826038 R14: 00007f4b28825fa0 R15: 00007ffd4a3f0038
 </TASK>
INFO: task syz.9.901:16545 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.9.901       state:D stack:28808 pid:16545 tgid:16541 ppid:16273  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17d4/0x5820
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_read_slowpath+0x6ba/0x920
 down_read+0x9c/0x330
 super_lock+0x2d6/0x3d0
 user_get_super+0x57/0x110
 __se_sys_quotactl+0x53b/0x9f0
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f42c239e159
RSP: 002b:00007f42c05d5028 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3
RAX: ffffffffffffffda RBX: 00007f42c2626270 RCX: 00007f42c239e159
RDX: 0000000000000000 RSI: 0000200000000000 RDI: ffffffff80000501
RBP: 00007f42c243506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f42c2626308 R14: 00007f42c2626270 R15: 00007ffca91ac5c8
 </TASK>

Showing all locks held in the system:
locks held by kworker/u8:0/12: 4, last CPU#0:
 #0: ffff88817488f940 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90000117c40 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff8881b4a1d1c8 (&hard_iface->bat_iv.ogm_buff_mutex){+.+.}-{4:4}, at: batadv_iv_ogm_schedule+0xd4/0xfc0
 #3: ffffffff8ed5c6a0 (rcu_read_lock){....}-{1:3}, at: batadv_iv_ogm_schedule+0x41f/0xfc0
locks held by pr/ttyS0/16: 2, last CPU#0:
 #0: ffffffff8ec36278 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60
 #1: ffffffff9ad250d8 (&port_lock_key){-...}-{3:3}, at: univ8250_console_device_lock+0x67/0xc0
locks held by kworker/1:1/33: 3, on CPU#1:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90000a87c40 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff888112398250 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x1fd/0x3b0
locks held by khungtaskd/35: 1, last CPU#1:
 #0: ffffffff8ed5c6a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by klogd/5029: 1, last CPU#1:
 #0: ffffffff8ed5c6a0 (rcu_read_lock){....}-{1:3}, at: sock_def_readable+0xae/0x550
locks held by getty/5418: 2, on CPU#1:
 #0: ffff8881747d10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000346e2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by syz-executor/5516: 1, last CPU#1:
 #0: ffff888103ee9078 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x1a4/0x9f0
locks held by syz-executor/13746: 2, last CPU#1:
 #0: ffff88811042a0e8 (&type->s_umount_key#115){++++}-{4:4}, at: deactivate_super+0xac/0xe0
 #1: ffff8881b3590328 (&sbi->cp_global_sem_key){+.+.}-{4:4}, at: f2fs_down_write_trace+0x34/0x1f0
locks held by kworker/u10:1/15413: 2, on CPU#1:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90003977c40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by syz.0.896/16389: 1, on CPU#1:
 #0: ffff88811042a0e8 (&type->s_umount_key#115){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
locks held by syz.9.901/16545: 1, on CPU#1:
 #0: ffff88811042a0e8 (&type->s_umount_key#115){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
locks held by syz.0.1122/19136: 1, on CPU#1:
 #0: ffff88811042a0e8 (&type->s_umount_key#115){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
locks held by syz.9.1160/19467: 1, on CPU#1:
 #0: ffff88811042a0e8 (&type->s_umount_key#115){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
locks held by syz.5.1233/20370: 1, on CPU#0:
 #0: ffff88811042a0e8 (&type->s_umount_key#115){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
locks held by syz.5.1233/20400: 1, on CPU#1:
 #0: ffff88811042a0e8 (&type->s_umount_key#115){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
locks held by syz.7.1238/20586: 1, on CPU#1:
 #0: ffff88811042a0e8 (&type->s_umount_key#115){++++}-{4:4}, at: super_lock+0x2d6/0x3d0
locks held by syz-executor/21024: 4, on CPU#1:
 #0: ffff888176a5a460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881110aa480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #2: ffff88816ab35d28 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #3: ffffffff8fac4be0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x13c/0x6d0
locks held by syz-executor/21085: 7, on CPU#0:
 #0: ffff888176a5a460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881133b7880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #2: ffff88816ab35c38 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #3: ffffffff8fac4be0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370
 #4: ffff88816904a128 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb9/0x880
 #5: ffff88816d186258 (&devlink->lock_key#75){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170
 #6: ffffffff8ed62938 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530
locks held by cmp/21173: 2, last CPU#0:
 #0: ffff88816eb329f8 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x2d8/0x9f0
 #1: ffff88819bc10688 (vm_lock){++++}-{0:0}, at: __vma_start_write+0xdc/0x290

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

NMI backtrace for cpu 1
CPU: 1 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+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 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: 6176 Comm: kworker/0:7 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: wg-crypt-wg0 wg_packet_tx_worker
RIP: 0010:__lock_acquire+0x4f8/0x2cf0
Code: c4 03 49 89 ed 41 3b 9e a0 0b 00 00 8b 6c 24 08 0f 8d d2 00 00 00 4c 63 fb 4b 8d 04 bf 49 8d 1c c6 48 81 c3 c8 0b 00 00 eb 1d <44> 89 e0 49 ff c7 49 63 8e a0 0b 00 00 48 83 c3 28 41 89 c4 49 39
RSP: 0018:ffffc900000076f8 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff888113092a18 RCX: ffffffff943b1438
RDX: 0000000000000003 RSI: 0000000000002000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8177f10f R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8ed5c6a0 R12: 0000000000000003
R13: ffff888113092a20 R14: ffff888113091e00 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff88818d6e6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff2133cd440 CR3: 0000000113c54000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lock_acquire+0x106/0x350
 unwind_next_frame+0xac/0x2550
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x40/0x50
 __kasan_slab_free+0x5c/0x80
 kfree+0x1c5/0x650
 slab_free_after_rcu_debug+0x62/0x220
 rcu_core+0x926/0x1260
 handle_softirqs+0x226/0x860
 do_softirq+0x77/0xd0
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x100/0x140
 wg_packet_tx_worker+0x16b/0x7e0
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
