漏洞标题
缓存文件:在轮询时添加缺失的锁定保护
漏洞描述信息
在Linux内核中,已解决以下漏洞:
缓存文件:在轮询时添加缺失的锁定保护
在迭代xarray时,在poll函数中添加缺失的锁定保护,否则:
即使持有RCU读锁,仅确保radix树的槽被固定在那里,而在槽中存储的数据结构(例如,cachefiles_req结构体)则没有这样的保证。poll函数将迭代radix树并相应地解引用cachefiles_req。因此,在这种情况下,RCU读锁不够充分,需要使用spinlock。
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
漏洞类别
加锁机制不恰当
漏洞标题
cachefiles: add missing lock protection when polling
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
cachefiles: add missing lock protection when polling
Add missing lock protection in poll routine when iterating xarray,
otherwise:
Even with RCU read lock held, only the slot of the radix tree is
ensured to be pinned there, while the data structure (e.g. struct
cachefiles_req) stored in the slot has no such guarantee. The poll
routine will iterate the radix tree and dereference cachefiles_req
accordingly. Thus RCU read lock is not adequate in this case and
spinlock is needed here.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 cachefiles 模块在轮询时缺少锁保护,需要添加自旋锁来保护xarray迭代。
CVSS信息
N/A
漏洞类别
其他