XFS (loop2): metadata I/O error: block 0x1 ("xfs_trans_read_buf_map") error 117 numblks 1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 ===================================== batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! WARNING: bad unlock balance detected! 4.14.302-syzkaller #0 Not tainted ------------------------------------- syz-executor.2/9464 is trying to release lock (&xfs_nondir_ilock_class) at: [] mrunlock_excl fs/xfs/mrlock.h:74 [inline] [] xfs_iunlock+0x29f/0x3b0 fs/xfs/xfs_inode.c:327 but there are no more locks to release! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 other info that might help us debug this: batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! 2 locks held by syz-executor.2/9464: batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 #0: batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! (&type->s_umount_key#47/1){+.+.}, at: [] alloc_super fs/super.c:251 [inline] (&type->s_umount_key#47/1){+.+.}, at: [] sget_userns+0x556/0xc10 fs/super.c:516 #1: batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 ( batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! sb_internal#2){.+.+}, at: [] sb_start_intwrite include/linux/fs.h:1598 [inline] sb_internal#2){.+.+}, at: [] xfs_trans_alloc+0x259/0x320 fs/xfs/xfs_trans.c:242 stack backtrace: CPU: 1 PID: 9464 Comm: syz-executor.2 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_unlock_imbalance_bug include/trace/events/lock.h:58 [inline] __lock_release kernel/locking/lockdep.c:3769 [inline] lock_release.cold+0x70/0xbf kernel/locking/lockdep.c:4017 up_write+0x17/0x60 kernel/locking/rwsem.c:115 mrunlock_excl fs/xfs/mrlock.h:74 [inline] xfs_iunlock+0x29f/0x3b0 fs/xfs/xfs_inode.c:327 xfs_inode_item_unlock+0x83/0xa0 fs/xfs/xfs_inode_item.c:613 xfs_trans_free_items+0x172/0x230 fs/xfs/xfs_trans.c:768 xfs_trans_cancel+0x1ae/0x250 fs/xfs/xfs_trans.c:1025 xfs_qm_dqread+0x9c2/0xe50 fs/xfs/xfs_dquot.c:684 xfs_qm_dqget+0x4f4/0x19a0 fs/xfs/xfs_dquot.c:837 batman_adv: batadv0: Interface activated: batadv_slave_1 xfs_qm_quotacheck_dqadjust+0x96/0x5c0 fs/xfs/xfs_qm.c:1077 xfs_qm_dqusage_adjust+0x6f4/0xc20 fs/xfs/xfs_qm.c:1199 xfs_bulkstat_ag_ichunk fs/xfs/xfs_itable.c:313 [inline] xfs_bulkstat+0x72a/0xf60 fs/xfs/xfs_itable.c:498 xfs_qm_quotacheck+0x223/0x790 fs/xfs/xfs_qm.c:1338 xfs_qm_mount_quotas+0xe9/0x570 fs/xfs/xfs_qm.c:1457 xfs_mountfs+0x18be/0x1f40 fs/xfs/xfs_mount.c:979 xfs_fs_fill_super+0xb7a/0x1380 fs/xfs/xfs_super.c:1688 mount_bdev+0x2b3/0x360 fs/super.c:1134 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:2572 [inline] do_mount+0xe65/0x2a30 fs/namespace.c:2905 SYSC_mount fs/namespace.c:3121 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3098 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fd9c27295da RSP: 002b:00007fd9c0c99f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000bb5d RCX: 00007fd9c27295da RDX: 000000002000bb00 RSI: 000000002000bb40 RDI: 00007fd9c0c99fe0 RBP: 00007fd9c0c9a020 R08: 00007fd9c0c9a020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000002000bb00 R13: 000000002000bb40 R14: 00007fd9c0c99fe0 R15: 0000000020000100 IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready XFS (loop2): Quotacheck: Unsuccessful (Error -117): Disabling quotas. IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready syz-executor.2 (9464) used greatest stack depth: 24576 bytes left IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready XFS (loop2): Unmounting Filesystem audit: type=1800 audit(1672468424.121:5): pid=9542 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.3" name="file0" dev="sda1" ino=13895 res=0 audit: type=1804 audit(1672468425.112:6): pid=9585 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.3" name="/root/syzkaller-testdir3991181282/syzkaller.oAoHty/5/file0" dev="sda1" ino=13904 res=1 audit: type=1800 audit(1672468425.252:7): pid=9628 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="file0" dev="sda1" ino=13908 res=0 audit: type=1804 audit(1672468425.332:8): pid=9629 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.0" name="/root/syzkaller-testdir872407068/syzkaller.AQXxBX/3/file0" dev="sda1" ino=13908 res=1 audit: type=1804 audit(1672468425.462:9): pid=9626 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.0" name="/root/syzkaller-testdir872407068/syzkaller.AQXxBX/3/file0" dev="sda1" ino=13908 res=1 audit: type=1800 audit(1672468425.612:10): pid=9632 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.5" name="file0" dev="sda1" ino=13900 res=0 audit: type=1804 audit(1672468425.802:11): pid=9631 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.5" name="/root/syzkaller-testdir3705166680/syzkaller.IwpFBa/3/file0" dev="sda1" ino=13900 res=1