================================================================== BUG: KCSAN: data-race in __zone_watermark_ok / get_page_from_freelist read to 0xffff88812fffce88 of 8 bytes by task 7310 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_array include/linux/slab.h:676 [inline] batadv_hash_new+0x78/0x1e0 net/batman-adv/hash.c:52 batadv_dat_init+0x5f/0xc0 net/batman-adv/distributed-arp-table.c:813 batadv_mesh_init+0x3df/0x4b0 net/batman-adv/main.c:216 batadv_softif_init_late+0x53c/0x5c0 net/batman-adv/soft-interface.c:857 register_netdevice+0x14c/0xa50 net/core/dev.c:8658 __rtnl_newlink+0xf9d/0x1010 net/core/rtnetlink.c:3208 rtnl_newlink+0x63/0x90 net/core/rtnetlink.c:3254 rtnetlink_rcv_msg+0x1d3/0x500 net/core/rtnetlink.c:5223 netlink_rcv_skb+0xb0/0x260 net/netlink/af_netlink.c:2477 write to 0xffff88812fffce88 of 8 bytes by task 7308 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] __page_cache_alloc mm/filemap.c:972 [inline] __page_cache_alloc+0x183/0x1a0 mm/filemap.c:957 __do_page_cache_readahead+0x13e/0x390 mm/readahead.c:196 ra_submit mm/internal.h:62 [inline] ondemand_readahead+0x35d/0x710 mm/readahead.c:492 page_cache_async_readahead+0x22c/0x250 mm/readahead.c:574 generic_file_buffered_read mm/filemap.c:2079 [inline] generic_file_read_iter+0xffc/0x1440 mm/filemap.c:2344 ext4_file_read_iter fs/ext4/file.c:77 [inline] ext4_file_read_iter+0xfa/0x240 fs/ext4/file.c:65 call_read_iter include/linux/fs.h:1864 [inline] new_sync_read+0x389/0x4f0 fs/read_write.c:414 __vfs_read+0xb1/0xc0 fs/read_write.c:427 integrity_kernel_read+0xa1/0xe0 security/integrity/iint.c:200 ima_calc_file_hash_tfm+0x1b5/0x260 security/integrity/ima/ima_crypto.c:352 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7308 Comm: syz-fuzzer Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================