BUG: sleeping function called from invalid context at kernel/workqueue.c:4552
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5657, name: kworker/0:4
preempt_count: 101, expected: 0
RCU nest depth: 0, expected: 0
locks held by kworker/0:4/5657: 3, last CPU#0:
 #0: ffff88810006a140 ((wq_completion)events_freezable){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000604fc40 ((work_completion)(&barr->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffc90000007cc0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x5f0
Preemption disabled at:
[<ffffffff81336576>] preempt_schedule_thunk+0x16/0x40
CPU: 0 UID: 0 PID: 5657 Comm: kworker/0:4 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events_freezable wq_barrier_func
Call Trace:
 <IRQ>
 dump_stack_lvl+0xe8/0x150
 __might_resched+0x36a/0x4c0
 __cancel_work_sync+0x6d/0x110
 mmc_free_host+0x19/0x30
 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:finish_task_switch+0x413/0xc60
Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 87 85 4e 0a e8 c2 f6 39 00 fb 4c 8b 65 c8 <49> 8d bc 24 08 17 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0
RSP: 0018:ffffc9000604f7e0 EFLAGS: 00000202
RAX: 0000000000086dad RBX: ffff88812103c8e0 RCX: 8000000000000001
RDX: 0000000000000006 RSI: ffffffff8e472e42 RDI: ffffffff8c6d6d80
RBP: ffffc9000604f830 R08: ffffffff907a0c7f R09: 1ffffffff20f418f
R10: dffffc0000000000 R11: fffffbfff20f4190 R12: ffff88811c461e00
R13: ffff88812103c8a8 R14: dffffc0000000000 R15: 1ffff1102420791c
 __schedule+0x17dc/0x5820
 preempt_schedule_common+0x7f/0xd0
 preempt_schedule_thunk+0x16/0x40
 _raw_spin_unlock_irqrestore+0x76/0x80
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
ODEBUG: object ffffc90000007a80 is NOT on stack ffffc90006048000, but annotated.
------------[ cut here ]------------
1
WARNING: lib/debugobjects.c:672 at __debug_object_init+0x2c4/0x3c0, CPU#0: kworker/0:4/5657
Modules linked in:
CPU: 0 UID: 0 PID: 5657 Comm: kworker/0:4 Tainted: G        W    L      syzkaller #0 PREEMPT(full) 
Tainted: [W]=WARN, [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events_freezable wq_barrier_func
RIP: 0010:__debug_object_init+0x2c4/0x3c0
Code: cc cc cc 41 ff c7 44 89 3d a9 43 e9 15 48 c7 c1 80 76 6d 8c 48 c7 c7 e0 76 6d 8c 84 c0 48 0f 45 f9 48 89 de e8 2d 98 3f fc 90 <0f> 0b 90 e9 c0 fe ff ff e8 4f 1c 00 00 8b 05 61 31 70 0a 3b 05 5f
RSP: 0018:ffffc900000079b8 EFLAGS: 00010046
RAX: 0000000000000050 RBX: ffffc90000007a80 RCX: 63ae5d757ef51f00
RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000
RBP: ffff88811c461e20 R08: 0000000000000100 R09: 1ffff92000000ee4
R10: dffffc0000000000 R11: fffff52000000ee5 R12: ffff8881180826e0
R13: ffff8881bd964578 R14: dffffc0000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff88818d6e6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056519124d680 CR3: 00000001bd9e6000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 __synchronize_srcu+0x1d5/0x2f0
 wakeup_source_unregister+0x129/0x3f0
 mmc_host_classdev_release+0x47/0x100
 device_release+0xc4/0x1f0
 kobject_put+0x222/0x550
 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:finish_task_switch+0x413/0xc60
Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 87 85 4e 0a e8 c2 f6 39 00 fb 4c 8b 65 c8 <49> 8d bc 24 08 17 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0
RSP: 0018:ffffc9000604f7e0 EFLAGS: 00000202
RAX: 0000000000086dad RBX: ffff88812103c8e0 RCX: 8000000000000001
RDX: 0000000000000006 RSI: ffffffff8e472e42 RDI: ffffffff8c6d6d80
RBP: ffffc9000604f830 R08: ffffffff907a0c7f R09: 1ffffffff20f418f
R10: dffffc0000000000 R11: fffffbfff20f4190 R12: ffff88811c461e00
R13: ffff88812103c8a8 R14: dffffc0000000000 R15: 1ffff1102420791c
 __schedule+0x17dc/0x5820
 preempt_schedule_common+0x7f/0xd0
 preempt_schedule_thunk+0x16/0x40
 _raw_spin_unlock_irqrestore+0x76/0x80
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
