漏洞标题
Linux内核thermal_zone_get_by_id函数存在引用计数漏洞
漏洞描述信息
在Linux内核中,已修复以下漏洞:
thermal: core: 在thermal_zone_get_by_id()中对zone进行引用计数
在thermal netlink代码中存在一些位置,在thermal_zone_get_by_id()返回后,没有任何机制可以防止thermal zone对象在访问过程中消失。
为解决此问题,thermal_zone_get_by_id()需要在thermal_list_lock下通过get_device()对将要返回的thermal zone设备对象进行引用计数,并通过cleanup.h基础架构调整其所有调用者以适应这一更改。
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
漏洞类别
不恰当的资源关闭或释放
漏洞标题
thermal: core: Reference count the zone in thermal_zone_get_by_id()
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
thermal: core: Reference count the zone in thermal_zone_get_by_id()
There are places in the thermal netlink code where nothing prevents
the thermal zone object from going away while being accessed after it
has been returned by thermal_zone_get_by_id().
To address this, make thermal_zone_get_by_id() get a reference on the
thermal zone device object to be returned with the help of get_device(),
under thermal_list_lock, and adjust all of its callers to this change
with the help of the cleanup.h infrastructure.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在thermal_zone_get_by_id中引用计数不当导致的引用计数泄漏。
CVSS信息
N/A
漏洞类别
其他