------------[ cut here ]------------ WARNING: CPU: 1 PID: 10177 at mm/page_alloc.c:5175 __alloc_pages+0x58b/0x5f0 mm/page_alloc.c:5222 Modules linked in: CPU: 0 PID: 10177 Comm: syz-executor.2 Not tainted 5.13.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__alloc_pages+0x58b/0x5f0 mm/page_alloc.c:5222 Code: 00 48 ba 00 00 00 00 00 fc ff df e9 5e fd ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 6d fd ff ff e8 fa f1 09 00 e9 63 fd ff ff <0f> 0b 45 31 e4 e9 7a fd ff ff 48 8d 4c 24 50 80 e1 07 80 c1 03 38 RSP: 0018:ffffc90001abe9a0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000014 RCX: 0000000000000000 RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc90001abea28 RBP: ffffc90001abeac0 R08: dffffc0000000000 R09: ffffc90001abea00 R10: fffff52000357d45 R11: 0000000000000000 R12: 0000000000040dc0 R13: ffffc90001abea00 R14: 1ffff92000357d3c R15: 1ffff92000357d38 FS: 00007f93d6bda700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc5b094ffc CR3: 0000000038513000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmalloc_order+0x41/0x170 mm/slab_common.c:923 kmalloc_order_trace+0x15/0x70 mm/slab_common.c:939 kmalloc_large include/linux/slab.h:485 [inline] __kmalloc+0x298/0x390 mm/slub.c:4043 kmalloc_array include/linux/slab.h:596 [inline] kcalloc+0x2b/0x40 include/linux/slab.h:625 tcindex_alloc_perfect_hash+0x52/0x370 net/sched/cls_tcindex.c:306 tcindex_set_parms net/sched/cls_tcindex.c:437 [inline] tcindex_change+0x1563/0x26a0 net/sched/cls_tcindex.c:550 tc_new_tfilter+0x1558/0x2f40 net/sched/cls_api.c:2128 rtnetlink_rcv_msg+0xba5/0xe70 net/core/rtnetlink.c:5557 netlink_rcv_skb+0x1f0/0x460 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x7de/0x9b0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0xaa6/0xe90 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0x5a2/0x900 net/socket.c:2337 ___sys_sendmsg net/socket.c:2391 [inline] __sys_sendmmsg+0x500/0x790 net/socket.c:2477 __do_sys_sendmmsg net/socket.c:2506 [inline] __se_sys_sendmmsg net/socket.c:2503 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2503 do_syscall_64+0x3f/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:00007f93d6bda188 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: 00007ffc7900147f R14: 00007f93d6bda300 R15: 0000000000022000