• CVE-2024-36932

发布时间: 2024年7月10日

修改时间: 2024年7月10日

概要

In the Linux kernel, the following vulnerability has been resolved:thermal/debugfs: Prevent use-after-free from occurring after cdev removalSince thermal_debug_cdev_remove() does not run under cdev-&gt;lock, it canrun in parallel with thermal_debug_cdev_state_update() and it may freethe struct thermal_debugfs object used by the latter after it has beenchecked against NULL.If that happens, thermal_debug_cdev_state_update() will access memorythat has been freed already causing the kernel to crash.Address this by using cdev-&gt;lock in thermal_debug_cdev_remove() aroundthe cdev-&gt;debugfs value check (in case the same cdev is removed at thesame time in two different threads) and its reset to NULL.Cc :6.8+ <stable@vger.kernel.org&gt; # 6.8+

CVSS v3 指标

NVD openEuler
CVSS评分 5.5 5.5
Attack Vector Local Local
Attack Complexity Low Low
Privileges Required Low Low
User Interaction None None
Scope Unchanged Unchanged
Confidentiality None None
Integrity None None
Availability High High

安全公告

公告名 概要 发布时间
KylinSec-SA-2024-3091 In the Linux kernel, the following vulnerability has been resolved:thermal/debugfs: Prevent use-after-free from occurring after cdev removalSince thermal_debug_cdev_remove() does not run under cdev-&gt;lock, it canrun in parallel with thermal_debug_cdev_state_update() and it may freethe struct thermal_debugfs object used by the latter after it has beenchecked against NULL.If that happens, thermal_debug_cdev_state_update() will access memorythat has been freed already causing the kernel to crash.Address this by using cdev-&gt;lock in thermal_debug_cdev_remove() aroundthe cdev-&gt;debugfs value check (in case the same cdev is removed at thesame time in two different threads) and its reset to NULL.Cc :6.8+ <stable@vger.kernel.org&gt; # 6.8+ 2024年7月10日

影响产品

产品 状态
KY3.4-5A kernel Unaffected
KY3.5.2 kernel Unaffected
V6 kernel Unaffected