------------[ cut here ]------------
do not call blocking ops when !TASK_RUNNING; state=1 set at [<ffffffff81a73573>] nbcon_kthread_func+0x163/0x8e0
WARNING: kernel/sched/core.c:9191 at __might_sleep+0x92/0xf0, CPU#1: pr/ttyS0/16
Modules linked in:
CPU: 1 UID: 0 PID: 16 Comm: pr/ttyS0 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:__might_sleep+0xac/0xf0
Code: 00 00 48 89 3c 24 41 89 f5 4c 8d 35 9e 07 e7 0f 43 80 3c 3c 00 74 08 48 89 df e8 ef 8b a2 00 48 8b 0b 4c 89 f7 89 ee 48 89 ca <67> 48 0f b9 3a 44 89 ee 48 8b 3c 24 eb b5 44 89 f1 80 e1 07 80 c1
RSP: 0018:ffffc90000a18c08 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888102ee18b0 RCX: ffffffff81a73573
RDX: ffffffff81a73573 RSI: 0000000000000001 RDI: ffffffff917dd1c0
RBP: 0000000000000001 R08: 0000000000000100 R09: 1ffffffff22f5a4f
R10: dffffc0000000000 R11: fffffbfff22f5a50 R12: 1ffff110205dc316
R13: 00000000000011d1 R14: ffffffff917dd1c0 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8882a7cad000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3241dff8 CR3: 00000001bb832000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 __cancel_work_sync+0x6d/0x110
 mmc_free_host+0x19/0x40
 call_timer_fn+0x18d/0x5f0
 __run_timer_base+0x652/0x8b0
 run_timer_softirq+0xb7/0x170
 handle_softirqs+0x226/0x860
 __irq_exit_rcu+0xcb/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_prb_read_valid+0x4d3/0xa50
Code: ff ff 4c 89 ff e8 9d 68 91 00 e9 7d fc ff ff e8 c3 46 20 00 49 bc 00 00 00 00 00 fc ff df eb 05 e8 b2 46 20 00 48 8b 44 24 38 <48> 85 c0 0f 84 fd 04 00 00 49 89 c7 49 c1 ef 03 43 80 3c 27 00 74
RSP: 0018:ffffc90000157b00 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 00000000000344f9 RCX: ffff888102ee0000
RDX: 0000000000000000 RSI: 0000000000c910e0 RDI: 0000000000000001
RBP: ffffc90000157c80 R08: ffffc90000157be7 R09: 1ffff9200002af7c
R10: dffffc0000000000 R11: fffff5200002af7d R12: dffffc0000000000
R13: 00000000000364f9 R14: ffffffff8fc72ac8 R15: 0000000000c910e0
 prb_read_valid+0x3c/0x60
 nbcon_kthread_func+0x36d/0x8e0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
