BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 31189 Comm: syz-executor.1 Not tainted 4.14.232-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 add_chain_cache kernel/locking/lockdep.c:2303 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:2415 [inline] validate_chain kernel/locking/lockdep.c:2435 [inline] __lock_acquire.cold+0x19a/0x97c kernel/locking/lockdep.c:3491 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:152 rcu_preempt_note_context_switch kernel/rcu/tree_plugin.h:336 [inline] rcu_note_context_switch+0x5bc/0x1590 kernel/rcu/tree.c:458 __schedule+0x1d7/0x1de0 kernel/sched/core.c:3314 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:3508 ___preempt_schedule+0x16/0x18 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x3b/0x40 kernel/locking/spinlock.c:184 spin_unlock include/linux/spinlock.h:357 [inline] fast_dput fs/dcache.c:714 [inline] dput.part.0+0x3f9/0x710 fs/dcache.c:818 dput+0x1b/0x30 fs/dcache.c:811 path_to_nameidata fs/namei.c:855 [inline] do_last fs/namei.c:3357 [inline] path_openat+0x1ef2/0x2970 fs/namei.c:3569 do_filp_open+0x179/0x3c0 fs/namei.c:3603 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x4665f9 RSP: 002b:00007f588b768188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000140 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007fff06a1789f R14: 00007f588b768300 R15: 0000000000022000 ldm_validate_privheads(): Disk read failed. loop0: p2 < > loop0: partition table partially beyond EOD, truncated ldm_validate_privheads(): Disk read failed. loop0: p2 < > loop0: partition table partially beyond EOD, truncated ldm_validate_privheads(): Disk read failed. loop0: p2 < > loop0: partition table partially beyond EOD, truncated netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 72 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 72 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. Dev loop1: unable to read RDB block 1 loop1: unable to read partition table loop1: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop1 () failed (rc=-5) ldm_validate_privheads(): Disk read failed. loop0: p2 < > loop0: partition table partially beyond EOD, truncated Dev loop1: unable to read RDB block 1 loop1: unable to read partition table loop1: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop1 () failed (rc=-5) Dev loop1: unable to read RDB block 1 loop1: unable to read partition table loop1: partition table beyond EOD, truncated netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. Dev loop1: unable to read RDB block 1 loop1: unable to read partition table loop1: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop1 () failed (rc=-5) netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. Dev loop1: unable to read RDB block 1 loop1: unable to read partition table netlink: 72 bytes leftover after parsing attributes in process `syz-executor.0'. loop1: partition table beyond EOD, truncated netlink: 72 bytes leftover after parsing attributes in process `syz-executor.4'. loop_reread_partitions: partition scan of loop1 () failed (rc=-5) netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. ldm_validate_privheads(): Disk read failed. loop0: p2 < > loop0: partition table partially beyond EOD, truncated netlink: 72 bytes leftover after parsing attributes in process `syz-executor.0'. Dev loop1: unable to read RDB block 1 loop1: unable to read partition table loop1: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop1 () failed (rc=-5) overlayfs: fs on 'file0' does not support file handles, falling back to index=off. ldm_validate_privheads(): Disk read failed. audit: type=1804 audit(1620380858.980:19317): pid=31480 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.0" name="/root/syzkaller-testdir164274317/syzkaller.8SSbLa/379/cgroup.controllers" dev="sda1" ino=15194 res=1 loop0: p2 < > loop0: partition table partially beyond EOD, truncated audit: type=1804 audit(1620380859.480:19318): pid=31533 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.0" name="/root/syzkaller-testdir164274317/syzkaller.8SSbLa/380/cgroup.controllers" dev="sda1" ino=15191 res=1 f2fs_msg: 40 callbacks suppressed F2FS-fs (loop1): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop1): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop1): invalid crc value ldm_validate_privheads(): Disk read failed. loop0: p2 < > loop0: partition table partially beyond EOD, truncated audit: type=1804 audit(1620380860.050:19319): pid=31596 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.0" name="/root/syzkaller-testdir164274317/syzkaller.8SSbLa/381/cgroup.controllers" dev="sda1" ino=14589 res=1 F2FS-fs (loop1): Try to recover 2th superblock, ret: 0 F2FS-fs (loop1): Mounted with checkpoint version = 753bd00b ldm_validate_privheads(): Disk read failed. loop0: p2 < > F2FS-fs (loop1): Magic Mismatch, valid(0xf2f52010) - read(0x0) loop0: partition table partially beyond EOD, F2FS-fs (loop3): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop3): Can't find valid F2FS filesystem in 2th superblock audit: type=1804 audit(1620380860.770:19320): pid=31664 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.0" name="/root/syzkaller-testdir164274317/syzkaller.8SSbLa/382/cgroup.controllers" dev="sda1" ino=14598 res=1 truncated F2FS-fs (loop1): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop3): invalid crc value ldm_validate_privheads(): Disk read failed. loop0: p2 < > loop0: partition table partially beyond EOD, truncated ********************************************************** ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** ** ** ** trace_printk() being used. Allocating extra memory. ** ** ** ** This means that this is a DEBUG kernel and it is ** ** unsafe for production use. ** ** ** ** If you see this message and you are not debugging ** ** the kernel, report this immediately to your vendor! ** ** ** ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** ********************************************************** ldm_validate_privheads(): Disk read failed. loop0: p2 < > loop0: partition table partially beyond EOD, truncated ldm_validate_privheads(): Disk read failed. loop0: p2 < > loop0: partition table partially beyond EOD, truncated ldm_validate_privheads(): Disk read failed. loop0: p2 < > loop0: partition table partially beyond EOD, truncated usb usb1: usbfs: interface 0 claimed by hub while 'syz-executor.5' sets config #0 ldm_validate_privheads(): Disk read failed. usb usb1: usbfs: interface 0 claimed by hub while 'syz-executor.5' sets config #0 loop0: p2 < > loop0: partition table partially beyond EOD, truncated usb usb1: usbfs: interface 0 claimed by hub while 'syz-executor.5' sets config #0 usb usb1: usbfs: interface 0 claimed by hub while 'syz-executor.5' sets config #0 binder: 31931:31933 unknown command 0 binder: 31931:31933 ioctl c0306201 20000200 returned -22 binder: 31931:31938 unknown command 0 binder: 31931:31938 ioctl c0306201 20000200 returned -22 ldm_validate_privheads(): Disk read failed. loop0: p2 < > binder: 31948:31952 unknown command 0 loop0: partition table partially beyond EOD, truncated binder: 31948:31952 ioctl c0306201 20000200 returned -22 binder: 31964:31967 unknown command 0 binder: 31964:31967 ioctl c0306201 20000200 returned -22 ldm_validate_privheads(): Disk read failed. loop0: p2 < > binder: 31987:31991 unknown command 0 loop0: partition table partially beyond EOD, truncated binder: 31987:31991 ioctl c0306201 20000200 returned -22 ldm_validate_privheads(): Disk read failed. loop0: p2 < >