================================================================== BUG: KCSAN: data-race in __filemap_add_folio / nr_blockdev_pages write to 0xffff88810135a638 of 8 bytes by task 16276 on cpu 0: __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:3453 read_cache_page+0x36/0x40 mm/filemap.c:3567 read_mapping_page include/linux/pagemap.h:651 [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_open+0xb3/0x140 block/fops.c:501 do_dentry_open+0x52c/0x860 fs/open.c:822 vfs_open+0x43/0x50 fs/open.c:957 do_open fs/namei.c:3426 [inline] path_openat+0x17b8/0x1eb0 fs/namei.c:3559 do_filp_open+0x105/0x220 fs/namei.c:3586 do_sys_openat2+0xb5/0x2b0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1239 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 0xffff88810135a638 of 8 bytes by task 1911 on cpu 1: 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: 1 PID: 1911 Comm: kworker/1:4 Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_long defense_work_handler ==================================================================