------------[ cut here ]------------ WARNING: CPU: 0 PID: 12273 at mm/page_alloc.c:5214 current_gfp_context include/linux/sched/mm.h:166 [inline] WARNING: CPU: 0 PID: 12273 at mm/page_alloc.c:5214 __alloc_pages+0x45d/0x500 mm/page_alloc.c:5226 Modules linked in: CPU: 0 PID: 12273 Comm: syz-executor.0 Not tainted 5.13.0-rc2-next-20210518-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__alloc_pages+0x45d/0x500 mm/page_alloc.c:5214 Code: be c9 00 00 00 48 c7 c7 80 9b 96 89 c6 05 42 32 23 0c 01 e8 83 08 2a 07 e9 6a ff ff ff 0f 0b e9 a0 fd ff ff 40 80 e5 3f eb 88 <0f> 0b e9 18 ff ff ff 4c 89 ef 44 89 e6 45 31 ed e8 ce 75 ff ff e9 RSP: 0018:ffffc9000178ee48 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff920002f1dca RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 000000000000000c RDI: 0000000000040dc0 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: ffffffff81b7f821 R11: 0000000000000000 R12: ffffffff909a5c60 R13: 000000000000000c R14: 0000000000000000 R15: ffff88807d9b0000 FS: 00007feec9bbe700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000544038 CR3: 0000000082433000 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:954 kmalloc_order_trace+0x14/0x120 mm/slab_common.c:970 kmalloc_array include/linux/slab.h:630 [inline] kcalloc include/linux/slab.h:659 [inline] tcindex_alloc_perfect_hash+0x57/0x440 net/sched/cls_tcindex.c:306 tcindex_set_parms+0x1e0a/0x2440 net/sched/cls_tcindex.c:437 tcindex_change+0x1f6/0x330 net/sched/cls_tcindex.c:550 tc_new_tfilter+0xa06/0x21c0 net/sched/cls_api.c:2128 rtnetlink_rcv_msg+0x80d/0xb80 net/core/rtnetlink.c:5541 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x84c/0xd90 net/netlink/af_netlink.c:1927 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+0x31/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:00007feec9bbe188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9 RDX: 04924924924926d3 RSI: 0000000020000200 RDI: 0000000000000007 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffc6cc80eef R14: 00007feec9bbe300 R15: 0000000000022000