================================================================== BUG: KCSAN: data-race in compact_zone / isolate_migratepages_block read to 0xffff88823fffad90 of 8 bytes by task 11648 on cpu 1: compact_zone+0x21d5/0x2720 mm/compaction.c:2517 compact_zone_order mm/compaction.c:2668 [inline] try_to_compact_pages+0x39b/0x930 mm/compaction.c:2729 __alloc_pages_direct_compact+0x75/0x1f0 mm/page_alloc.c:3525 __alloc_pages_slowpath+0x232/0xd90 mm/page_alloc.c:4119 __alloc_pages+0x25d/0x340 mm/page_alloc.c:4581 alloc_pages_mpol+0xb1/0x1d0 mm/mempolicy.c:2133 alloc_pages+0xe0/0x100 mm/mempolicy.c:2204 vm_area_alloc_pages mm/vmalloc.c:3063 [inline] __vmalloc_area_node mm/vmalloc.c:3139 [inline] __vmalloc_node_range+0x6d2/0xea0 mm/vmalloc.c:3320 kvmalloc_node+0x121/0x160 mm/util.c:642 kvmalloc include/linux/slab.h:738 [inline] kvmalloc_array include/linux/slab.h:756 [inline] kvcalloc include/linux/slab.h:761 [inline] check_btf_func_early kernel/bpf/verifier.c:15844 [inline] check_btf_info_early kernel/bpf/verifier.c:16221 [inline] bpf_check+0x17c6/0x90a0 kernel/bpf/verifier.c:20842 bpf_prog_load+0xda6/0xf50 kernel/bpf/syscall.c:2716 __sys_bpf+0x41c/0x780 kernel/bpf/syscall.c:5383 __do_sys_bpf kernel/bpf/syscall.c:5487 [inline] __se_sys_bpf kernel/bpf/syscall.c:5485 [inline] __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5485 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b write to 0xffff88823fffad90 of 8 bytes by task 11646 on cpu 0: update_cached_migrate mm/compaction.c:473 [inline] isolate_migratepages_block+0x1cd1/0x1f40 mm/compaction.c:1259 isolate_migratepages mm/compaction.c:2052 [inline] compact_zone+0x1c6c/0x2720 mm/compaction.c:2508 compact_zone_order mm/compaction.c:2668 [inline] try_to_compact_pages+0x39b/0x930 mm/compaction.c:2729 __alloc_pages_direct_compact+0x75/0x1f0 mm/page_alloc.c:3525 __alloc_pages_slowpath+0x232/0xd90 mm/page_alloc.c:4119 __alloc_pages+0x25d/0x340 mm/page_alloc.c:4581 alloc_pages_mpol+0xb1/0x1d0 mm/mempolicy.c:2133 alloc_pages+0xe0/0x100 mm/mempolicy.c:2204 vm_area_alloc_pages mm/vmalloc.c:3063 [inline] __vmalloc_area_node mm/vmalloc.c:3139 [inline] __vmalloc_node_range+0x6d2/0xea0 mm/vmalloc.c:3320 kvmalloc_node+0x121/0x160 mm/util.c:642 kvmalloc include/linux/slab.h:738 [inline] kvmalloc_array include/linux/slab.h:756 [inline] kvcalloc include/linux/slab.h:761 [inline] check_btf_func_early kernel/bpf/verifier.c:15844 [inline] check_btf_info_early kernel/bpf/verifier.c:16221 [inline] bpf_check+0x17c6/0x90a0 kernel/bpf/verifier.c:20842 bpf_prog_load+0xda6/0xf50 kernel/bpf/syscall.c:2716 __sys_bpf+0x41c/0x780 kernel/bpf/syscall.c:5383 __do_sys_bpf kernel/bpf/syscall.c:5487 [inline] __se_sys_bpf kernel/bpf/syscall.c:5485 [inline] __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5485 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x000000000016d200 -> 0x000000000016f800 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11646 Comm: syz-executor.4 Not tainted 6.7.0-rc4-syzkaller-00358-gf2e8a57ee903 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 ==================================================================