================================================================== BUG: KCSAN: data-race in __filemap_add_folio / nr_blockdev_pages write to 0xffff888101317bf8 of 8 bytes by task 1438 on cpu 1: __filemap_add_folio+0x256/0x4d0 mm/filemap.c:946 filemap_add_folio+0x6b/0x150 mm/filemap.c:999 add_to_page_cache_lru+0x4e/0x70 mm/folio-compat.c:115 do_read_cache_page+0x115/0x680 mm/filemap.c:3451 read_cache_page+0x36/0x40 mm/filemap.c:3565 read_mapping_page include/linux/pagemap.h:650 [inline] read_part_sector+0x78/0x1b0 block/partitions/core.c:728 read_lba+0x15b/0x280 block/partitions/efi.c:248 find_valid_gpt block/partitions/efi.c:603 [inline] efi_partition+0x238/0x1240 block/partitions/efi.c:720 check_partition block/partitions/core.c:149 [inline] blk_add_partitions block/partitions/core.c:613 [inline] bdev_disk_changed+0x501/0xe50 block/partitions/core.c:699 blkdev_get_whole block/bdev.c:684 [inline] blkdev_get_by_dev+0x6ba/0xc60 block/bdev.c:826 blkdev_reread_part block/ioctl.c:103 [inline] blkdev_common_ioctl+0x10ed/0x1180 block/ioctl.c:525 blkdev_ioctl+0x1a7/0x440 block/ioctl.c:603 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:860 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:860 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 0xffff888101317bf8 of 8 bytes by task 7 on cpu 0: nr_blockdev_pages+0x7f/0xd0 block/bdev.c:522 si_meminfo+0x3a/0x60 mm/page_alloc.c:5778 update_defense_level+0x46/0x560 net/netfilter/ipvs/ip_vs_ctl.c:102 defense_work_handler+0x1b/0x80 net/netfilter/ipvs/ip_vs_ctl.c:236 process_one_work+0x3fc/0x980 kernel/workqueue.c:2298 worker_thread+0x616/0xa70 kernel/workqueue.c:2445 kthread+0x2c7/0x2e0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 value changed: 0x0000000000000000 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7 Comm: kworker/0:1 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_long defense_work_handler ==================================================================