EXT4-fs error (device loop3): ext4_xattr_ibody_find:2234: inode #15: comm syz-executor: corrupted in-inode xattr: ea_inode specified without ea_inode feature enabled EXT4-fs (loop3): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in munlock_folio / need_mlock_drain read-write to 0xffff888237d2b410 of 1 bytes by task 6099 on cpu 1: folio_batch_add include/linux/pagevec.h:77 [inline] munlock_folio+0x42/0x130 mm/mlock.c:301 munlock_vma_folio mm/internal.h:879 [inline] __folio_remove_rmap mm/rmap.c:1578 [inline] folio_remove_rmap_ptes+0x220/0x230 mm/rmap.c:1595 zap_present_folio_ptes mm/memory.c:1505 [inline] zap_present_ptes mm/memory.c:1564 [inline] zap_pte_range mm/memory.c:1606 [inline] zap_pmd_range mm/memory.c:1724 [inline] zap_pud_range mm/memory.c:1753 [inline] zap_p4d_range mm/memory.c:1774 [inline] unmap_page_range+0xfea/0x21f0 mm/memory.c:1795 unmap_single_vma+0x142/0x1d0 mm/memory.c:1841 unmap_vmas+0x18d/0x2b0 mm/memory.c:1885 unmap_region+0x144/0x230 mm/mmap.c:2365 do_vmi_align_munmap+0x6df/0xa60 mm/mmap.c:2683 do_vmi_munmap+0x1fb/0x250 mm/mmap.c:2759 do_munmap+0x7a/0xb0 mm/mmap.c:2775 mremap_to mm/mremap.c:924 [inline] __do_sys_mremap mm/mremap.c:1076 [inline] __se_sys_mremap+0xabc/0xf20 mm/mremap.c:993 __x64_sys_mremap+0x67/0x80 mm/mremap.c:993 x64_sys_call+0x1029/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:26 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237d2b410 of 1 bytes by task 5387 on cpu 0: folio_batch_count include/linux/pagevec.h:56 [inline] need_mlock_drain+0x30/0x50 mm/mlock.c:235 cpu_needs_drain mm/swap.c:806 [inline] __lru_add_drain_all+0x235/0x410 mm/swap.c:894 lru_add_drain_all+0x10/0x20 mm/swap.c:910 invalidate_bdev+0x47/0x70 block/bdev.c:100 ext4_put_super+0x51b/0x7e0 fs/ext4/super.c:1345 generic_shutdown_super+0xde/0x210 fs/super.c:642 kill_block_super+0x2a/0x70 fs/super.c:1685 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7301 deactivate_locked_super+0x7d/0x1c0 fs/super.c:473 deactivate_super+0x9f/0xb0 fs/super.c:506 cleanup_mnt+0x268/0x2e0 fs/namespace.c:1267 __cleanup_mnt+0x19/0x20 fs/namespace.c:1274 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x5d5/0x1710 kernel/exit.c:876 do_group_exit+0x142/0x150 kernel/exit.c:1025 __do_sys_exit_group kernel/exit.c:1036 [inline] __se_sys_exit_group kernel/exit.c:1034 [inline] __x64_sys_exit_group+0x1f/0x20 kernel/exit.c:1034 x64_sys_call+0x27f9/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x01 -> 0x1f Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5387 Comm: syz-executor Not tainted 6.10.0-rc7-syzkaller-00141-g43db1e03c086 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 ==================================================================