BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 26526 Comm: syz-executor.3 Not tainted 5.15.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 lookup_chain_cache_add kernel/locking/lockdep.c:3736 [inline] validate_chain+0x7e8/0x8240 kernel/locking/lockdep.c:3757 __lock_acquire+0x1382/0x2b00 kernel/locking/lockdep.c:5015 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 perf_ctx_lock kernel/events/core.c:166 [inline] perf_event_context_sched_in kernel/events/core.c:3865 [inline] __perf_event_task_sched_in+0x46a/0xd50 kernel/events/core.c:3927 perf_event_task_sched_in include/linux/perf_event.h:1208 [inline] finish_task_switch+0x406/0x630 kernel/sched/core.c:4809 context_switch kernel/sched/core.c:4943 [inline] __schedule+0xb7a/0x1460 kernel/sched/core.c:6287 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6687 irqentry_exit+0x56/0x90 kernel/entry/common.c:425 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:put_cpu_partial+0x163/0x1a0 mm/slub.c:2581 Code: 00 00 48 3b 44 24 08 75 4d 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 fa 02 2c 08 41 f7 c5 00 02 00 00 74 c3 fb 4d 85 ff <75> c2 eb cb 48 c7 c7 c0 29 9f 8c 48 89 de e8 aa 2a 67 02 e9 e0 fe RSP: 0018:ffffc9000b97f870 EFLAGS: 00000246 RAX: 6c3849d615a7cb00 RBX: ffff8880b9d35200 RCX: ffffffff8165c2f1 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1fa380a R10: fffffbfff1fa380a R11: 0000000000000000 R12: ffffea000067b600 R13: 0000000000000282 R14: ffff888011042140 R15: 0000000000000000 do_slab_free mm/slub.c:3480 [inline] ___cache_free+0xe6/0x120 mm/slub.c:3499 qlist_free_all mm/kasan/quarantine.c:165 [inline] kasan_quarantine_reduce+0x151/0x1c0 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x2f/0xe0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3213 [inline] slab_alloc mm/slub.c:3221 [inline] kmem_cache_alloc_trace+0x205/0x310 mm/slub.c:3238 kmalloc include/linux/slab.h:591 [inline] kzalloc include/linux/slab.h:721 [inline] efs_fill_super+0x54/0x1440 fs/efs/super.c:257 mount_bdev+0x26c/0x3a0 fs/super.c:1368 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x86/0x270 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x1986/0x2c30 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount+0x308/0x3c0 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3030918f6a Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f302de8cfa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000240 RCX: 00007f3030918f6a RDX: 0000000020000040 RSI: 0000000020000180 RDI: 00007f302de8d000 RBP: 00007f302de8d040 R08: 00007f302de8d040 R09: 0000000020000040 R10: 0000000002000000 R11: 0000000000000206 R12: 0000000020000040 R13: 0000000020000180 R14: 00007f302de8d000 R15: 0000000020000300 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 48 3b 44 24 08 cmp 0x8(%rsp),%rax 7: 75 4d jne 0x56 9: 48 83 c4 10 add $0x10,%rsp d: 5b pop %rbx e: 41 5c pop %r12 10: 41 5d pop %r13 12: 41 5e pop %r14 14: 41 5f pop %r15 16: 5d pop %rbp 17: c3 retq 18: e8 fa 02 2c 08 callq 0x82c0317 1d: 41 f7 c5 00 02 00 00 test $0x200,%r13d 24: 74 c3 je 0xffffffe9 26: fb sti 27: 4d 85 ff test %r15,%r15 * 2a: 75 c2 jne 0xffffffee <-- trapping instruction 2c: eb cb jmp 0xfffffff9 2e: 48 c7 c7 c0 29 9f 8c mov $0xffffffff8c9f29c0,%rdi 35: 48 89 de mov %rbx,%rsi 38: e8 aa 2a 67 02 callq 0x2672ae7 3d: e9 .byte 0xe9 3e: e0 fe loopne 0x3e