================================================================== BUG: KCSAN: data-race in __filemap_add_folio / nr_blockdev_pages read-write to 0xffff8881027a2c08 of 8 bytes by task 1442 on cpu 0: __filemap_add_folio+0x2d9/0x7f0 mm/filemap.c:904 filemap_add_folio+0x6b/0x150 mm/filemap.c:959 do_read_cache_folio+0x15a/0x3a0 mm/filemap.c:3514 do_read_cache_page mm/filemap.c:3602 [inline] read_cache_page+0x37/0x170 mm/filemap.c:3611 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0x78/0x2f0 block/partitions/core.c:715 read_lba block/partitions/efi.c:248 [inline] find_valid_gpt+0x1e7/0xcb0 block/partitions/efi.c:603 efi_partition+0xba/0x6e0 block/partitions/efi.c:720 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:600 [inline] bdev_disk_changed+0x3c5/0xc30 block/partitions/core.c:686 blkdev_get_whole block/bdev.c:686 [inline] blkdev_get_by_dev+0x3c0/0x9c0 block/bdev.c:823 blkdev_open+0xac/0x140 block/fops.c:481 do_dentry_open+0x521/0x850 fs/open.c:848 vfs_open+0x43/0x50 fs/open.c:981 do_open fs/namei.c:3520 [inline] path_openat+0x16cf/0x1b30 fs/namei.c:3653 do_filp_open+0x105/0x220 fs/namei.c:3680 do_sys_openat2+0xb5/0x2a0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1305 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 0xffff8881027a2c08 of 8 bytes by task 2760 on cpu 1: nr_blockdev_pages+0x7f/0xd0 block/bdev.c:524 si_meminfo+0x3a/0x60 mm/page_alloc.c:5835 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+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x0000000000000000 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 2760 Comm: kworker/1:8 Not tainted 5.19.0-rc7-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Workqueue: events_long defense_work_handler ==================================================================