================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / lru_cache_add write to 0xffff888237c22528 of 1 bytes by task 3291 on cpu 0: pagevec_add include/linux/pagevec.h:74 [inline] pagevec_add_and_need_flush mm/swap.c:222 [inline] lru_cache_add+0x75/0x150 mm/swap.c:452 add_to_page_cache_lru+0x150/0x1b0 mm/filemap.c:1000 page_cache_ra_unbounded+0x274/0x430 mm/readahead.c:222 do_page_cache_ra mm/readahead.c:269 [inline] force_page_cache_ra+0x256/0x290 mm/readahead.c:301 page_cache_sync_ra+0xcc/0xe0 mm/readahead.c:575 page_cache_sync_readahead include/linux/pagemap.h:883 [inline] filemap_get_pages mm/filemap.c:2545 [inline] filemap_read+0x3ad/0x1220 mm/filemap.c:2628 generic_file_read_iter+0x75/0x2c0 mm/filemap.c:2779 blkdev_read_iter+0xb9/0xf0 block/fops.c:544 call_read_iter include/linux/fs.h:2157 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0x66c/0x750 fs/read_write.c:485 ksys_read+0xd9/0x190 fs/read_write.c:623 __do_sys_read fs/read_write.c:633 [inline] __se_sys_read fs/read_write.c:631 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888237c22528 of 1 bytes by task 3168 on cpu 1: pagevec_count include/linux/pagevec.h:61 [inline] __lru_add_drain_all+0x12c/0x3e0 mm/swap.c:806 lru_add_drain_all+0xc/0x10 mm/swap.c:828 invalidate_bdev+0x56/0x80 block/bdev.c:87 __loop_clr_fd+0x521/0x850 drivers/block/loop.c:1399 loop_clr_fd drivers/block/loop.c:1494 [inline] lo_ioctl+0xac5/0x13e0 drivers/block/loop.c:1850 blkdev_ioctl+0x1d0/0x3f0 block/ioctl.c:589 block_ioctl+0x6e/0x80 block/fops.c:477 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:860 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0b -> 0x0c Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3168 Comm: syz-executor.4 Not tainted 5.15.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== loop4: detected capacity change from 0 to 264192 EXT4-fs (loop4): Invalid log cluster size: 131072