INFO: task syz.1.1049:9870 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.1049      state:D stack:26024 pid:9870  tgid:9868  ppid:5852   task_flags:0x480140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 blk_mq_freeze_queue_wait+0xf4/0x170
 queue_limits_commit_update_frozen+0x5d/0x3e0
 nbd_set_size+0x47e/0x6a0
 nbd_genl_size_set+0x2eb/0x3c0
 nbd_genl_reconfigure+0x409/0x1870
 genl_family_rcv_msg_doit+0x215/0x300
 genl_rcv_msg+0x60e/0x790
 netlink_rcv_skb+0x208/0x470
 genl_rcv+0x28/0x40
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f28f458ec29
RSP: 002b:00007f28f5475038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f28f47d5fa0 RCX: 00007f28f458ec29
RDX: 0000000004004000 RSI: 0000200000000600 RDI: 0000000000000005
RBP: 00007f28f4611e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f28f47d6038 R14: 00007f28f47d5fa0 R15: 00007ffe395357b8
 </TASK>
INFO: task syz.1.1049:9873 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.1049      state:D stack:25320 pid:9873  tgid:9868  ppid:5852   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 genl_rcv_msg+0x10d/0x790
 netlink_rcv_skb+0x208/0x470
 genl_rcv+0x28/0x40
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 __sys_sendto+0x3bd/0x520
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f28f4590abc
RSP: 002b:00007f28f5452ec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f28f5452fc0 RCX: 00007f28f4590abc
RDX: 0000000000000020 RSI: 00007f28f5453010 RDI: 0000000000000009
RBP: 0000000000000000 R08: 00007f28f5452f14 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000009
R13: 00007f28f5452f68 R14: 00007f28f5453010 R15: 0000000000000000
 </TASK>
INFO: task syz.0.1052:9881 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.1052      state:D stack:27880 pid:9881  tgid:9880  ppid:5860   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 genl_rcv_msg+0x10d/0x790
 netlink_rcv_skb+0x208/0x470
 genl_rcv+0x28/0x40
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 __sys_sendto+0x3bd/0x520
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff2d4d90abc
RSP: 002b:00007ff2d5b30ec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007ff2d5b30fc0 RCX: 00007ff2d4d90abc
RDX: 0000000000000020 RSI: 00007ff2d5b31010 RDI: 0000000000000007
RBP: 0000000000000000 R08: 00007ff2d5b30f14 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000007
R13: 00007ff2d5b30f68 R14: 00007ff2d5b31010 R15: 0000000000000000
 </TASK>
INFO: task syz.2.1054:9890 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.1054      state:D stack:28360 pid:9890  tgid:9889  ppid:5856   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 genl_rcv_msg+0x10d/0x790
 netlink_rcv_skb+0x208/0x470
 genl_rcv+0x28/0x40
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 __sys_sendto+0x3bd/0x520
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7efe7fd90abc
RSP: 002b:00007efe80ba6ec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007efe80ba6fc0 RCX: 00007efe7fd90abc
RDX: 0000000000000020 RSI: 00007efe80ba7010 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007efe80ba6f14 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004
R13: 00007efe80ba6f68 R14: 00007efe80ba7010 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/35:
 #0: ffffffff8e13a0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5683:
 #0: ffff88810c45f0a0 (&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 udevd/6254:
 #0: ffff888107066358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30
6 locks held by syz.1.1049/9870:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
 #2: ffff88801bb37a30 (&nbd->config_lock){+.+.}-{4:4}, at: nbd_genl_reconfigure+0x36f/0x1870
 #3: ffff888107138708 (&q->limits_lock){+.+.}-{4:4}, at: nbd_set_size+0x292/0x6a0
 #4: ffff8881071380a8 (&q->q_usage_counter(io)#50){++++}-{0:0}, at: queue_limits_commit_update_frozen+0x5d/0x3e0
 #5: ffff8881071380e0 (&q->q_usage_counter(queue)#34){+.+.}-{0:0}, at: queue_limits_commit_update_frozen+0x5d/0x3e0
2 locks held by syz.1.1049/9873:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz.0.1052/9881:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz.2.1054/9890:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/9897:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/9899:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/9914:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/9931:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/9933:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/9948:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/9963:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/9965:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/9980:
 #0: ffffffff8f59fe50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59fc68 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790

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

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+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 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: 29 Comm: kworker/u9:1 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 toggle_allocation_gate
RIP: 0010:mark_lock+0x0/0x190
Code: 89 df 48 8b 2c 24 e9 b0 fd ff ff 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <55> 41 57 41 56 41 55 41 54 53 8b 46 20 89 c1 81 e1 00 00 03 00 83
RSP: 0018:ffffc9000062f678 EFLAGS: 00000002
RAX: 0000000000010000 RBX: ffff88801c6f1cc0 RCX: ffffffff934a4cf8
RDX: 0000000000000007 RSI: ffff88801c6f2800 RDI: ffff88801c6f1cc0
RBP: ffffc9000062f810 R08: ffffffff8fa39237 R09: 1ffffffff1f47246
R10: dffffc0000000000 R11: fffffbfff1f47247 R12: ffff88801c6f28c8
R13: ffff88801a476558 R14: ffff88801c6f2800 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8880b8611000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fce7c42c440 CR3: 000000000df36000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 lockdep_hardirqs_on_prepare+0x191/0x2a0
 trace_hardirqs_on+0x28/0x40
 __text_poke+0x748/0xa10
 smp_text_poke_batch_finish+0x90a/0x1130
 arch_jump_label_transform_apply+0x1c/0x30
 static_key_disable_cpuslocked+0xc5/0x1b0
 static_key_disable+0x1a/0x20
 toggle_allocation_gate+0x1a1/0x240
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
