BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 16290 Comm: syz-executor.5 Not tainted 4.14.231-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 perf_ctx_lock kernel/events/core.c:161 [inline] perf_event_context_sched_in kernel/events/core.c:3266 [inline] __perf_event_task_sched_in+0x42c/0x8c0 kernel/events/core.c:3324 perf_event_task_sched_in include/linux/perf_event.h:1087 [inline] finish_task_switch+0x3c9/0x610 kernel/sched/core.c:2664 context_switch kernel/sched/core.c:2811 [inline] __schedule+0x893/0x1de0 kernel/sched/core.c:3384 preempt_schedule_notrace+0x92/0x110 kernel/sched/core.c:3582 ___preempt_schedule_notrace+0x16/0x34 rcu_is_watching+0x87/0xb0 kernel/rcu/tree.c:1131 rcu_read_lock include/linux/rcupdate.h:630 [inline] guard_bio_eod+0x299/0x520 fs/buffer.c:3056 submit_bh_wbc+0x4a5/0x6f0 fs/buffer.c:3139 submit_bh fs/buffer.c:3153 [inline] __bread_slow fs/buffer.c:1238 [inline] __bread_gfp+0x11c/0x2e0 fs/buffer.c:1431 sb_bread include/linux/buffer_head.h:309 [inline] romfs_blk_read fs/romfs/storage.c:118 [inline] romfs_dev_read+0x21f/0x310 fs/romfs/storage.c:233 romfs_fill_super+0x23c/0x6f0 fs/romfs/super.c:519 mount_bdev+0x2b3/0x360 fs/super.c:1134 romfs_mount fs/romfs/super.c:587 [inline] romfs_mount+0x6a/0x70 fs/romfs/super.c:576 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0xe53/0x2a00 fs/namespace.c:2879 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3072 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x467b1a RSP: 002b:00007f072517cfa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000180 RCX: 0000000000467b1a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f072517d000 RBP: 00007f072517d040 R08: 00007f072517d040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f072517d000 R15: 0000000020000900 romfs: Mounting image 'rom 5f663c08' through the block layer MTD: Attempt to mount non-MTD device "/dev/loop5" MTD: Attempt to mount non-MTD device "/dev/loop4" romfs: Mounting image 'rom 5f663c08' through the block layer romfs: Mounting image 'rom 5f663c08' through the block layer MTD: Attempt to mount non-MTD device "/dev/loop5" MTD: Attempt to mount non-MTD device "/dev/loop4" romfs: Mounting image 'rom 5f663c08' through the block layer romfs: Mounting image 'rom 5f663c08' through the block layer MTD: Attempt to mount non-MTD device "/dev/loop4" romfs: Mounting image 'rom 5f663c08' through the block layer kauditd_printk_skb: 29 callbacks suppressed audit: type=1800 audit(1619344805.927:378): pid=16505 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.4" name="bus" dev="sda1" ino=14386 res=0 audit: type=1800 audit(1619344806.597:379): pid=16506 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.4" name="bus" dev="sda1" ino=14386 res=0 audit: type=1800 audit(1619344806.867:380): pid=16555 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.4" name="bus" dev="sda1" ino=14547 res=0 audit: type=1800 audit(1619344810.187:381): pid=16610 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.4" name="bus" dev="sda1" ino=14506 res=0 audit: type=1800 audit(1619344811.167:382): pid=16644 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.4" name="bus" dev="sda1" ino=14537 res=0 audit: type=1326 audit(1619344816.557:383): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=16757 comm="syz-executor.2" exe="/root/syz-executor.2" sig=9 arch=c000003e syscall=231 compat=0 ip=0x4665f9 code=0x0 audit: type=1326 audit(1619344817.397:384): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=16757 comm="syz-executor.2" exe="/root/syz-executor.2" sig=9 arch=c000003e syscall=231 compat=0 ip=0x4665f9 code=0x0