mm/hugetlb:修复了 resv uncharge 丢失的hugetlb_lock (CVE-2024-36000)

admin 2024-05-21 23:52:24 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
mm/hugetlb:修复了 resv uncharge 丢失的hugetlb_lock (CVE-2024-36000)

CVE编号

CVE-2024-36000

利用情况

暂无

补丁情况

N/A

披露时间

2024-05-20
漏洞描述
In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: fix missing hugetlb_lock for resv uncharge There is a recent report on UFFDIO_COPY over hugetlb: https://lore.kernel.org/all/[email protected]/ 350: lockdep_assert_held(&hugetlb_lock); Should be an issue in hugetlb but triggered in an userfault context, where it goes into the unlikely path where two threads modifying the resv map together. Mike has a fix in that path for resv uncharge but it looks like the locking criteria was overlooked: hugetlb_cgroup_uncharge_folio_rsvd() will update the cgroup pointer, so it requires to be called with the lock held.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://git.kernel.org/stable/c/4c806333efea1000a2a9620926f560ad2e1ca7cc
https://git.kernel.org/stable/c/538faabf31e9c53d8c870d114846fda958a0de10
https://git.kernel.org/stable/c/b76b46902c2d0395488c8412e1116c2486cdfcb2
https://git.kernel.org/stable/c/f6c5d21db16a0910152ec8aa9d5a7aed72694505
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 debian_10 linux * Up to (excluding) 4.19.304-1
CVSS3评分 N/A
  • 攻击路径 N/A
  • 攻击复杂度 N/A
  • 权限要求 N/A
  • 影响范围 N/A
  • 用户交互 N/A
  • 可用性 N/A
  • 保密性 N/A
  • 完整性 N/A
N/A
CWE-ID 漏洞类型
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0