INFO: task f2fs_writeback-:5811 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:f2fs_writeback- state:D stack:27808 pid:5811  tgid:5811  ppid:2      task_flags:0x200040 flags:0x00080000
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5830
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_write_slowpath+0x874/0x10d0
 down_write+0x1b7/0x200
 f2fs_down_write_trace+0x34/0x1f0
 f2fs_issue_checkpoint+0x414/0x6f0
 f2fs_balance_fs_bg+0x602/0xa50
 f2fs_write_node_caches+0xf5/0x3d0
 f2fs_cache_writeback_kthread+0x665/0xbb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
locks held by kworker/u8:1/14: 4, last CPU#0:
 #0: ffff8881012e5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90000137c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff91684448 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf5/0x810
 #3: ffffffff91693120 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0xd0/0x760
locks held by kworker/u9:0/26: 3, last CPU#0:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90000a17c40 ((work_completion)(&port->bc_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: macvlan_process_broadcast+0x2e7/0x650
locks held by khungtaskd/35: 1, last CPU#0:
 #0: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by kworker/u9:6/1015: 9, last CPU#1:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90006f87c40 ((work_completion)(&port->bc_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: macvlan_process_broadcast+0x2e7/0x650
 #3: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3de/0x18b0
 #4: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: lapbeth_rcv+0x12f/0x640
 #5: ffff8881168ecf40 (&lapbeth->up_lock){+.-.}-{3:3}, at: lapbeth_rcv+0x24e/0x640
 #6: ffff88811ab2adc0 (&lapb->lock){+.-.}-{3:3}, at: lapb_data_received+0xfc/0x1c0
 #7: ffffffff9c135770 (&obj_hash[i].lock){-.-.}-{2:2}, at: skb_dequeue+0x2d/0x160
 #8: ffffffff9c135770 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0xb7/0x420
locks held by pvrusb2-context/2423: 2, on CPU#0:
 #0: ffff88816fc74180 (&hdw->big_lock_mutex){+.+.}-{4:4}, at: pvr2_hdw_initialize+0xe4/0x3c60
 #1: ffffffff8fff4428 (umhelper_sem){++++}-{4:4}, at: usermodehelper_read_trylock+0xfc/0x2b0
locks held by dhcpcd/5356: 1, on CPU#1:
 #0: ffffffff91693120 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x669/0xe10
locks held by getty/5438: 2, on CPU#0:
 #0: ffff8881162220a0 (&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 syz-executor/5597: 1, last CPU#1:
 #0: ffff888117448340 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x2d5/0xa40
locks held by udevd/5611: 1, on CPU#0:
 #0: ffff888109c94350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xde/0xd70
locks held by syz-executor/5617: 4, last CPU#1:
 #0: ffff8881189f8100 (&type->s_umount_key#54){+.+.}-{4:4}, at: deactivate_super+0xac/0xe0
 #1: ffff8881b8468100 (&type->s_umount_key#57){++++}-{4:4}, at: ovl_sync_fs+0x116/0x160
 #2: ffff8881bb3054e0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write_trace+0x34/0x1f0
 #3: ffff8881bb304320 (&sbi->cp_global_sem_key){+.+.}-{4:4}, at: f2fs_down_write_trace+0x34/0x1f0
locks held by f2fs_writeback-/5811: 2, on CPU#0:
 #0: ffff8881b8468478 (sb_writers#14){.+.+}-{0:0}, at: kthread+0x38b/0x480
 #1: ffff8881bb3054e0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write_trace+0x34/0x1f0
locks held by udevd/5837: 4, on CPU#1:
 #0: ffff888100b14998 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xa4/0xca0
 #1: ffff888116839480 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x5d/0x420
 #2: ffff8881a292d5a8 (kn->active#30){++++}-{0:0}, at: kernfs_seq_start+0xb2/0x420
 #3: ffff8881689381d8 (&dev->mutex){....}-{4:4}, at: manufacturer_show+0x26/0xa0
locks held by kworker/u10:5/6052: 3, on CPU#1:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90007e57c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff91693120 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
locks held by kworker/1:6/6713: 6, on CPU#1:
 #0: ffff888105ea9948 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900045cfc40 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88816c0921d8 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4d30
 #3: ffff8881689381d8 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0xfc/0x9a0
 #4: ffff8881bf9161a0 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa9/0x7d0
 #5: ffff88816fc74180 (&hdw->big_lock_mutex){+.+.}-{4:4}, at: pvr2_hdw_disconnect+0x6d/0x4f0
locks held by syz-executor/7965: 7, on CPU#0:
 #0: ffff88811746c478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881bc926480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #2: ffff88816b24b0f8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #3: ffffffff90eec200 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370
 #4: ffff8881209f0128 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa9/0x7d0
 #5: ffff888120977258 (&devlink->lock_key#2){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170
 #6: ffff8881b77f4ae0 (&sb->s_type->i_mutex_key#9/2){+.+.}-{4:4}, at: __simple_recursive_removal+0x19a/0x520
locks held by syz.9.327/8093: 3, on CPU#1:
 #0: ffff88811cbec2f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160
 #1: ffff888161ece478 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #2: ffff888120977258 (&devlink->lock_key#2){+.+.}-{4:4}, at: devlink_health_report+0x305/0xb20
locks held by syz-executor/8336: 4, on CPU#1:
 #0: ffff88811746c478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881bb5ef880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #2: ffff88816b24b0f8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #3: ffffffff90eec200 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370
locks held by syz-executor/8554: 4, on CPU#1:
 #0: ffff88811746c478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881ba360080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #2: ffff88816b24b0f8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #3: ffffffff90eec200 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370
locks held by syz-executor/8656: 4, on CPU#1:
 #0: ffff88811746c478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881bc924080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #2: ffff88816b24b0f8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #3: ffffffff90eec200 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370
locks held by syz-executor/8798: 1, on CPU#1:
 #0: ffffffff91693120 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc1d/0x1c30
locks held by syz-executor/8857: 2, on CPU#0:
 #0: ffffffff91684448 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x51f/0x770
 #1: ffffffff91693120 (rtnl_mutex){+.+.}-{4:4}, at: register_netdev+0x18/0x60

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

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+0x1073/0x10f0
 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: 26 Comm: kworker/u9:0 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: events_unbound macvlan_process_broadcast
RIP: 0010:__refill_objects_node+0x42d/0x5e0
Code: 00 00 41 0f b7 c1 41 39 f7 41 0f 92 c4 29 c3 74 63 41 39 f7 73 5e 44 89 f8 48 ff c0 89 d9 4d 89 74 c0 f8 8b 57 28 4a 8b 14 32 <66> 90 4c 39 e8 41 0f 92 c4 41 ff c7 89 cb ff cb 74 3e 49 89 d6 4c
RSP: 0018:ffffc90000007960 EFLAGS: 00000287
RAX: 000000000000000d RBX: 0000000000000002 RCX: 0000000000000002
RDX: ffff88811394b080 RSI: 000000000000001c RDI: ffff88816040edc0
RBP: ffffc90000007a30 R08: ffff88811657bc20 R09: 000000020015000c
R10: dffffc0000000000 R11: fffffbfff237bdb8 R12: ffffea00044e5201
R13: 000000000000001c R14: ffff88811394af00 R15: 000000000000000c
FS:  0000000000000000(0000) GS:ffff88818be11000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb263d57e20 CR3: 00000001ba7fa000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 refill_objects+0x56/0x350
 __pcs_replace_empty_main+0x2c8/0x6c0
 kmem_cache_alloc_node_noprof+0x432/0x600
 __alloc_skb+0x1db/0x7a0
 x25_link_control+0x334/0xb70
 x25_lapb_receive_frame+0x3fa/0xfb0
 netif_receive_skb_core+0x2a6/0x2b0
 lapbeth_napi_poll+0x42/0x90
 __napi_poll+0xaa/0x330
 net_rx_action+0x61d/0xf50
 handle_softirqs+0x265/0x8d0
 do_softirq+0x77/0xd0
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x100/0x140
 netif_rx+0x89/0xa0
 macvlan_broadcast+0x375/0x630
 macvlan_process_broadcast+0x437/0x650
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
