BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 30321 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+0xcd/0x134 lib/dump_stack.c:106 add_chain_cache kernel/locking/lockdep.c:3637 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3736 [inline] validate_chain kernel/locking/lockdep.c:3757 [inline] __lock_acquire.cold+0x372/0x3ab kernel/locking/lockdep.c:5015 lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 do_write_seqcount_begin_nested include/linux/seqlock.h:520 [inline] do_write_seqcount_begin include/linux/seqlock.h:545 [inline] vtime_task_switch_generic+0xb5/0x5a0 kernel/sched/cputime.c:768 vtime_task_switch include/linux/vtime.h:95 [inline] finish_task_switch.isra.0+0x6cf/0xb80 kernel/sched/core.c:4808 context_switch kernel/sched/core.c:4943 [inline] __schedule+0xb4c/0x5960 kernel/sched/core.c:6287 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6687 irqentry_exit+0x31/0x80 kernel/entry/common.c:425 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5593 Code: b2 a5 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc90002fbf7b0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920005f7ef8 RCX: 0000000000000001 RDX: 1ffff11006ebf863 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8fcff9f7 R10: fffffbfff1f9ff3e R11: 0000000000000273 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8bac2460 R15: 0000000000000000 fs_reclaim_acquire mm/page_alloc.c:4556 [inline] fs_reclaim_acquire+0xd2/0x160 mm/page_alloc.c:4547 might_alloc include/linux/sched/mm.h:198 [inline] slab_pre_alloc_hook mm/slab.h:492 [inline] slab_alloc_node mm/slub.c:3127 [inline] slab_alloc mm/slub.c:3221 [inline] kmem_cache_alloc_trace+0x3b/0x3c0 mm/slub.c:3238 kmalloc include/linux/slab.h:591 [inline] __kthread_create_on_node+0xd2/0x410 kernel/kthread.c:364 kthread_create_on_node+0xbb/0xf0 kernel/kthread.c:453 attach_store+0x37e/0x9c0 drivers/usb/usbip/vhci_sysfs.c:375 dev_attr_store+0x50/0x80 drivers/base/core.c:2113 sysfs_kf_write+0x110/0x160 fs/sysfs/file.c:139 kernfs_fop_write_iter+0x342/0x500 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:2163 [inline] new_sync_write+0x429/0x660 fs/read_write.c:507 vfs_write+0x7cf/0xae0 fs/read_write.c:594 ksys_write+0x12d/0x250 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3d419a15ff Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007f3d3ef63b90 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f3d419a15ff RDX: 0000000000000008 RSI: 00007f3d3ef63be0 RDI: 0000000000000007 RBP: 0000000000000007 R08: 0000000000000000 R09: 00007f3d3ef63b30 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f3d41a38948 R13: 00007f3d3ef63be0 R14: 0000000000000000 R15: 0000000000022000 vhci_hcd vhci_hcd.0: pdev(3) rhport(0) sockfd(5) vhci_hcd vhci_hcd.0: devid(0) speed(5) speed_str(super-speed) vhci_hcd vhci_hcd.0: Device attached ---------------- Code disassembly (best guess): 0: b2 a5 mov $0xa5,%dl 2: 7e 83 jle 0xffffff87 4: f8 clc 5: 01 0f add %ecx,(%rdi) 7: 85 b4 02 00 00 9c 58 test %esi,0x589c0000(%rdx,%rax,1) e: f6 c4 02 test $0x2,%ah 11: 0f 85 9f 02 00 00 jne 0x2b6 17: 48 83 7c 24 08 00 cmpq $0x0,0x8(%rsp) 1d: 74 01 je 0x20 1f: fb sti 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction 2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx) 3b: 00 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 84 .byte 0x84 3f: 24 .byte 0x24