Bug 7629 - net: ipv6: fix return value check in esp_remove_trailer
Summary: net: ipv6: fix return value check in esp_remove_trailer
Status: NEW
Alias: None
Product: ANCK 5.10 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-11-24 11:13 UTC by zhujun
Modified: 2024-08-13 14:06 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhujun cmss_group 2023-11-24 11:13:43 UTC
In esp_remove_trailer(), to avoid an unexpected result returned by
pskb_trim, we should check the return value of pskb_trim().

Additional info:

社区有patch已经解决
net: ipv6: fix return value check in esp_remove_trailer

commit 8023c7e90007861a353b9e1a3abd9e158369c104

Reference:https:https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=8023c7e90007861a353b9e1a3abd9e158369c104

git cherry-pick -s 8023c7e90(with stable-v5.10.199 repo added)
Comment 1 小龙 admin 2023-11-24 11:17:24 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2465
Comment 2 小龙 admin 2024-08-13 14:06:49 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3688