================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / __pagevec_lru_add write to 0xffff888237c27968 of 1 bytes by task 7550 on cpu 0: pagevec_reinit include/linux/pagevec.h:57 [inline] __pagevec_lru_add+0x2f5/0x320 mm/swap.c:1065 folio_add_lru+0x112/0x160 mm/swap.c:467 lru_cache_add+0x3b/0xe0 mm/folio-compat.c:109 lru_cache_add_inactive_or_unevictable+0x44/0x60 mm/swap.c:488 do_anonymous_page+0x706/0xa20 mm/memory.c:4116 handle_pte_fault mm/memory.c:4905 [inline] __handle_mm_fault mm/memory.c:5046 [inline] handle_mm_fault+0x8a0/0xa90 mm/memory.c:5144 do_user_addr_fault+0x4cd/0x940 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1484 [inline] exc_page_fault+0x60/0x160 arch/x86/mm/fault.c:1540 asm_exc_page_fault+0x22/0x30 copy_user_enhanced_fast_string+0xa/0x40 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:58 [inline] copyout lib/iov_iter.c:155 [inline] copy_page_to_iter_iovec lib/iov_iter.c:226 [inline] __copy_page_to_iter lib/iov_iter.c:852 [inline] copy_page_to_iter+0x423/0x7b0 lib/iov_iter.c:880 copy_folio_to_iter include/linux/uio.h:153 [inline] filemap_read+0x117b/0x1410 mm/filemap.c:2739 blkdev_read_iter+0x2c6/0x370 block/fops.c:594 call_read_iter include/linux/fs.h:2052 [inline] new_sync_read fs/read_write.c:401 [inline] vfs_read+0x5a5/0x6a0 fs/read_write.c:482 ksys_read+0xe8/0x1a0 fs/read_write.c:620 __do_sys_read fs/read_write.c:630 [inline] __se_sys_read fs/read_write.c:628 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:628 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 0xffff888237c27968 of 1 bytes by task 1827 on cpu 1: pagevec_count include/linux/pagevec.h:62 [inline] __lru_add_drain_all+0x118/0x3e0 mm/swap.c:826 lru_add_drain_all+0xc/0x10 mm/swap.c:849 invalidate_bdev+0x56/0x80 block/bdev.c:87 ext4_put_super+0x510/0x810 fs/ext4/super.c:1279 generic_shutdown_super+0xd5/0x240 fs/super.c:462 kill_block_super+0x4a/0x90 fs/super.c:1394 deactivate_locked_super+0x6a/0xb0 fs/super.c:332 deactivate_super+0x85/0x90 fs/super.c:363 cleanup_mnt+0x267/0x2d0 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: 0x0f -> 0x0a Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1827 Comm: syz-executor.0 Not tainted 5.19.0-rc8-syzkaller-00105-g6e2c0490769e-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ================================================================== EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem. EXT4-fs (loop0): unmounting filesystem.