Bug 3997 - [ANCK 4.19] CVE-2020-25672
Summary: [ANCK 4.19] CVE-2020-25672
Status: RESOLVED FIXED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: net (show other bugs) net
Version: 4.19-026.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: XuanZhuo
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-08 17:06 UTC by songkai
Modified: 2023-03-29 11:43 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 songkai inspur_group 2023-02-08 17:06:14 UTC
CVE-2020-25672

In llcp_sock_connect(), use kmemdup to allocate memory for
 "llcp_sock->service_name". The memory is not released in the sock_unlink
label of the subsequent failure branch.
As a result, memory leakage occurs.


upstream 301a4264d6ab56d2b9230066b060d7ceaa000d68
Comment 1 宁畅 alibaba_cloud_group 2023-03-29 11:43:01 UTC
PR: https://gitee.com/anolis/cloud-kernel/pulls/1149