==================================================================
BUG: KCSAN: data-race in __filemap_add_folio / invalidate_bdev
read-write to 0xffff888101fb2c48 of 8 bytes by task 1915 on cpu 1:
__filemap_add_folio+0x4e9/0x990 mm/filemap.c:898
filemap_add_folio+0x6b/0x150 mm/filemap.c:933
page_cache_ra_unbounded+0x19e/0x2e0 mm/readahead.c:245
do_page_cache_ra mm/readahead.c:293 [inline]
force_page_cache_ra+0x1c6/0x200 mm/readahead.c:324
page_cache_sync_ra+0xc8/0xf0 mm/readahead.c:695
page_cache_sync_readahead include/linux/pagemap.h:1215 [inline]
filemap_get_pages mm/filemap.c:2566 [inline]
filemap_read+0x3ef/0x1430 mm/filemap.c:2660
blkdev_read_iter+0x2c6/0x370 block/fops.c:598
call_read_iter include/linux/fs.h:2181 [inline]
new_sync_read fs/read_write.c:389 [inline]
vfs_read+0x3a5/0x560 fs/read_write.c:470
ksys_read+0xe8/0x1a0 fs/read_write.c:607
__do_sys_read fs/read_write.c:617 [inline]
__se_sys_read fs/read_write.c:615 [inline]
__x64_sys_read+0x3e/0x50 fs/read_write.c:615
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
read to 0xffff888101fb2c48 of 8 bytes by task 1829 on cpu 0:
invalidate_bdev+0x31/0x80 block/bdev.c:83
ext4_put_super+0x510/0x810 fs/ext4/super.c:1279
generic_shutdown_super+0xd5/0x240 fs/super.c:491
kill_block_super+0x4a/0x90 fs/super.c:1427
deactivate_locked_super+0x6a/0xb0 fs/super.c:332
deactivate_super+0x85/0x90 fs/super.c:363
cleanup_mnt+0x2b6/0x320 fs/namespace.c:1186
__cleanup_mnt+0x15/0x20 fs/namespace.c:1193
task_work_run+0x8e/0x110 kernel/task_work.c:177
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0x124/0x130 kernel/entry/common.c:169
exit_to_user_mode_prepare kernel/entry/common.c:201 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294
do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
value changed: 0x0000000000000015 -> 0x0000000000000016
Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1829 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-00029-g3800a713b607-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
==================================================================
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.
EXT4-fs (loop3): unmounting filesystem.