BUG: MAX_LOCKDEP_KEYS too low! turning off the locking correctness validator. CPU: 3 UID: 0 PID: 12200 Comm: syz.0.6700 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 register_lock_class+0x419/0x4c0 kernel/locking/lockdep.c:1332 __lock_acquire+0x9f/0x1ce0 kernel/locking/lockdep.c:5112 lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5825 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:356 [inline] dev_reset_queue+0x160/0x1d0 net/sched/sch_generic.c:1312 netdev_for_each_tx_queue include/linux/netdevice.h:2660 [inline] dev_deactivate_many+0x4e5/0xd50 net/sched/sch_generic.c:1378 __dev_close_many+0x150/0x760 net/core/dev.c:1739 netif_close_many+0x233/0x630 net/core/dev.c:1780 unregister_netdevice_many_notify+0x563/0x24c0 net/core/dev.c:12136 unregister_netdevice_many net/core/dev.c:12229 [inline] unregister_netdevice_queue+0x305/0x3f0 net/core/dev.c:12073 unregister_netdevice include/linux/netdevice.h:3385 [inline] __tun_detach+0x1249/0x1540 drivers/net/tun.c:621 tun_detach drivers/net/tun.c:637 [inline] tun_chr_close+0xc2/0x230 drivers/net/tun.c:3433 __fput+0x402/0xb70 fs/file_table.c:468 task_work_run+0x150/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xeb/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x41c/0x4e0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5c84d8eba9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe29a255f8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 000000000007f36f RCX: 00007f5c84d8eba9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f5c84fd7da0 R08: 0000000000000001 R09: 0000001d29a258ef R10: 0000001b32b20000 R11: 0000000000000246 R12: 00007f5c84fd5fac R13: 00007f5c84fd5fa0 R14: ffffffffffffffff R15: 00007ffe29a25710