BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 16068 Comm: syz-executor.0 Not tainted 5.8.0-rc5-next-20200716-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 add_chain_cache kernel/locking/lockdep.c:3063 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3162 [inline] validate_chain kernel/locking/lockdep.c:3183 [inline] __lock_acquire.cold+0x11/0x3f8 kernel/locking/lockdep.c:4380 lock_acquire+0x1f1/0xad0 kernel/locking/lockdep.c:4959 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 __queue_work+0x3b4/0xff0 kernel/workqueue.c:1449 queue_work_on+0x18b/0x200 kernel/workqueue.c:1518 queue_work include/linux/workqueue.h:507 [inline] schedule_work include/linux/workqueue.h:568 [inline] __vfree_deferred mm/vmalloc.c:2292 [inline] vfree_atomic+0xac/0xe0 mm/vmalloc.c:2310 free_thread_stack kernel/fork.c:290 [inline] release_task_stack kernel/fork.c:425 [inline] put_task_stack+0x223/0x450 kernel/fork.c:436 finish_task_switch+0x52a/0x750 kernel/sched/core.c:3316 context_switch kernel/sched/core.c:3448 [inline] __schedule+0x8bc/0x1e80 kernel/sched/core.c:4169 preempt_schedule_notrace+0x92/0x110 kernel/sched/core.c:4398 preempt_schedule_notrace_thunk+0x16/0x31 arch/x86/entry/thunk_64.S:41 rcu_is_watching+0x8d/0xb0 kernel/rcu/tree.c:1094 rcu_read_unlock include/linux/rcupdate.h:684 [inline] prepend_path+0x930/0xb20 fs/d_path.c:142 d_absolute_path+0xfa/0x180 fs/d_path.c:201 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x282/0x620 security/tomoyo/realpath.c:276 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x1cb/0x4d0 security/tomoyo/file.c:723 tomoyo_path_mknod+0x10d/0x190 security/tomoyo/tomoyo.c:240 security_path_mknod+0xf9/0x170 security/security.c:1086 may_o_create fs/namei.c:2925 [inline] lookup_open.isra.0+0x431/0x1350 fs/namei.c:3066 open_last_lookups fs/namei.c:3175 [inline] path_openat+0x96d/0x2720 fs/namei.c:3363 do_filp_open+0x17e/0x3c0 fs/namei.c:3393 do_sys_openat2+0x16d/0x3e0 fs/open.c:1173 do_sys_open fs/open.c:1189 [inline] ksys_open include/linux/syscalls.h:1398 [inline] __do_sys_open fs/open.c:1195 [inline] __se_sys_open fs/open.c:1193 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1193 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c1d9 Code: Bad RIP value. RSP: 002b:00007f12a3bf5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000001fe00 RCX: 000000000045c1d9 RDX: 0000000000000000 RSI: 00000000000040c2 RDI: 00000000200000c0 RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffc615632af R14: 00007f12a3bf69c0 R15: 000000000078bf0c