BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 14242 Comm: syz-executor.5 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_cfs_rq_load_avg kernel/sched/fair.c:3490 [inline] update_load_avg kernel/sched/fair.c:3612 [inline] put_prev_entity+0xbac/0x17e0 kernel/sched/fair.c:4248 put_prev_task_fair+0x38/0x70 kernel/sched/fair.c:6867 put_prev_task kernel/sched/sched.h:1572 [inline] pick_next_task_rt+0x129/0x7e0 kernel/sched/rt.c:1572 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:recently_deleted fs/ext4/ialloc.c:701 [inline] RIP: 0010:find_inode_bit+0x2e1/0x520 fs/ext4/ialloc.c:724 Code: 03 5e 28 48 8d 7b 14 48 89 f8 48 c1 e8 03 0f b6 14 28 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 e3 01 00 00 8b 5b 14 8a 33 78 ff 49 89 c7 4c 89 f0 48 c1 e8 03 80 3c 28 00 0f 85 ba RSP: 0018:ffff888036e1f758 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: 00000000640584ef RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81dc9283 RDI: ffff88803f1d1914 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880a3e20e80 R13: ffff888036e1f918 R14: ffff8880421ff000 R15: 0000000000000009 __ext4_new_inode+0x160c/0x5a20 fs/ext4/ialloc.c:916 ext4_tmpfile+0x208/0x480 fs/ext4/namei.c:2579 vfs_tmpfile+0x208/0x370 fs/namei.c:3456 ovl_do_tmpfile fs/overlayfs/overlayfs.h:191 [inline] ovl_make_workdir fs/overlayfs/super.c:1121 [inline] ovl_get_workdir fs/overlayfs/super.c:1198 [inline] ovl_fill_super+0x12b4/0x3f10 fs/overlayfs/super.c:1601 mount_nodev+0x60/0x110 fs/super.c:1204 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f64d43630f9 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:00007f64d28d5168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f64d4482f80 RCX: 00007f64d43630f9 RDX: 0000000020000080 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f64d43beae9 R08: 0000000020000340 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdd030e56f R14: 00007f64d28d5300 R15: 0000000000022000 overlayfs: failed to resolve './file0': -2 overlayfs: failed to resolve './file0': -2 audit: type=1800 audit(1678083408.659:729): pid=14309 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="file0" dev="sda1" ino=15174 res=0 IPVS: ftp: loaded support on port[0] = 21 BTRFS info (device loop5): enabling inode map caching BTRFS warning (device loop5): excessive commit interval 622039222 BTRFS info (device loop5): force zlib compression, level 3 BTRFS info (device loop5): using free space tree BTRFS info (device loop5): has skinny extents BTRFS info (device loop5): enabling inode map caching BTRFS warning (device loop5): excessive commit interval 622039222 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready BTRFS info (device loop5): force zlib compression, level 3 BTRFS info (device loop5): using free space tree BTRFS info (device loop5): has skinny extents IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond5: making interface bridge9 the new active one bond5: Enslaving bridge9 as an active interface with an up link IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond6: making interface bridge10 the new active one bond6: Enslaving bridge10 as an active interface with an up link BTRFS info (device loop5): enabling inode map caching BTRFS warning (device loop5): excessive commit interval 622039222 BTRFS info (device loop5): force zlib compression, level 3 BTRFS info (device loop5): using free space tree BTRFS info (device loop5): has skinny extents overlayfs: unrecognized mount option "upper\ir=./bus" or missing value EXT4-fs (loop5): Unrecognized mount option "ÑËÒŸù¥Ng8žP;•ñE›ÃuÑõ]Ý@9ôE>ìuá#^q¶é" or missing value base_sock_release(000000002925b135) sk=0000000050a1f4ce overlayfs: unrecognized mount option "upper\ir=./bus" or missing value EXT4-fs (loop5): Unrecognized mount option "ÑËÒŸù¥Ng8žP;•ñE›ÃuÑõ]Ý@9ôE>ìuá#^q¶é" or missing value netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. IPVS: ftp: loaded support on port[0] = 21 netlink: 'syz-executor.1': attribute type 6 has an invalid length. base_sock_release(000000003b0c7472) sk=00000000209939ae base_sock_release(00000000262ac01c) sk=000000002895130a base_sock_release(0000000017e305fd) sk=00000000edfaae81 base_sock_release(000000004e8915dd) sk=00000000d47b393d base_sock_release(00000000d9dee773) sk=0000000054386085 base_sock_release(00000000f861e91a) sk=00000000b81500d0 base_sock_release(000000005a5ff25b) sk=000000009b68243a IPVS: ftp: loaded support on port[0] = 21 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. base_sock_release(00000000998ac0a6) sk=0000000039373f68 base_sock_release(00000000cdae5e76) sk=000000004bf6f055 base_sock_release(000000004c200cd0) sk=0000000064a14d41 netlink: 'syz-executor.1': attribute type 6 has an invalid length. base_sock_release(00000000640bf2d1) sk=000000001653d387 base_sock_release(0000000061737800) sk=000000000dcfbd06 base_sock_release(000000003e8d5670) sk=00000000824d90b8 base_sock_release(00000000ec7b403f) sk=000000004993f86a base_sock_release(000000008607391f) sk=00000000785f5186 base_sock_release(0000000082874e58) sk=0000000048a4ac25 base_sock_release(000000007e8aeafc) sk=000000008dad8edb base_sock_release(000000008dbaebe4) sk=00000000814da6a7 base_sock_release(00000000606c7205) sk=000000005860ec62 base_sock_release(00000000cbf44a22) sk=00000000850e0d53 base_sock_release(000000002a67649e) sk=0000000095ad8d4f base_sock_release(000000004795008d) sk=00000000882ec1e4 base_sock_release(00000000af696bf8) sk=000000006460d351 base_sock_release(000000000843b065) sk=00000000bb3c62a8 base_sock_release(00000000eff36a7c) sk=00000000fc3a0749 base_sock_release(000000004b335297) sk=0000000005a57c9a base_sock_release(000000003e7b5bb4) sk=00000000dadb7576 base_sock_release(00000000463fa269) sk=00000000143fe332 base_sock_release(000000008da0b4f5) sk=00000000861906f8 base_sock_release(00000000b7c03aff) sk=00000000b4fa99ca base_sock_release(000000002bdc4f78) sk=00000000f10a01ee base_sock_release(000000005874c4d3) sk=0000000063a4978c base_sock_release(00000000660cc1f6) sk=0000000032727ab1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. IPVS: ftp: loaded support on port[0] = 21 netlink: 'syz-executor.1': attribute type 6 has an invalid length. EXT4-fs (loop5): Unrecognized mount option "ÑËÒŸù¥Ng8žP;•ñE›ÃuÑõ]Ý@9ôE>ìuá#^q¶é" or missing value base_sock_release(000000002ad5b123) sk=0000000039f0de59 base_sock_release(00000000b7129785) sk=00000000c0982242 audit: type=1800 audit(1678083415.339:730): pid=14957 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=14577 res=0 audit: type=1804 audit(1678083415.419:731): pid=14958 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir2971458897/syzkaller.NtAUBM/1198/file0" dev="sda1" ino=14577 res=1 audit: type=1800 audit(1678083416.419:732): pid=15064 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="file0" dev="sda1" ino=14769 res=0 audit: type=1804 audit(1678083416.549:733): pid=15065 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir1303395117/syzkaller.IRQuzc/165/file0" dev="sda1" ino=14769 res=1 audit: type=1800 audit(1678083416.939:734): pid=15100 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.1" name="file0" dev="sda1" ino=15026 res=0 audit: type=1804 audit(1678083417.189:735): pid=15097 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir2910187841/syzkaller.ZaACJU/1170/file0" dev="sda1" ino=15026 res=1 audit: type=1800 audit(1678083417.699:736): pid=15141 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="file0" dev="sda1" ino=15243 res=0 audit: type=1804 audit(1678083417.839:737): pid=15144 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir1303395117/syzkaller.IRQuzc/166/file0" dev="sda1" ino=15243 res=1 audit: type=1800 audit(1678083418.769:738): pid=15219 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="file0" dev="sda1" ino=13882 res=0 audit: type=1804 audit(1678083418.859:739): pid=15220 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir1303395117/syzkaller.IRQuzc/167/file0" dev="sda1" ino=13882 res=1 kauditd_printk_skb: 65 callbacks suppressed audit: type=1800 audit(1678083420.819:805): pid=15318 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="file0" dev="sda1" ino=14433 res=0 audit: type=1804 audit(1678083420.899:806): pid=15323 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir1303395117/syzkaller.IRQuzc/169/file0" dev="sda1" ino=14433 res=1 audit: type=1800 audit(1678083421.849:807): pid=15375 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.4" name="file0" dev="sda1" ino=15276 res=0 audit: type=1800 audit(1678083422.059:808): pid=15376 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="file0" dev="sda1" ino=15285 res=0 audit: type=1804 audit(1678083422.269:809): pid=15375 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir3254208791/syzkaller.39G2tu/1212/file0" dev="sda1" ino=15276 res=1 audit: type=1804 audit(1678083422.269:810): pid=15377 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir1303395117/syzkaller.IRQuzc/170/file0" dev="sda1" ino=15285 res=1 ---------------- Code disassembly (best guess): 0: 03 5e 28 add 0x28(%rsi),%ebx 3: 48 8d 7b 14 lea 0x14(%rbx),%rdi 7: 48 89 f8 mov %rdi,%rax a: 48 c1 e8 03 shr $0x3,%rax e: 0f b6 14 28 movzbl (%rax,%rbp,1),%edx 12: 48 89 f8 mov %rdi,%rax 15: 83 e0 07 and $0x7,%eax 18: 83 c0 03 add $0x3,%eax 1b: 38 d0 cmp %dl,%al 1d: 7c 08 jl 0x27 1f: 84 d2 test %dl,%dl 21: 0f 85 e3 01 00 00 jne 0x20a 27: 8b 5b 14 mov 0x14(%rbx),%ebx * 2a: e8 8a 33 78 ff callq 0xff7833b9 <-- trapping instruction 2f: 49 89 c7 mov %rax,%r15 32: 4c 89 f0 mov %r14,%rax 35: 48 c1 e8 03 shr $0x3,%rax 39: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 3d: 0f .byte 0xf 3e: 85 .byte 0x85 3f: ba .byte 0xba