------------[ cut here ]------------ WARNING: CPU: 0 PID: 10602 at mm/page_alloc.c:5175 current_gfp_context include/linux/sched/mm.h:166 [inline] WARNING: CPU: 0 PID: 10602 at mm/page_alloc.c:5175 __alloc_pages+0x437/0x500 mm/page_alloc.c:5187 Modules linked in: CPU: 1 PID: 10602 Comm: syz-executor.1 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__alloc_pages+0x437/0x500 mm/page_alloc.c:5175 Code: 89 ef 89 6c 24 48 c6 44 24 78 00 4c 89 74 24 60 e8 9e da ff ff 49 89 c5 e9 94 fd ff ff 0f 0b e9 c9 fd ff ff 40 80 e5 3f eb be <0f> 0b e9 41 ff ff ff 4c 89 ef 44 89 e6 45 31 ed e8 f4 81 ff ff e9 RSP: 0018:ffffc90001e9ee48 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff920003d3dca RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 000000000000000b RDI: 0000000000040dc0 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: ffffffff81b6c821 R11: 0000000000000000 R12: ffffffff907a68e0 R13: 000000000000000b R14: 0000000000000000 R15: ffff8880684119c0 FS: 00007fb77acc1700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcf1570f000 CR3: 000000001d4ac000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: alloc_pages+0x18c/0x2a0 mm/mempolicy.c:2272 kmalloc_order+0x34/0xf0 mm/slab_common.c:924 kmalloc_order_trace+0x14/0x130 mm/slab_common.c:940 kmalloc_array include/linux/slab.h:596 [inline] kcalloc include/linux/slab.h:625 [inline] tcindex_alloc_perfect_hash+0x57/0x440 net/sched/cls_tcindex.c:306 tcindex_set_parms+0x1dc2/0x2440 net/sched/cls_tcindex.c:437 tcindex_change+0x212/0x320 net/sched/cls_tcindex.c:550 tc_new_tfilter+0xa06/0x21c0 net/sched/cls_api.c:2128 rtnetlink_rcv_msg+0x80e/0xb70 net/core/rtnetlink.c:5541 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 ____sys_sendmsg+0x331/0x810 net/socket.c:2350 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404 __sys_sendmmsg+0x195/0x470 net/socket.c:2490 __do_sys_sendmmsg net/socket.c:2519 [inline] __se_sys_sendmmsg net/socket.c:2516 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2516 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb77acc1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9 RDX: 010efe10675dec16 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffe2340ac4f R14: 00007fb77acc1300 R15: 0000000000022000