EXT4-fs (loop3): Invalid log block size: 10289664 ================================================================== BUG: KCSAN: data-race in lru_add_drain_all / lru_cache_add write to 0xffff888237d264a8 of 1 bytes by task 19844 on cpu 1: pagevec_add include/linux/pagevec.h:74 [inline] lru_cache_add+0x74/0x130 mm/swap.c:461 shmem_getpage_gfp+0xcf8/0x1410 mm/shmem.c:1934 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0x7e/0x100 mm/shmem.c:2530 generic_perform_write+0x196/0x3a0 mm/filemap.c:3676 __generic_file_write_iter+0x161/0x300 mm/filemap.c:3805 generic_file_write_iter+0x75/0x130 mm/filemap.c:3837 call_write_iter include/linux/fs.h:2116 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x69d/0x770 fs/read_write.c:605 ksys_write+0xce/0x180 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write fs/read_write.c:667 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:667 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888237d264a8 of 1 bytes by task 20310 on cpu 0: pagevec_count include/linux/pagevec.h:61 [inline] lru_add_drain_all+0x108/0x3b0 mm/swap.c:813 invalidate_bdev+0x50/0x70 fs/block_dev.c:96 __loop_clr_fd+0x2e2/0x650 drivers/block/loop.c:1241 loop_clr_fd drivers/block/loop.c:1336 [inline] lo_ioctl+0x9eb/0x11f0 drivers/block/loop.c:1694 blkdev_ioctl+0x1d0/0x3c0 block/ioctl.c:585 block_ioctl+0x6d/0x80 fs/block_dev.c:1664 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:1055 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:1055 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 20310 Comm: syz-executor.3 Tainted: G W 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================