EXT4-fs (loop1): failed to open journal device unknown-block(0,0) -6 ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_batch_move_lru write to 0xffff888237c29b88 of 1 bytes by task 10256 on cpu 0: folio_batch_reinit include/linux/pagevec.h:48 [inline] folio_batch_move_lru+0x2bf/0x2f0 mm/swap.c:225 folio_activate_drain mm/swap.c:349 [inline] lru_add_drain_cpu+0x23b/0x270 mm/swap.c:677 lru_add_drain mm/swap.c:752 [inline] __folio_batch_release+0x5f/0xe0 mm/swap.c:1059 folio_batch_release include/linux/pagevec.h:83 [inline] shmem_undo_range+0x336/0x9a0 mm/shmem.c:1022 shmem_truncate_range mm/shmem.c:1114 [inline] shmem_evict_inode+0x153/0x530 mm/shmem.c:1243 evict+0x1aa/0x410 fs/inode.c:664 iput_final fs/inode.c:1775 [inline] iput+0x42c/0x5b0 fs/inode.c:1801 dentry_unlink_inode+0x22a/0x240 fs/dcache.c:401 __dentry_kill+0x2db/0x4a0 fs/dcache.c:607 dentry_kill+0x8d/0x1e0 dput+0x118/0x1f0 fs/dcache.c:913 do_renameat2+0x6f7/0xa20 fs/namei.c:5014 __do_sys_rename fs/namei.c:5058 [inline] __se_sys_rename fs/namei.c:5056 [inline] __x64_sys_rename+0x5c/0x70 fs/namei.c:5056 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888237c29b88 of 1 bytes by task 17894 on cpu 1: folio_batch_count include/linux/pagevec.h:53 [inline] cpu_needs_drain mm/swap.c:800 [inline] __lru_add_drain_all+0x21d/0x420 mm/swap.c:889 lru_add_drain_all+0x10/0x20 mm/swap.c:905 invalidate_bdev+0x54/0x70 block/bdev.c:86 __ext4_fill_super fs/ext4/super.c:5678 [inline] ext4_fill_super+0x16ef/0x3940 fs/ext4/super.c:5703 get_tree_bdev+0x272/0x300 fs/super.c:1577 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x51/0x1b0 fs/super.c:1750 do_new_mount+0x203/0x660 fs/namespace.c:3335 path_mount+0x496/0xb30 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3861 __x64_sys_mount+0x67/0x80 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x01 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 17894 Comm: syz-executor.1 Not tainted 6.6.0-rc5-syzkaller-00157-ge8c127b05766 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 ================================================================== loop1: detected capacity change from 0 to 512