INFO: task syz.1.2457:15491 blocked in I/O wait for mor
INFO: task syz.1.2457:15491 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.2457      state:D stack:24808 pid:15491 tgid:15490 ppid:5608   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5830
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 folio_wait_bit_common+0x85e/0xc40
 migrate_pages_batch+0x2492/0x5020
 migrate_pages+0x1fa1/0x2910
 compact_zone+0x34b7/0x4ca0
 sysctl_compaction_handler+0x4e3/0x880
 proc_sys_call_handler+0x4c1/0x830
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7feb7dba8fd9
RSP: 002b:00007feb7eab4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007feb7de25fa0 RCX: 00007feb7dba8fd9
RDX: 0000000000000001 RSI: 00002000000005c0 RDI: 0000000000000005
RBP: 00007feb7dc37fed R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007feb7de26038 R14: 00007feb7de25fa0 R15: 00007ffe14e21f28
 </TASK>

Showing all locks held in the system:
locks held by pr/ttyS0/34: 3, last CPU#1:
 #0: ffffffff90033d58 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60
 #1: ffffffff9c1fdeb8 (&port_lock_key){-.-.}-{3:3}, at: univ8250_console_device_lock+0x67/0xc0
 #2: ffff88823c628618 (hrtimer_bases.lock){-.-.}-{2:2}, at: hrtimer_start_range_ns+0x8c/0x3e0
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/u10:12/1127: 3, on CPU#1:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900069f7c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff91692fe0 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
locks held by kworker/0:2/5022: 3, on CPU#0:
 #0: ffff88810006ad48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900032cfc40 (netdev_work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff91692fe0 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x209/0x780
locks held by getty/5439: 2, on CPU#0:
 #0: ffff88810bc430a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900033d82e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by kworker/u8:3/5670: 5, last CPU#1:
 #0: ffff88811da3f948 ((wq_completion)krds_cp_wq#1/0){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000600fc40 ((work_completion)(&(&cp->cp_conn_w)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88811d28d280 (&tc->t_conn_path_lock){+.+.}-{4:4}, at: rds_tcp_conn_path_connect+0x1cc/0x920
 #3: ffffffff902b1890 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x27/0x60
 #4: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x8f/0x2550
locks held by kworker/u10:13/8007: 2, on CPU#1:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900062cfc40 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by udevd/8193: 1, on CPU#0:
 #0: ffff88816d678350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xde/0xd70
locks held by kworker/1:10/11932: 3, last CPU#1:
 #0: ffff88810006ad48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90003b3fc40 ((work_completion)(&data->dm_alert_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff902b1890 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x27/0x60
locks held by syz.1.2457/15491: 2, on CPU#0:
 #0: ffff88810e99bcf0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160
 #1: ffff8881112c8478 (sb_writers#3){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
locks held by kworker/u8:6/19739: 3, on CPU#1:
 #0: ffff888169320948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000f4bfc40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff91692fe0 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x116/0x15c0
locks held by syz.3.4078/21526: 2, on CPU#0:
 #0: ffff8881108958e0 (&nft_net->commit_mutex){+.+.}-{4:4}, at: nf_tables_valid_genid+0x3e/0x100
 #1: ffffffff90160928 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2cb/0x760
locks held by syz.3.4078/21531: 1, on CPU#1:
 #0: ffffffff91692fe0 (rtnl_mutex){+.+.}-{4:4}, at: dev_ethtool+0x3a0/0x29e0
locks held by syz.0.4079/21525: 1, on CPU#1:
 #0: ffff888113922640 (&sb->s_type->i_mutex_key#13){+.+.}-{4:4}, at: __sock_release+0x7a/0x1f0
locks held by syz.0.4079/21527: 3, on CPU#0:
 #0: ffffffff90dda068 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff91692fe0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc1d/0x1c30
 #2: ffffffff90160928 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x388/0x760
locks held by syz.0.4079/21528: 1, last CPU#0:
 #0: ffffffff9015a2a0 (rcu_read_lock){....}-{1:3}, at: bpf_test_timer_enter+0xf9/0x260
locks held by syz.0.4079/21530: 2, on CPU#1:
 #0: ffffffff91bfc928 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff91692fe0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc1d/0x1c30
locks held by syz.2.4080/21533: 1, on CPU#1:
 #0: ffff888169d76260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe90
locks held by syz.2.4080/21535: 1, on CPU#0:
 #0: ffff888169d76260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_setsockopt+0xe31/0x1510
locks held by syz.2.4080/21536: 1, on CPU#0:
 #0: ffffffff91692fe0 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x767/0xc00
locks held by syz.2.4080/21539: 1, on CPU#1:
 #0: ffff888169d76260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_setsockopt+0x5a0/0x1510

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

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+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: 11932 Comm: kworker/1:10 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 send_dm_alert
RIP: 0010:kasan_check_range+0x59/0x2c0
Code: ff eb 0d cc cc cc 49 b9 00 00 00 00 00 00 00 ff 4c 39 cf 0f 82 14 02 00 00 49 89 ff 49 c1 ef 03 49 ba 00 00 00 00 00 fc ff df <4f> 8d 1c 17 49 ff c8 4d 89 c1 49 c1 e9 03 48 bb 01 00 00 00 00 fc
RSP: 0018:ffffc90003b3f648 EFLAGS: 00000806
RAX: 00000000ffffff01 RBX: ffffffff9c163bc0 RCX: ffffffff81a4bb1c
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff9c163bc0
RBP: ffffc90003b3f738 R08: ffffffff9c163bc4 R09: ffff800000000000
R10: dffffc0000000000 R11: fffffbfff237bd98 R12: 1ffff92000767ed4
R13: ffffffff9c163bc8 R14: dffffc0000000000 R15: 1ffffffff382c778
FS:  0000000000000000(0000) GS:ffff8882a7811000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33717ff8 CR3: 0000000178868000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 do_raw_spin_lock+0x11c/0x2f0
 _raw_spin_lock_irqsave+0x4c/0x60
 debug_check_no_obj_freed+0xcb/0x450
 __free_frozen_pages+0x5cc/0xd90
 __slab_free+0x269/0x2c0
 qlist_free_all+0x99/0x100
 kasan_quarantine_reduce+0x148/0x160
 __kasan_kmalloc+0x22/0xb0
 __kmalloc_node_track_caller_noprof+0x4af/0x720
 __alloc_skb+0x2c1/0x7a0
 reset_per_cpu_data+0x31/0x1e0
 send_dm_alert+0x21/0x100
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
