================================================================== BUG: KCSAN: data-race in __pagevec_lru_add / lru_add_drain_all write to 0xffff888237c26468 of 1 bytes by task 4838 on cpu 0: pagevec_reinit include/linux/pagevec.h:56 [inline] __pagevec_lru_add+0x24b/0x280 mm/swap.c:1017 lru_add_drain_cpu+0x6a/0x260 mm/swap.c:606 lru_add_drain mm/swap.c:710 [inline] __pagevec_release+0x57/0xa0 mm/swap.c:940 pagevec_release include/linux/pagevec.h:81 [inline] shmem_undo_range+0x32f/0xe20 mm/shmem.c:931 shmem_truncate_range mm/shmem.c:1030 [inline] shmem_evict_inode+0x115/0x5a0 mm/shmem.c:1132 evict+0x1c8/0x3c0 fs/inode.c:578 iput_final fs/inode.c:1654 [inline] iput+0x433/0x590 fs/inode.c:1680 dentry_unlink_inode+0x23a/0x260 fs/dcache.c:374 __dentry_kill+0x2af/0x4e0 fs/dcache.c:580 dentry_kill fs/dcache.c:693 [inline] dput+0xc6/0x360 fs/dcache.c:886 do_renameat2+0x5c9/0x9b0 fs/namei.c:4711 __do_sys_rename fs/namei.c:4758 [inline] __se_sys_rename fs/namei.c:4756 [inline] __x64_sys_rename+0x58/0x60 fs/namei.c:4756 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888237c26468 of 1 bytes by task 1768 on cpu 1: pagevec_count include/linux/pagevec.h:61 [inline] lru_add_drain_all+0x108/0x3c0 mm/swap.c:813 invalidate_bdev+0x50/0x70 fs/block_dev.c:96 ext4_put_super+0x5d0/0x8e0 fs/ext4/super.c:1229 generic_shutdown_super+0xd5/0x220 fs/super.c:464 kill_block_super+0x4a/0x90 fs/super.c:1394 deactivate_locked_super+0x65/0xd0 fs/super.c:335 deactivate_super+0x85/0x90 fs/super.c:366 cleanup_mnt+0x277/0x2e0 fs/namespace.c:1136 __cleanup_mnt+0x15/0x20 fs/namespace.c:1143 task_work_run+0xae/0x130 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x151/0x170 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301 do_syscall_64+0x40/0x50 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1768 Comm: syz-executor.3 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================