漏洞标题
vduse:在get_config()中检查偏移量是否在范围内
漏洞描述信息
在Linux内核中,已解决以下漏洞:
vduse:在get_config()中检查offset是否在边界内
此条件检查“len”,但并未检查“offset”,如果“offset > dev->config_size”,则可能导致越界读取。问题在于,由于两个变量都是无符号的,因此“dev->config_size - offset”的减法结果会得到一个非常高的无符号值。
我认为这些检查可能并非必要,因为“len”和“offset”本应通过vhost_vdpa_config_validate()函数预先验证。但我并不完全了解代码,为了安全起见,我还是喜欢这样做。
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
漏洞类别
跨界内存读
漏洞标题
vduse: check that offset is within bounds in get_config()
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
vduse: check that offset is within bounds in get_config()
This condition checks "len" but it does not check "offset" and that
could result in an out of bounds read if "offset > dev->config_size".
The problem is that since both variables are unsigned the
"dev->config_size - offset" subtraction would result in a very high
unsigned value.
I think these checks might not be necessary because "len" and "offset"
are supposed to already have been validated using the
vhost_vdpa_config_validate() function. But I do not know the code
perfectly, and I like to be safe.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于越界读取。
CVSS信息
N/A
漏洞类别
其他