EXT4-fs error (device loop1): ext4_xattr_block_get:596: inode #2: comm syz.1.2597: corrupted xattr block 255: invalid header EXT4-fs (loop1): Cannot turn on journaled quota: type 1: error -117 EXT4-fs error (device loop1): ext4_xattr_block_get:596: inode #2: comm syz.1.2597: corrupted xattr block 255: invalid header SELinux: (dev loop1, type ext4) getxattr errno 117 ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_add_lru read-write to 0xffff888237c2ac68 of 1 bytes by task 9319 on cpu 0: folio_batch_add include/linux/pagevec.h:77 [inline] __folio_batch_add_and_move mm/swap.c:225 [inline] folio_add_lru+0xa3/0x1f0 mm/swap.c:513 shmem_alloc_and_add_folio mm/shmem.c:1869 [inline] shmem_get_folio_gfp+0x7d6/0xd90 mm/shmem.c:2332 shmem_fault+0xfa/0x250 mm/shmem.c:2533 __do_fault+0xb6/0x200 mm/memory.c:4882 do_read_fault mm/memory.c:5297 [inline] do_fault mm/memory.c:5431 [inline] do_pte_missing mm/memory.c:3965 [inline] handle_pte_fault mm/memory.c:5766 [inline] __handle_mm_fault mm/memory.c:5909 [inline] handle_mm_fault+0xe7f/0x2aa0 mm/memory.c:6077 faultin_page mm/gup.c:1187 [inline] __get_user_pages+0xf2c/0x2670 mm/gup.c:1485 populate_vma_page_range mm/gup.c:1923 [inline] __mm_populate+0x25b/0x3b0 mm/gup.c:2026 mm_populate include/linux/mm.h:3371 [inline] vm_mmap_pgoff+0x1d6/0x290 mm/util.c:593 ksys_mmap_pgoff+0xd0/0x330 mm/mmap.c:542 x64_sys_call+0x1884/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:10 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 0xffff888237c2ac68 of 1 bytes by task 9327 on cpu 1: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:772 [inline] __lru_add_drain_all+0x136/0x3f0 mm/swap.c:866 lru_add_drain_all+0x10/0x20 mm/swap.c:882 invalidate_bdev+0x47/0x70 block/bdev.c:101 ext4_put_super+0x571/0x840 fs/ext4/super.c:1349 generic_shutdown_super+0xe5/0x220 fs/super.c:642 kill_block_super+0x2a/0x70 fs/super.c:1710 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7320 deactivate_locked_super+0x7d/0x1c0 fs/super.c:473 fc_drop_locked+0x50/0x60 fs/fs_context.c:379 vfs_get_tree+0x160/0x1e0 fs/super.c:1841 do_new_mount+0x227/0x690 fs/namespace.c:3507 path_mount+0x49b/0xb30 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x27c/0x2d0 fs/namespace.c:4034 __x64_sys_mount+0x67/0x80 fs/namespace.c:4034 x64_sys_call+0x203e/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:166 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: 0x14 -> 0x18 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 9327 Comm: syz.1.2597 Not tainted 6.12.0-rc7-syzkaller-00187-gf868cd251776 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================