================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / __pagevec_lru_add write to 0xffff888237c277c8 of 1 bytes by task 13731 on cpu 0: pagevec_reinit include/linux/pagevec.h:56 [inline] __pagevec_lru_add+0x243/0x270 mm/swap.c:1076 folio_add_lru+0x11a/0x160 mm/swap.c:469 filemap_add_folio+0xf8/0x150 mm/filemap.c:1014 __filemap_get_folio+0x4c4/0x690 mm/filemap.c:1962 pagecache_get_page+0x26/0xe0 mm/folio-compat.c:125 grab_cache_page_write_begin+0x3f/0x50 mm/folio-compat.c:139 ext4_da_write_begin+0x323/0x590 fs/ext4/inode.c:2958 generic_perform_write+0x1c8/0x400 mm/filemap.c:3754 ext4_buffered_write_iter+0x25b/0x380 fs/ext4/file.c:269 ext4_file_write_iter+0x2e7/0x1200 call_write_iter include/linux/fs.h:2162 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0x7f5/0x950 fs/read_write.c:590 ksys_write+0xd9/0x190 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888237c277c8 of 1 bytes by task 1819 on cpu 1: pagevec_count include/linux/pagevec.h:61 [inline] __lru_add_drain_all+0x12c/0x3e0 mm/swap.c:835 lru_add_drain_all+0xc/0x10 mm/swap.c:857 invalidate_bdev+0x56/0x80 block/bdev.c:88 ext4_put_super+0x620/0x910 fs/ext4/super.c:1247 generic_shutdown_super+0xdf/0x250 fs/super.c:465 kill_block_super+0x4a/0x90 fs/super.c:1397 deactivate_locked_super+0x6a/0xb0 fs/super.c:335 deactivate_super+0x85/0x90 fs/super.c:366 cleanup_mnt+0x267/0x2d0 fs/namespace.c:1137 __cleanup_mnt+0x15/0x20 fs/namespace.c:1144 task_work_run+0x8e/0x110 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x160/0x190 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0f -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1819 Comm: syz-executor.2 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================