BUG: sleeping function called from invalid context at kernel/workqueue.c:4552
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 11849, name: syz.4.1099
preempt_count: 100, expected: 0
RCU nest depth: 0, expected: 0
locks held by syz.4.1099/11849: 2, last CPU#1:
 #0: ffffffff9024ccc0 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
 #1: ffffc90000a18cc0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x5f0
Preemption disabled at:
[<ffffffff8188ef6b>] handle_softirqs+0xab/0x860
CPU: 1 UID: 0 PID: 11849 Comm: syz.4.1099 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
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:lockdep_unregister_key+0x2d4/0x350
Code: e9 31 13 09 00 48 c7 c7 90 d9 99 96 89 c6 e8 83 33 41 0a e9 66 fe ff ff e8 19 6b 3e 0a 41 f7 c7 00 02 00 00 74 b4 fb 40 84 ed <75> b3 eb c4 90 0f 0b 90 e9 27 ff ff ff 90 0f 0b 90 e9 2f ff ff ff
RSP: 0018:ffffc90007a8f960 EFLAGS: 00000246
RAX: 0000000000000046 RBX: ffff888033b82268 RCX: 0000000000000046
RDX: ffffffff945554f8 RSI: ffffffff8e48d375 RDI: ffffffff8c6d6d80
RBP: ffff88816be79e00 R08: ffffffff81b0ac78 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8ed5c6a0 R12: 0000000000000000
R13: ffff888033b82269 R14: 0000000000001000 R15: 0000000000000a07
 __qdisc_destroy+0x1ab/0x470
 dev_shutdown+0x92/0x450
 unregister_netdevice_many_notify+0x11f4/0x2140
 unregister_netdevice_queue+0x2f5/0x340
 __tun_detach+0x1074/0x1900
 tun_chr_close+0x10a/0x1c0
 __fput+0x418/0xa50
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0x204/0x770
 do_syscall_64+0x328/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5d33b9e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe4b046358 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f5d33e27da0 RCX: 00007f5d33b9e159
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f5d33e27da0 R08: 00007f5d33e267b8 R09: 0000000000000000
R10: 000000000003fc58 R11: 0000000000000246 R12: 0000000000044426
R13: 00007f5d33e25fac R14: 00007f5d33e25fa8 R15: 00007f5d33e25fa0
 </TASK>
ODEBUG: object ffffc90000a18a80 is NOT on stack ffffc90007a88000, but annotated.
------------[ cut here ]------------
1
WARNING: lib/debugobjects.c:672 at __debug_object_init+0x2c4/0x3c0, CPU#1: syz.4.1099/11849
Modules linked in:
CPU: 1 UID: 0 PID: 11849 Comm: syz.4.1099 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
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:ffffc90000a189b8 EFLAGS: 00010046
RAX: 0000000000000050 RBX: ffffc90000a18a80 RCX: 24154dfe759d6b00
RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000
RBP: ffff88816be79e20 R08: 0000000000000100 R09: 1ffff920001430e4
R10: dffffc0000000000 R11: fffff520001430e5 R12: 1ffff9200014314c
R13: ffff88811fec6af0 R14: dffffc0000000000 R15: 0000000000000001
FS:  000055555a389500(0000) GS:ffff8882a8ce6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feaeb3d0980 CR3: 00000001728c6000 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:lockdep_unregister_key+0x2d4/0x350
Code: e9 31 13 09 00 48 c7 c7 90 d9 99 96 89 c6 e8 83 33 41 0a e9 66 fe ff ff e8 19 6b 3e 0a 41 f7 c7 00 02 00 00 74 b4 fb 40 84 ed <75> b3 eb c4 90 0f 0b 90 e9 27 ff ff ff 90 0f 0b 90 e9 2f ff ff ff
RSP: 0018:ffffc90007a8f960 EFLAGS: 00000246
RAX: 0000000000000046 RBX: ffff888033b82268 RCX: 0000000000000046
RDX: ffffffff945554f8 RSI: ffffffff8e48d375 RDI: ffffffff8c6d6d80
RBP: ffff88816be79e00 R08: ffffffff81b0ac78 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8ed5c6a0 R12: 0000000000000000
R13: ffff888033b82269 R14: 0000000000001000 R15: 0000000000000a07
 __qdisc_destroy+0x1ab/0x470
 dev_shutdown+0x92/0x450
 unregister_netdevice_many_notify+0x11f4/0x2140
 unregister_netdevice_queue+0x2f5/0x340
 __tun_detach+0x1074/0x1900
 tun_chr_close+0x10a/0x1c0
 __fput+0x418/0xa50
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0x204/0x770
 do_syscall_64+0x328/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5d33b9e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe4b046358 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f5d33e27da0 RCX: 00007f5d33b9e159
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f5d33e27da0 R08: 00007f5d33e267b8 R09: 0000000000000000
R10: 000000000003fc58 R11: 0000000000000246 R12: 0000000000044426
R13: 00007f5d33e25fac R14: 00007f5d33e25fa8 R15: 00007f5d33e25fa0
 </TASK>
