CVE-2021-47604

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-47604
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47604.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47604
Related
Published
2024-06-19T15:15:54Z
Modified
2024-09-18T01:00:21Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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->configsize". The problem is that since both variables are unsigned the "dev->configsize - 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 vhostvdpaconfig_validate() function. But I do not know the code perfectly, and I like to be safe.

References

Affected packages

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.15.15-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.15.15-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}