================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / lru_cache_add write to 0xffff888237d42528 of 1 bytes by task 4878 on cpu 1: pagevec_add include/linux/pagevec.h:74 [inline] pagevec_add_and_need_flush mm/swap.c:244 [inline] lru_cache_add+0x75/0x150 mm/swap.c:474 add_to_page_cache_lru+0x150/0x1b0 mm/filemap.c:985 pagecache_get_page+0x6a3/0x900 mm/filemap.c:1936 grab_cache_page_write_begin+0x3f/0x70 mm/filemap.c:3709 ext4_da_write_begin+0x2f9/0x7f0 fs/ext4/inode.c:2984 generic_perform_write+0x1a6/0x3d0 mm/filemap.c:3755 ext4_buffered_write_iter+0x2f2/0x3f0 fs/ext4/file.c:269 ext4_file_write_iter+0x2e7/0x11a0 fs/ext4/file.c:519 call_write_iter include/linux/fs.h:2155 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x77b/0x8c0 fs/read_write.c:594 ksys_write+0xce/0x180 fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:656 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888237d42528 of 1 bytes by task 1777 on cpu 0: pagevec_count include/linux/pagevec.h:61 [inline] __lru_add_drain_all+0x12c/0x3e0 mm/swap.c:828 lru_add_drain_all+0xc/0x10 mm/swap.c:850 invalidate_bdev+0x56/0x80 fs/block_dev.c:96 ext4_put_super+0x5d0/0x8c0 fs/ext4/super.c:1238 generic_shutdown_super+0xe1/0x230 fs/super.c:465 kill_block_super+0x4a/0x90 fs/super.c:1395 deactivate_locked_super+0x65/0xd0 fs/super.c:335 deactivate_super+0x85/0x90 fs/super.c:366 cleanup_mnt+0x267/0x2d0 fs/namespace.c:1136 __cleanup_mnt+0x15/0x20 fs/namespace.c:1143 task_work_run+0xae/0x130 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+0x156/0x190 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 do_syscall_64+0x49/0x90 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0e -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1777 Comm: syz-executor.3 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================