================================================================== BUG: KCSAN: data-race in __filemap_add_folio / nr_blockdev_pages read-write to 0xffff8881004b8688 of 8 bytes by task 5558 on cpu 0: __filemap_add_folio+0x4e9/0x990 mm/filemap.c:898 filemap_add_folio+0x6b/0x150 mm/filemap.c:933 do_read_cache_folio+0x167/0x3f0 mm/filemap.c:3486 read_cache_folio+0x36/0x40 mm/filemap.c:3551 read_mapping_folio include/linux/pagemap.h:762 [inline] read_part_sector+0x76/0x1e0 block/partitions/core.c:714 read_lba block/partitions/efi.c:248 [inline] find_valid_gpt block/partitions/efi.c:603 [inline] efi_partition+0x23b/0x1240 block/partitions/efi.c:720 check_partition block/partitions/core.c:146 [inline] blk_add_partitions block/partitions/core.c:599 [inline] bdev_disk_changed+0x3c5/0xc30 block/partitions/core.c:685 blkdev_get_whole+0x256/0x270 block/bdev.c:684 blkdev_get_by_dev+0x248/0x650 block/bdev.c:821 blkdev_get_by_path+0x117/0x220 block/bdev.c:886 mount_bdev+0x47/0x280 fs/super.c:1356 vfat_mount+0x2d/0x40 fs/fat/namei_vfat.c:1207 legacy_get_tree+0x70/0xc0 fs/fs_context.c:610 vfs_get_tree+0x49/0x190 fs/super.c:1530 do_new_mount+0x200/0x650 fs/namespace.c:3040 path_mount+0x4ad/0xbb0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568 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 0xffff8881004b8688 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:5924 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: 1911 Comm: kworker/1:3 Tainted: G W 6.0.0-rc1-syzkaller-00368-gf31c32efd57c-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: events_long defense_work_handler ================================================================== kernel write not supported for file /input/event0 (pid: 1911 comm: kworker/1:3)