Bug 4398 - CVE-2023-1095
Summary: CVE-2023-1095
Status: RESOLVED FIXED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: net (show other bugs) net
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: XuanZhuo
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-07 14:10 UTC by liuxiangyu
Modified: 2023-03-29 13:04 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liuxiangyu 2023-03-07 14:10:01 UTC
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
Comment 1 宁畅 alibaba_cloud_group 2023-03-29 13:04:19 UTC
PR: https://gitee.com/anolis/cloud-kernel/pulls/1396