Bug 4001 - [ANCK 4.19] CVE-2020-25670
Summary: [ANCK 4.19] CVE-2020-25670
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 18:56 UTC by songkai
Modified: 2023-03-29 11:47 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 18:56:47 UTC
CVE-2020-25670

nfc_llcp_local_get() is invoked in llcp_sock_bind(),
but nfc_llcp_local_put() is not invoked in subsequent failure branches.
As a result, refcount leakage occurs.
To fix it, add calling nfc_llcp_local_put().

upstream adbb1d218c5f56dbae052765da83c0f57fce2a31
Comment 1 宁畅 alibaba_cloud_group 2023-03-29 11:47:59 UTC
PR: https://gitee.com/anolis/cloud-kernel/pulls/1152