Bug 23275 - Fix CSV RING-BUFFER memory leak, fix CSV3 SMR/SMCR setup code path
Summary: Fix CSV RING-BUFFER memory leak, fix CSV3 SMR/SMCR setup code path
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-05 21:18 UTC by wojiaohanliyang
Modified: 2025-08-05 21:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wojiaohanliyang hygon_group 2025-08-05 21:18:35 UTC
Description of problem:

Currently, the function for CSV RING-BUFFER initialization is under the risk of leaking kernel memory; this needs to be fixed.

Currently, the crypto co-processor module will call CSV3 SMR/SMCR setup function unconditionally, this is incorrect since CSV3 SMR/SMCR can only be setup when the CPU support CSV3.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2025-08-05 21:24:18 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5580