CVE-2022-28186
Medium · 6.1CVSS
6.1
EPSS
0.3%
Published
May 17, 2022
CISA due date
—
Cloudanix analysis
A flaw in NVIDIA graphics drivers can let someone already on the computer cause display problems or corrupt data by sending bad instructions to the driver.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper validation of input data passed to the DxgkDdiEscape handler in nvlddmkm.sys allows a local caller to supply malformed parameters that the kernel-mode driver processes without sufficient checks, resulting in denial of service or in-memory data tampering.
Why it matters to the business
Systems using affected NVIDIA GPU drivers may experience unexpected graphics driver crashes or corrupted display state, leading to loss of productivity, interrupted workloads, and potential data integrity issues on machines that rely on NVIDIA hardware acceleration.
How an attack unfolds
An attacker with the ability to execute code locally on a Windows system with a vulnerable NVIDIA driver invokes the DxgkDdiEscape escape code path with crafted input buffers that bypass the driver's validation logic, causing the kernel-mode component to either crash or alter driver-managed memory structures.
How to fix it
Upgrade the NVIDIA GPU Display Driver to a fixed version: nvidia-graphics-drivers-390 on Ubuntu 18.04/20.04 to 390.154-0ubuntu0.18.04.1 or 390.154-0ubuntu0.20.04.1; nvidia-graphics-drivers-450-server on Ubuntu 18.04/20.04 to 450.203.03-0ubuntu0.18.04.1 or 450.203.03-0ubuntu0.20.04.1. Apply the update through the distribution package manager and reboot.
How to confirm the fix worked
Query the installed NVIDIA driver version using the vendor's control panel or nvidia-smi, confirm it matches or exceeds the listed fixed package versions, and exercise graphics workloads to verify stability after installation.
Typical attack path
- Obtain local code execution on a target Windows host with an affected NVIDIA display driver installed
- Load or interact with the nvlddmkm.sys driver through a user-mode graphics API that reaches DxgkDdiEscape
- Craft and submit an input buffer containing invalid or out-of-bounds values to the escape handler
- Trigger the missing validation path that leads to either a kernel crash or unintended memory modification
How to detect it
Review system and application event logs for unexpected nvlddmkm.sys crashes or display driver failures around the time of suspected activity; correlate with user-initiated graphics API calls that reach escape codes.
What your security team should do
- Prioritize deployment of the fixed driver packages on all systems containing the listed NVIDIA Ubuntu packages
- Restrict local user access on multi-user systems until patches are applied to reduce attack surface
- Monitor vendor security advisories for additional Windows driver updates that address the same nvlddmkm.sys issue
The record
NVIDIA GPU Display Driver for Windows contains a vulnerability in the kernel mode layer (nvlddmkm.sys) handler for DxgkDdiEscape, where the product receives input or data, but does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly, which may lead to denial of service or data tampering.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | nvidia-graphics-drivers-304 | 0 | No fix |
| Ubuntu:16.04:LTS | nvidia-graphics-drivers-340 | 0 | No fix |
| Ubuntu:16.04:LTS | nvidia-graphics-drivers-384 | 0 | No fix |
| Ubuntu:18.04:LTS | nvidia-graphics-drivers-340 | 0 | No fix |
| Ubuntu:18.04:LTS | nvidia-graphics-drivers-430 | 0 | No fix |
| Ubuntu:18.04:LTS | nvidia-graphics-drivers-435 | 0 | No fix |
| Ubuntu:18.04:LTS | nvidia-graphics-drivers-440 | 0 | No fix |
| Ubuntu:18.04:LTS | nvidia-graphics-drivers-440-server | 0 | No fix |
| Ubuntu:18.04:LTS | nvidia-graphics-drivers-455 | 0 | No fix |
| Ubuntu:20.04:LTS | nvidia-graphics-drivers-340 | 0 | No fix |
| Ubuntu:20.04:LTS | nvidia-graphics-drivers-430 | 0 | No fix |
| Ubuntu:20.04:LTS | nvidia-graphics-drivers-435 | 0 | No fix |
| Ubuntu:20.04:LTS | nvidia-graphics-drivers-440 | 0 | No fix |
| Ubuntu:20.04:LTS | nvidia-graphics-drivers-440-server | 0 | No fix |
| Ubuntu:20.04:LTS | nvidia-graphics-drivers-455 | 0 | No fix |
| Ubuntu:22.04:LTS | nvidia-graphics-drivers-430 | 0 | No fix |
| Ubuntu:22.04:LTS | nvidia-graphics-drivers-440 | 0 | No fix |
| Ubuntu:22.04:LTS | nvidia-graphics-drivers-455 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | nvidia-graphics-drivers-304 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | nvidia-graphics-drivers-340 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | nvidia-graphics-drivers-384 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | nvidia-graphics-drivers-340 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | nvidia-graphics-drivers-430 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | nvidia-graphics-drivers-435 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | nvidia-graphics-drivers-440 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | nvidia-graphics-drivers-440-server | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | nvidia-graphics-drivers-455 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | nvidia-graphics-drivers-340 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | nvidia-graphics-drivers-430 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | nvidia-graphics-drivers-435 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | nvidia-graphics-drivers-440 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | nvidia-graphics-drivers-440-server | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | nvidia-graphics-drivers-455 | 0 | No fix |
Related vulnerabilities
- CVE-2024-0126 NVIDIA GPU Display Driver for Windows and Linux contains a vulnerability which could… Also affects nvidia-graphics-drivers-304
- CVE-2024-0091 NVIDIA GPU Display Driver for Windows and Linux contains a vulnerability where a user can… Also affects nvidia-graphics-drivers-304
- CVE-2024-0093 NVIDIA GPU software for Linux contains a vulnerability where it can expose sensitive… Also affects nvidia-graphics-drivers-304
- CVE-2024-0090 NVIDIA GPU driver for Windows and Linux contains a vulnerability where a user can cause… Also affects nvidia-graphics-drivers-304
- CVE-2024-0092 NVIDIA GPU Driver for Windows and Linux contains a vulnerability where an improper check… Also affects nvidia-graphics-drivers-304
- CVE-2024-0078 NVIDIA GPU Display Driver for Windows and Linux contains a vulnerability in the kernel… Also affects nvidia-graphics-drivers-304
- CVE-2024-0077 NVIDIA Virtual GPU Manager contains a vulnerability in the vGPU plugin, where it allows a… Also affects nvidia-graphics-drivers-304
- CVE-2024-0079 NVIDIA GPU Display Driver for Windows and Linux contains a vulnerability in the kernel… Also affects nvidia-graphics-drivers-304