================================================================== BUG: KCSAN: data-race in __zone_watermark_ok / get_page_from_freelist read to 0xffff88812fffce88 of 8 bytes by task 7241 on cpu 0: __zone_watermark_ok+0x106/0x240 mm/page_alloc.c:3444 zone_watermark_fast mm/page_alloc.c:3494 [inline] get_page_from_freelist+0x629/0x2300 mm/page_alloc.c:3635 __alloc_pages_nodemask+0x255/0x4d0 mm/page_alloc.c:4714 __alloc_pages include/linux/gfp.h:473 [inline] __alloc_pages_node include/linux/gfp.h:486 [inline] kmem_getpages mm/slab.c:1366 [inline] cache_grow_begin+0x76/0x670 mm/slab.c:2599 cache_alloc_refill mm/slab.c:2971 [inline] ____cache_alloc mm/slab.c:3054 [inline] ____cache_alloc mm/slab.c:3037 [inline] __do_cache_alloc mm/slab.c:3276 [inline] slab_alloc mm/slab.c:3311 [inline] __do_kmalloc mm/slab.c:3653 [inline] __kmalloc+0x59c/0x690 mm/slab.c:3664 kmalloc include/linux/slab.h:557 [inline] kzalloc include/linux/slab.h:748 [inline] ops_init+0xf0/0x240 net/core/net_namespace.c:127 setup_net+0x194/0x4b0 net/core/net_namespace.c:334 copy_net_ns+0x1dc/0x336 net/core/net_namespace.c:475 create_new_namespaces+0x2e2/0x4b0 kernel/nsproxy.c:103 unshare_nsproxy_namespaces+0xb9/0x170 kernel/nsproxy.c:202 ksys_unshare+0x2dc/0x710 kernel/fork.c:2841 __do_sys_unshare kernel/fork.c:2909 [inline] __se_sys_unshare kernel/fork.c:2907 [inline] __x64_sys_unshare+0x28/0x40 kernel/fork.c:2907 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff88812fffce88 of 8 bytes by task 7242 on cpu 1: del_page_from_free_area include/linux/mmzone.h:151 [inline] __rmqueue_smallest mm/page_alloc.c:2191 [inline] __rmqueue mm/page_alloc.c:2711 [inline] rmqueue_bulk mm/page_alloc.c:2738 [inline] __rmqueue_pcplist mm/page_alloc.c:3209 [inline] rmqueue_pcplist mm/page_alloc.c:3237 [inline] rmqueue mm/page_alloc.c:3259 [inline] get_page_from_freelist+0x1217/0x2300 mm/page_alloc.c:3677 __alloc_pages_nodemask+0x255/0x4d0 mm/page_alloc.c:4714 alloc_pages_current+0xd1/0x170 mm/mempolicy.c:2153 alloc_pages include/linux/gfp.h:509 [inline] __vmalloc_area_node mm/vmalloc.c:2424 [inline] __vmalloc_node_range+0x2d5/0x4d0 mm/vmalloc.c:2488 vmalloc_user+0x65/0x80 mm/vmalloc.c:2618 kcov_mmap+0x2e/0x150 kernel/kcov.c:280 call_mmap include/linux/fs.h:1875 [inline] mmap_region+0x83c/0xd50 mm/mmap.c:1788 do_mmap+0x6b0/0xb20 mm/mmap.c:1561 do_mmap_pgoff include/linux/mm.h:2374 [inline] vm_mmap_pgoff+0x12d/0x190 mm/util.c:391 ksys_mmap_pgoff+0x2d8/0x420 mm/mmap.c:1611 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:100 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:91 [inline] __x64_sys_mmap+0x91/0xc0 arch/x86/kernel/sys_x86_64.c:91 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7242 Comm: syz-executor.3 Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================