x86/mce:确保在 set_bank() 中获取 mce_sysfs_mutex (CVE-2024-35876)

admin 2024-05-22 00:32:22 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
x86/mce:确保在 set_bank() 中获取 mce_sysfs_mutex (CVE-2024-35876)

CVE编号

CVE-2024-35876

利用情况

暂无

补丁情况

N/A

披露时间

2024-05-19
漏洞描述
In the Linux kernel, the following vulnerability has been resolved: x86/mce: Make sure to grab mce_sysfs_mutex in set_bank() Modifying a MCA bank's MCA_CTL bits which control which error types to be reported is done over /sys/devices/system/machinecheck/ +-- machinecheck0 ¦   +-- bank0 ¦   +-- bank1 ¦   +-- bank10 ¦   +-- bank11 ... sysfs nodes by writing the new bit mask of events to enable. When the write is accepted, the kernel deletes all current timers and reinits all banks. Doing that in parallel can lead to initializing a timer which is already armed and in the timer wheel, i.e., in use already: ODEBUG: init active (active state 0) object: ffff888063a28000 object type: timer_list hint: mce_timer_fn+0x0/0x240 arch/x86/kernel/cpu/mce/core.c:2642 WARNING: CPU: 0 PID: 8120 at lib/debugobjects.c:514 debug_print_object+0x1a0/0x2a0 lib/debugobjects.c:514 Fix that by grabbing the sysfs mutex as the rest of the MCA sysfs code does. Reported by: Yue Sun <[email protected]> Reported by: xingwei lee <[email protected]>
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://git.kernel.org/stable/c/20a915154ccb88da08986ab6c9fc4c1cf6259de2
https://git.kernel.org/stable/c/32223b0b60d53f49567fc501f91ca076ae96be6b
https://git.kernel.org/stable/c/3ddf944b32f88741c303f0b21459dbb3872b8bc5
https://git.kernel.org/stable/c/5a02df3e92470efd589712925b5c722e730276a0
https://git.kernel.org/stable/c/976b1b2680fb4c01aaf05a0623288d87619a6c93
https://git.kernel.org/stable/c/f5e65b782f3e07324b9a8fa3cdaee422f057c758
https://git.kernel.org/stable/c/f860595512ff5c05a29fa4d64169c3fd1186b8cf
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 debian_11 linux * Up to (excluding) 5.10.216-1
运行在以下环境
系统 debian_12 linux * Up to (excluding) 6.1.85-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