CVE-2021-47604
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47604 affects the Linux kernel's vduse (vDPA Device in Userspace) component. The vulnerability was discovered in the get_config() function where an insufficient bounds checking could lead to an out-of-bounds read condition. The issue affects Linux kernel versions from 5.15 up to (excluding) 5.15.11 (NVD).

Technical details

The vulnerability exists in the vdusevdpagetconfig() function where it only checks the 'len' parameter but fails to properly validate the 'offset' parameter against dev->configsize. Due to both variables being unsigned, the subtraction operation 'dev->configsize - offset' could result in a very large unsigned value when offset is greater than configsize, potentially leading to an out-of-bounds read. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.1 HIGH with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (NVD).

Impact

If exploited, this vulnerability could allow an attacker to read memory outside the intended bounds of the config buffer, potentially exposing sensitive information. The vulnerability affects confidentiality and availability of the system, but does not impact integrity (NVD).

Mitigation and workarounds

The vulnerability has been fixed by adding an explicit check for the offset parameter in the getconfig() function. The patch ensures that offset is not greater than dev->configsize before performing the subtraction operation. Users should upgrade to Linux kernel version 5.15.11 or later which includes the fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management