Description of problem: CVE-2023-1095 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. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: MISC:https://bugzilla.redhat.com/show_bug.cgi?id=2173973 URL:https://bugzilla.redhat.com/show_bug.cgi?id=2173973 MISC:https://github.com/torvalds/linux/commit/580077855a40741cf511766129702d97ff02f4d9 URL:https://github.com/torvalds/linux/commit/580077855a40741cf511766129702d97ff02f4d9
PR: https://gitee.com/anolis/cloud-kernel/pulls/1396