Message ID | 20230223230040.50880-2-yuxuan.luo@canonical.com |
---|---|
State | New |
Headers | show |
Series | CVE-2022-1016 | expand |
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
diff --git a/net/netfilter/nf_tables_core.c b/net/netfilter/nf_tables_core.c index 204be93746578..00635ce1a3a25 100644 --- a/net/netfilter/nf_tables_core.c +++ b/net/netfilter/nf_tables_core.c @@ -115,7 +115,7 @@ nft_do_chain(struct nft_pktinfo *pkt, void *priv) const struct net *net = pkt->net; const struct nft_rule *rule; const struct nft_expr *expr, *last; - struct nft_regs regs; + struct nft_regs regs = {}; unsigned int stackptr = 0; struct nft_jumpstack jumpstack[NFT_JUMP_STACK_SIZE]; struct nft_stats *stats;