CVE-2021-47604

High

Description

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductLinux Kernel
PublishedJun 19, 2024
First seenJun 19, 2024

How to fix

Update
  • linux linux_kernel5.15.11 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15 ≤ v < 5.15.115.15.11

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.