提交 6c4070af 编写于 作者: Z Zhihao Cheng 提交者: Zheng Zengkai

kabi: net: fix kabi broken in sk_buff

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I5WFKI
CVE: CVE-2022-2602

--------------------------------

In order to fix CVE-2022-2602, member 'scm_io_uring' is imported into
sk_buff, fix broken kabi in sk_buff.
Signed-off-by: NZhihao Cheng <chengzhihao1@huawei.com>
Reviewed-by: NXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 07141800
......@@ -867,7 +867,6 @@ struct sk_buff {
#ifdef CONFIG_TLS_DEVICE
__u8 decrypted:1;
#endif
__u8 scm_io_uring:1;
#ifdef CONFIG_NET_SCHED
__u16 tc_index; /* traffic control index */
......@@ -918,7 +917,7 @@ struct sk_buff {
__u32 headers_end[0];
/* public: */
KABI_RESERVE(1)
KABI_USE(1, __u8 scm_io_uring:1)
KABI_RESERVE(2)
KABI_RESERVE(3)
KABI_RESERVE(4)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册