------------[ cut here ]------------ WARNING: CPU: 1 PID: 8430 at mm/page_alloc.c:5191 current_gfp_context include/linux/sched/mm.h:166 [inline] WARNING: CPU: 1 PID: 8430 at mm/page_alloc.c:5191 __alloc_pages+0x434/0x500 mm/page_alloc.c:5203 Modules linked in: CPU: 1 PID: 8430 Comm: syz-executor229 Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__alloc_pages+0x434/0x500 mm/page_alloc.c:5191 Code: 89 ef 89 6c 24 48 c6 44 24 78 00 4c 89 74 24 60 e8 a1 da ff ff 49 89 c5 e9 97 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 f7 81 ff ff e9 RSP: 0018:ffffc9000162ee48 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff920002c5dca RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 000000000000001b RDI: 0000000000040dc0 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: ffffffff81b836a1 R11: 0000000000000000 R12: ffffffff9079a9e0 R13: 000000000000001b R14: 0000000000000000 R15: ffff888034198000 FS: 000000000164e300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000280 CR3: 000000002ce96000 CR4: 0000000000350ee0 Call Trace: alloc_pages+0x18c/0x2a0 mm/mempolicy.c:2272 kmalloc_order+0x34/0xf0 mm/slab_common.c:923 kmalloc_order_trace+0x14/0x120 mm/slab_common.c:939 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/0xad0 net/core/rtnetlink.c:5557 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+0x85b/0xda0 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:2337 ___sys_sendmsg+0xf3/0x170 net/socket.c:2391 __sys_sendmmsg+0x195/0x470 net/socket.c:2477 __do_sys_sendmmsg net/socket.c:2506 [inline] __se_sys_sendmmsg net/socket.c:2503 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2503 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x43f929 Code: 28 c3 e8 1a 15 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd10b67b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00000000004ab090 RCX: 000000000043f929 RDX: 04924924924926d3 RSI: 0000000020000200 RDI: 0000000000000004 RBP: 00007ffd10b67b38 R08: 00000000004ab000 R09: 00000000004ab000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd10b67b40 R13: 0000000000000000 R14: 00000000004ae018 R15: 0000000000400488