BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 26174 Comm: syz-executor.1 Not tainted 4.14.227-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:163 [inline] perf_event_context_sched_in kernel/events/core.c:3266 [inline] __perf_event_task_sched_in+0x43d/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_irq+0xb0/0x140 kernel/sched/core.c:3611 retint_kernel+0x1b/0x2d RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] RIP: 0010:lock_acquire+0x1ec/0x3f0 kernel/locking/lockdep.c:4001 RSP: 0018:ffff88806215fce0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff11e1259 RBX: ffff88809dc34100 RCX: ffff88806215fbe8 RDX: dffffc0000000000 RSI: ffffffff8bd43860 RDI: 0000000000000286 RBP: ffff888041708318 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000002 R11: ffff88809dc34100 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 down_write+0x34/0x90 kernel/locking/rwsem.c:54 i_mmap_lock_write include/linux/fs.h:473 [inline] hugetlb_vmtruncate fs/hugetlbfs/inode.c:513 [inline] hugetlbfs_setattr+0x257/0x3b0 fs/hugetlbfs/inode.c:686 notify_change+0x56b/0xd10 fs/attr.c:313 do_truncate+0xff/0x1a0 fs/open.c:63 do_sys_ftruncate.constprop.0+0x3a3/0x480 fs/open.c:205 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x466459 RSP: 002b:00007f816f33b188 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 RDX: 0000000000000000 RSI: 0000000001000000 RDI: 0000000000000005 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffda26f0a6f R14: 00007f816f33b300 R15: 0000000000022000 netlink: 32 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. FAT-fs (loop2): count of clusters too big (3211518) FAT-fs (loop2): Can't find a valid FAT filesystem tmpfs: Bad value 'bind=relative:' for mount option 'mpol' tmpfs: Bad value 'bind=relative:' for mount option 'mpol' tmpfs: Bad value 'bind=relative:' for mount option 'mpol' tmpfs: Bad value 'bind=relative:' for mount option 'mpol' tmpfs: Bad value 'bind=relative:' for mount option 'mpol' libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff] PM: Basic memory bitmaps created PM: Basic memory bitmaps freed ceph: No mds server is up or the cluster is laggy PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff] PM: Basic memory bitmaps created PM: Basic memory bitmaps freed libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff] PM: Basic memory bitmaps created ceph: No mds server is up or the cluster is laggy ceph: No mds server is up or the cluster is laggy ceph: No mds server is up or the cluster is laggy libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error PM: Basic memory bitmaps freed ceph: No mds server is up or the cluster is laggy ceph: No mds server is up or the cluster is laggy ceph: No mds server is up or the cluster is laggy libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff] PM: Basic memory bitmaps created ceph: No mds server is up or the cluster is laggy ceph: No mds server is up or the cluster is laggy PM: Basic memory bitmaps freed PM: Marking nosave pages: [mem 0x00000000-0x00000fff] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff] libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error PM: Basic memory bitmaps created PM: Basic memory bitmaps freed ceph: No mds server is up or the cluster is laggy FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) batman_adv: Cannot find parent device FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) audit: type=1326 audit(1616665779.143:817): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=26722 comm="syz-executor.3" exe="/root/syz-executor.3" sig=9 arch=c000003e syscall=231 compat=0 ip=0x466459 code=0x0 batman_adv: Cannot find parent device audit: type=1800 audit(1616665779.243:818): pid=26730 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="bus" dev="sda1" ino=15216 res=0 audit: type=1400 audit(1616665779.253:819): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="/dev/raw/rawctl" pid=26738 comm="syz-executor.0" batman_adv: Cannot find parent device audit: type=1800 audit(1616665779.293:820): pid=26730 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="bus" dev="sda1" ino=15216 res=0 audit: type=1400 audit(1616665779.393:821): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="/dev/raw/rawctl" pid=26753 comm="syz-executor.0" audit: type=1800 audit(1616665779.463:822): pid=26757 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="bus" dev="sda1" ino=15191 res=0 audit: type=1400 audit(1616665779.503:823): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="/dev/raw/rawctl" pid=26762 comm="syz-executor.0" audit: type=1800 audit(1616665779.633:824): pid=26770 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="bus" dev="sda1" ino=15198 res=0 audit: type=1326 audit(1616665779.953:825): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=26722 comm="syz-executor.3" exe="/root/syz-executor.3" sig=9 arch=c000003e syscall=231 compat=0 ip=0x466459 code=0x0 audit: type=1326 audit(1616665780.043:826): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=26790 comm="syz-executor.3" exe="/root/syz-executor.3" sig=9 arch=c000003e syscall=231 compat=0 ip=0x466459 code=0x0 batman_adv: Cannot find parent device netlink: 40 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 40 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 40 bytes leftover after parsing attributes in process `syz-executor.5'.