vGPU software (guest driver) - Linux, vGPU…: Off-by-one Error
CVE-2022-34684 is a high-severity off-by-one error vulnerability in vGPU software (guest driver) - Linux, vGPU software (Virtual GPU Manager), NVIDIA Cloud Gaming (guest driver), NVIDIA Cloud Gaming (Virtual GPU Manager) from NVIDIA, with a CVSS 3.1 base score of 7.1 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 0.26% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Virtual GPU to 11.11 or 13.6 or 14.4, whichever matches your release line, or a later version.
- Update Cloud Gaming to 525.60.11 or 525.60.12, whichever matches your release line, or a later version.
- Update GPU Display Driver to 510.108.03 or 515.86.01, whichever matches your release line, or a later version.
- Read the advisory on nvidia.custhelp.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| NVIDIA | vGPU software (guest driver) - Linux, vGPU software (Virtual GPU Manager), NVIDIA Cloud Gaming (guest driver), NVIDIA Cloud Gaming (Virtual GPU Manager) | Not specified in the record | Not stated |
| NVIDIA | Virtual GPU | before 11.11; 12.0 up to, but not including, 13.6; 14.0 up to, but not including, 14.4 | 11.11, 13.6, 14.4 |
| NVIDIA | Cloud Gaming | before 525.60.11; before 525.60.12 | 525.60.11, 525.60.12 |
| NVIDIA | GPU Display Driver | 510 up to, but not including, 510.108.03; 515 up to, but not including, 515.86.01 | 510.108.03, 515.86.01 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 5.3 | Medium | CNA (nvidia.com) |
| CVSS 3.1 | 7.1 | High | NVD |
Official description
NVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer (nvidia.ko), where an off-by-one error may lead to data tampering or information disclosure.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Off-by-one Error
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
How developers prevent this class of flaw
- When copying character arrays or using character manipulation methods, the correct size parameter must be used to account for the null terminator that needs to be added at the end of the array. Some examples of functions susceptible to this weakness in C include strcpy(), strncpy(), strcat(), strncat(), printf(), sprintf(), scanf() and sscanf().
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- security.gentoo.org/glsa/202310-02Third Party Advisory
Other vulnerabilities in vGPU software (guest driver) - Linux, vGPU software (Virtual GPU Manager), NVIDIA Cloud Gaming (guest driver), NVIDIA Cloud Gaming (Virtual GPU Manager)
- 7.8 High severity
- 7.1 High severity
- 7.3 High severity
- 7.3 High severity
- 7.8 High severity
- 7.8 High severity
Recent Off-by-one Error vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 8.6 High severity
- 9.8 Critical severity
- 9.8 Critical severity
- 7.8 High severity
Sudo Heap-Based Buffer Overflow Exploited
Spotted an error? Tell us.