7.1
CWE
125
Advisory Published
Updated

CVE-2021-47604: vduse: check that offset is within bounds in get_config()

First published: Wed Jun 19 2024(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel>=5.15<5.15.11

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-47604?

    CVE-2021-47604 is classified as a medium severity vulnerability.

  • How do I fix CVE-2021-47604?

    To fix CVE-2021-47604, update your Linux kernel to version 5.15.12 or later.

  • Which versions of the Linux kernel are affected by CVE-2021-47604?

    CVE-2021-47604 affects Linux kernel versions between 5.15 and 5.15.11.

  • What type of vulnerability is CVE-2021-47604?

    CVE-2021-47604 is an out-of-bounds read vulnerability.

  • What components of the Linux kernel does CVE-2021-47604 impact?

    CVE-2021-47604 specifically impacts the vduse component of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203