Message ID | 20230317191406.39155-1-yuxuan.luo@canonical.com |
---|---|
Headers | show |
Series | CVE-2023-1095 | expand |
On 3/17/23 1:14 PM, Yuxuan Luo wrote: > [Impact] > In nf_tables_updtable, if nf_tables_table_enable returns an error, > nft_trans_destroy is called to free the transaction object. > nft_trans_destroy() calls list_del(), but the transaction was never placed > on a list -- the list head is all zeroes, this results in a NULL pointer > dereference. > > [Backport] > Clean cherry pick. > > [Test] > Compile and smoke tested. > > [Potential Regression] > Little or even no regression since the change only initialized the list header. > > > Florian Westphal (1): > netfilter: nf_tables: fix null deref due to zeroed list head > > net/netfilter/nf_tables_api.c | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Tim Gardner <tim.gardner@canonical.com>
On Fri, Mar 17, 2023 at 03:14:05PM -0400, Yuxuan Luo wrote: > [Impact] > In nf_tables_updtable, if nf_tables_table_enable returns an error, > nft_trans_destroy is called to free the transaction object. > nft_trans_destroy() calls list_del(), but the transaction was never placed > on a list -- the list head is all zeroes, this results in a NULL pointer > dereference. > > [Backport] > Clean cherry pick. > > [Test] > Compile and smoke tested. > > [Potential Regression] > Little or even no regression since the change only initialized the list header. > > > Florian Westphal (1): > netfilter: nf_tables: fix null deref due to zeroed list head > > net/netfilter/nf_tables_api.c | 1 + > 1 file changed, 1 insertion(+) > > -- > 2.34.1 > > > -- > kernel-team mailing list > kernel-team@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/kernel-team Applied to jammy:linux-oem-5.17. Thank you!