BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 11784 Comm: syz-executor.1 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 spin_lock include/linux/spinlock.h:329 [inline] list_lru_del+0xa5/0x570 mm/list_lru.c:153 d_lru_del+0xc1/0x130 fs/dcache.c:405 __dentry_kill+0x4e7/0x640 fs/dcache.c:558 dentry_kill+0xc4/0x510 fs/dcache.c:685 dput+0x55f/0x640 fs/dcache.c:846 ovl_cleanup_index fs/overlayfs/util.c:742 [inline] ovl_nlink_end+0x5ed/0x7c0 fs/overlayfs/util.c:817 ovl_do_remove+0x480/0xdb0 fs/overlayfs/dir.c:869 vfs_rmdir.part.0+0x10f/0x3d0 fs/namei.c:3882 vfs_rmdir fs/namei.c:3868 [inline] do_rmdir+0x3fd/0x490 fs/namei.c:3943 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f6fe9f280f9 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:00007f6fe849a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f6fea047f80 RCX: 00007f6fe9f280f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200 RBP: 00007f6fe9f83ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdf95ce67f R14: 00007f6fe849a300 R15: 0000000000022000 IPVS: ftp: loaded support on port[0] = 21 nla_parse: 2 callbacks suppressed netlink: 3 bytes leftover after parsing attributes in process `syz-executor.5'. IPVS: ftp: loaded support on port[0] = 21 overlayfs: filesystem on './bus' not supported as upperdir IPVS: ftp: loaded support on port[0] = 21 overlayfs: unrecognized mount option "vEMGXy!Ku'1Ru̺#b" or missing value 9pnet: Insufficient options for proto=fd overlayfs: unrecognized mount option "vEMGXy!Ku'1Ru̺#b" or missing value netlink: 3 bytes leftover after parsing attributes in process `syz-executor.5'. audit: type=1800 audit(1678102032.730:979): pid=12109 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=14421 res=0 audit: type=1804 audit(1678102032.740:980): pid=12109 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir4263836294/syzkaller.SWd6jt/1138/file0" dev="sda1" ino=14421 res=1 audit: type=1800 audit(1678102033.040:981): pid=12126 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=14770 res=0 audit: type=1804 audit(1678102033.040:982): pid=12126 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir4263836294/syzkaller.SWd6jt/1139/file0" dev="sda1" ino=14770 res=1 netlink: 3 bytes leftover after parsing attributes in process `syz-executor.5'. IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready chnl_net:chnl_net_open(): err: Unable to register and open device, Err:-19 caif:caif_disconnect_client(): nothing to disconnect chnl_net:chnl_flowctrl_cb(): NET flowctrl func called flow: CLOSE/DEINIT chnl_net:chnl_net_open(): state disconnected A link change request failed with some changes committed already. Interface caif0 may have been left with an inconsistent configuration, please check. audit: type=1800 audit(1678102034.060:983): pid=12191 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=15138 res=0 audit: type=1804 audit(1678102034.090:984): pid=12191 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir4263836294/syzkaller.SWd6jt/1140/file0" dev="sda1" ino=15138 res=1 netlink: 3 bytes leftover after parsing attributes in process `syz-executor.5'. IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready chnl_net:chnl_net_open(): err: Unable to register and open device, Err:-19 caif:caif_disconnect_client(): nothing to disconnect chnl_net:chnl_flowctrl_cb(): NET flowctrl func called flow: CLOSE/DEINIT chnl_net:chnl_net_open(): state disconnected A link change request failed with some changes committed already. Interface caif0 may have been left with an inconsistent configuration, please check. netlink: 3 bytes leftover after parsing attributes in process `syz-executor.5'. IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready chnl_net:chnl_net_open(): err: Unable to register and open device, Err:-19 caif:caif_disconnect_client(): nothing to disconnect chnl_net:chnl_flowctrl_cb(): NET flowctrl func called flow: CLOSE/DEINIT chnl_net:chnl_net_open(): state disconnected A link change request failed with some changes committed already. Interface caif0 may have been left with an inconsistent configuration, please check. netlink: 3 bytes leftover after parsing attributes in process `syz-executor.5'. mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium netlink: 3 bytes leftover after parsing attributes in process `syz-executor.5'. REISERFS (device loop2): found reiserfs format "3.6" with non-standard journal REISERFS (device loop2): using ordered data mode reiserfs: using flush barriers REISERFS (device loop2): journal params: device loop2, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop2): checking transaction log (loop2) REISERFS (device loop2): Using r5 hash to sort names REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. base_sock_release(000000004dd2fc95) sk= (null) audit: type=1804 audit(1678102041.781:985): pid=12467 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir2321522661/syzkaller.rM2ROj/322/file1/bus" dev="loop2" ino=4 res=1 audit: type=1804 audit(1678102041.841:986): pid=12478 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir2321522661/syzkaller.rM2ROj/322/file1/bus" dev="loop2" ino=4 res=1 base_sock_release(00000000b975a4c0) sk=00000000ffd93898 netlink: 3 bytes leftover after parsing attributes in process `syz-executor.5'. REISERFS (device loop2): found reiserfs format "3.6" with non-standard journal