================================================================== BUG: KCSAN: data-race in lru_add_drain_all / lru_cache_add write to 0xffff888237d264a8 of 1 bytes by task 5551 on cpu 1: pagevec_add include/linux/pagevec.h:74 [inline] lru_cache_add+0x74/0x130 mm/swap.c:461 shmem_getpage_gfp+0xcf8/0x1410 mm/shmem.c:1934 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0x7e/0x100 mm/shmem.c:2530 generic_perform_write+0x196/0x3a0 mm/filemap.c:3643 __generic_file_write_iter+0x161/0x300 mm/filemap.c:3772 generic_file_write_iter+0x75/0x130 mm/filemap.c:3804 call_write_iter include/linux/fs.h:2116 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x69d/0x770 fs/read_write.c:605 ksys_write+0xce/0x180 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write fs/read_write.c:667 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:667 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888237d264a8 of 1 bytes by task 1029 on cpu 0: pagevec_count include/linux/pagevec.h:61 [inline] lru_add_drain_all+0x108/0x3b0 mm/swap.c:813 invalidate_bdev fs/block_dev.c:96 [inline] bdev_disk_changed+0x119/0x310 fs/block_dev.c:1251 __blkdev_get+0x2f9/0x6c0 fs/block_dev.c:1353 blkdev_get_by_dev+0x9b/0x480 fs/block_dev.c:1453 blkdev_reread_part block/ioctl.c:102 [inline] blkdev_common_ioctl+0xfca/0x1040 block/ioctl.c:510 blkdev_ioctl+0x16e/0x3c0 block/ioctl.c:579 block_ioctl+0x6d/0x80 fs/block_dev.c:1664 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:1055 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:1055 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1029 Comm: systemd-udevd Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================