402 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

【OLK-5.10】integrity: Fix possible multiple allocation in integrity_inode_get()

已完成
缺陷
创建于  
2023-10-30 17:06

【标题描述】
修复可能存在的多重分配。在integrity_inode_get()函数中并发执行,由于在获取integrity_iint_lock后,没有合适的检查对象是否存在,可能导致多次分配同一个inode的integrity_iint_cache。
一、缺陷信息
【环境信息】
硬件信息
不涉及

软件信息
内核版本:OLK-5.10

网络信息
不涉及

【问题复现步骤】
有条件概率重现
【实际结果】
导致多次分配同一个inode的integrity_iint_cache。引起不必要的内存损耗以及可能潜在的逻辑漏洞风险。
【其他相关附件信息】

缺陷详情参考链接:

缺陷分析指导链接:

评论 (1)

Fuzhen 创建了缺陷

Hi foyjog2, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 9236200 foyjog2 1628476071
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助