Invalid logical block size (1) ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_add_lru read-write to 0xffff888237d2ac68 of 1 bytes by task 8614 on cpu 1: folio_batch_add include/linux/pagevec.h:77 [inline] __folio_batch_add_and_move mm/swap.c:239 [inline] folio_add_lru+0xa3/0x1f0 mm/swap.c:527 filemap_add_folio+0x12c/0x1b0 mm/filemap.c:988 page_cache_ra_unbounded+0x175/0x310 mm/readahead.c:268 page_cache_sync_ra+0x652/0x670 page_cache_sync_readahead include/linux/pagemap.h:1394 [inline] filemap_get_pages+0x2c1/0x10e0 mm/filemap.c:2547 filemap_splice_read+0x358/0x910 mm/filemap.c:2921 do_splice_read fs/splice.c:985 [inline] splice_direct_to_actor+0x269/0x670 fs/splice.c:1089 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0xd7/0x150 fs/splice.c:1233 do_sendfile+0x39b/0x970 fs/read_write.c:1388 __do_sys_sendfile64 fs/read_write.c:1455 [inline] __se_sys_sendfile64 fs/read_write.c:1441 [inline] __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1441 x64_sys_call+0xed5/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:41 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 0xffff888237d2ac68 of 1 bytes by task 8619 on cpu 0: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:786 [inline] __lru_add_drain_all+0x136/0x3f0 mm/swap.c:880 lru_add_drain_all+0x10/0x20 mm/swap.c:896 invalidate_bdev+0x47/0x70 block/bdev.c:101 loop_set_status+0x114/0x540 drivers/block/loop.c:1264 lo_ioctl+0x7f1/0x11c0 blkdev_ioctl+0x359/0x450 block/ioctl.c:693 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xcd/0x140 fs/ioctl.c:893 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:893 x64_sys_call+0x15cc/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:17 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: 0x00 -> 0x06 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 8619 Comm: syz.0.1785 Not tainted 6.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================