CVE-2021-47604
Severity CVSS v4.0:
Pending analysis
Type:
CWE-125
Out-of-bounds Read
Publication date:
19/06/2024
Last modified:
27/08/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
vduse: check that offset is within bounds in get_config()<br />
<br />
This condition checks "len" but it does not check "offset" and that<br />
could result in an out of bounds read if "offset > dev->config_size".<br />
The problem is that since both variables are unsigned the<br />
"dev->config_size - offset" subtraction would result in a very high<br />
unsigned value.<br />
<br />
I think these checks might not be necessary because "len" and "offset"<br />
are supposed to already have been validated using the<br />
vhost_vdpa_config_validate() function. But I do not know the code<br />
perfectly, and I like to be safe.
Impact
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15 (including) | 5.15.11 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



