BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 29324 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 add_chain_cache kernel/locking/lockdep.c:2259 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:2371 [inline] validate_chain kernel/locking/lockdep.c:2391 [inline] __lock_acquire.cold+0x420/0x57e kernel/locking/lockdep.c:3416 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144 update_curr_rt+0x413/0x960 kernel/sched/rt.c:985 pick_next_task_rt+0x61c/0x7e0 kernel/sched/rt.c:1567 pick_next_task kernel/sched/core.c:3376 [inline] __schedule+0x1493/0x2040 kernel/sched/core.c:3491 preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:3744 retint_kernel+0x1b/0x2d RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1ec/0x3c0 kernel/locking/lockdep.c:3911 Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 b7 01 00 00 48 83 3d 09 2e a6 08 00 0f 84 2a 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b RSP: 0018:ffff88803e0c78d8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff02 RAX: 1ffffffff13e3051 RBX: ffff888099a14400 RCX: 00000000000037cb RDX: dffffc0000000000 RSI: 0000000050fdf053 RDI: 0000000000000286 RBP: ffff8880afc19d28 R08: ffffffff8cd33398 R09: 0000000000000000 R10: ffff888099a14c88 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 kernfs_drain fs/kernfs/dir.c:468 [inline] __kernfs_remove+0x85a/0xa80 fs/kernfs/dir.c:1316 kernfs_remove_by_name_ns+0x51/0xb0 fs/kernfs/dir.c:1510 kernfs_remove_by_name include/linux/kernfs.h:539 [inline] remove_files+0x96/0x1c0 fs/sysfs/group.c:27 sysfs_remove_group+0x87/0x170 fs/sysfs/group.c:263 sysfs_remove_groups fs/sysfs/group.c:287 [inline] sysfs_remove_groups+0x5c/0xa0 fs/sysfs/group.c:279 device_remove_groups drivers/base/core.c:1308 [inline] device_remove_attrs+0x118/0x150 drivers/base/core.c:1496 device_del+0x3f1/0xaf0 drivers/base/core.c:2341 device_unregister+0x22/0xc0 drivers/base/core.c:2378 bdi_unregister+0x43a/0x610 mm/backing-dev.c:951 release_bdi mm/backing-dev.c:967 [inline] kref_put include/linux/kref.h:70 [inline] bdi_put+0x141/0x170 mm/backing-dev.c:976 generic_shutdown_super+0x2aa/0x370 fs/super.c:470 kill_anon_super+0x36/0x60 fs/super.c:1032 v9fs_kill_super+0x39/0x90 fs/9p/vfs_super.c:230 deactivate_locked_super+0x94/0x160 fs/super.c:329 deactivate_super+0x174/0x1a0 fs/super.c:360 cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efd1a9e30f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efd18f13168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffe4 RBX: 00007efd1ab03120 RCX: 00007efd1a9e30f9 RDX: 0000000020000b80 RSI: 00000000200003c0 RDI: 0000000000000000 RBP: 00007efd1aa3eae9 R08: 0000000020000600 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcaa8d070f R14: 00007efd18f13300 R15: 0000000000022000 IPVS: ftp: loaded support on port[0] = 21 device vxlan0 entered promiscuous mode IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 audit: type=1804 audit(1678088349.791:23200): pid=29571 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir305913038/syzkaller.mIcq29/968/bus" dev="sda1" ino=14611 res=1 audit: type=1804 audit(1678088350.640:23201): pid=29599 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir305913038/syzkaller.mIcq29/969/bus" dev="sda1" ino=14561 res=1 ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 audit: type=1804 audit(1678088352.529:23202): pid=29585 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3808/bus" dev="sda1" ino=14866 res=1 audit: type=1804 audit(1678088352.529:23203): pid=29585 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3808/bus" dev="sda1" ino=14866 res=1 audit: type=1804 audit(1678088352.619:23204): pid=29634 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3808/bus" dev="sda1" ino=14866 res=1 audit: type=1804 audit(1678088352.759:23205): pid=29655 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir305913038/syzkaller.mIcq29/970/bus" dev="sda1" ino=14897 res=1 netlink: 40 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 956 bytes leftover after parsing attributes in process `syz-executor.3'. IPVS: ftp: loaded support on port[0] = 21 audit: type=1804 audit(1678088355.158:23206): pid=29895 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir185201703/syzkaller.FTu1Yv/3699/bus" dev="sda1" ino=14881 res=1 netlink: 956 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. IPVS: ftp: loaded support on port[0] = 21 audit: type=1804 audit(1678088359.435:23207): pid=30192 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3845/bus" dev="sda1" ino=14263 res=1 IPVS: ftp: loaded support on port[0] = 21 audit: type=1804 audit(1678088361.044:23208): pid=30257 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3846/bus" dev="sda1" ino=14458 res=1 audit: type=1804 audit(1678088362.033:23209): pid=30297 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3847/bus" dev="sda1" ino=14415 res=1 audit: type=1804 audit(1678088362.853:23210): pid=30326 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3848/bus" dev="sda1" ino=14473 res=1 audit: type=1804 audit(1678088363.792:23211): pid=30364 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3849/bus" dev="sda1" ino=13908 res=1 audit: type=1804 audit(1678088364.792:23212): pid=30394 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3850/bus" dev="sda1" ino=14421 res=1 audit: type=1804 audit(1678088365.811:23213): pid=30425 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3851/bus" dev="sda1" ino=14379 res=1 audit: type=1804 audit(1678088366.690:23214): pid=30445 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir40182234/syzkaller.a4rxZ6/3852/bus" dev="sda1" ino=15635 res=1 ---------------- Code disassembly (best guess): 0: 08 00 or %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 00 add %al,(%rax) 6: 00 48 c1 add %cl,-0x3f(%rax) 9: e8 03 80 3c 10 callq 0x103c8011 e: 00 0f add %cl,(%rdi) 10: 85 b7 01 00 00 48 test %esi,0x48000001(%rdi) 16: 83 3d 09 2e a6 08 00 cmpl $0x0,0x8a62e09(%rip) # 0x8a62e26 1d: 0f 84 2a 01 00 00 je 0x14d 23: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi 28: 57 push %rdi 29: 9d popfq * 2a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) <-- trapping instruction 2f: 48 83 c4 18 add $0x18,%rsp 33: 5b pop %rbx 34: 5d pop %rbp 35: 41 5c pop %r12 37: 41 5d pop %r13 39: 41 5e pop %r14 3b: 41 5f pop %r15 3d: c3 retq 3e: 65 gs 3f: 8b .byte 0x8b