Skip to main content

CVE-2024-0074: NVIDIA GPU Display Driver DOS Vulnerability

CVE-2024-0074 is a buffer overflow vulnerability in NVIDIA GPU Display Driver for Linux that enables denial of service and data tampering. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-0074 Overview

CVE-2024-0074 affects the NVIDIA GPU Display Driver for Linux. The driver contains an out-of-bounds memory access flaw where an attacker can read or write to a memory location beyond the end of an allocated buffer. Successful exploitation can lead to denial of service and data tampering on the affected system.

The weakness is categorized under [CWE-788] (Access of Memory Location After End of Buffer). Exploitation requires local access and low privileges, limiting the attack surface to users or processes already present on the host. No user interaction is required to trigger the condition.

Critical Impact

A local, low-privileged attacker can corrupt driver memory to crash the system or tamper with data processed by the GPU driver.

Affected Products

  • NVIDIA GPU Display Driver for Linux
  • See the NVIDIA Support Article for the full list of affected driver branches and versions

Discovery Timeline

  • 2024-03-27 - CVE-2024-0074 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-0074

Vulnerability Analysis

The vulnerability is an out-of-bounds memory access in the NVIDIA GPU Display Driver for Linux. The driver fails to enforce buffer boundaries during a memory operation, allowing access to bytes located past the end of an allocated region. Depending on the operation involved, this can corrupt adjacent kernel structures or trigger invalid memory accesses that destabilize the driver.

The outcome aligns with the two impacts described in the vendor advisory: denial of service through driver or system crashes, and data tampering through modification of memory the attacker should not control. Confidentiality is not affected, which indicates the issue does not expose sensitive data to the attacker.

Root Cause

The root cause is improper validation of a length, index, or offset during a buffer operation inside the driver. Without proper bounds enforcement, the driver dereferences memory beyond the allocated buffer, matching the behavior described by [CWE-788]. NVIDIA has not published granular technical details beyond the advisory.

Attack Vector

The attack vector is local. An attacker needs an active session on the Linux host and low-level privileges, such as those held by an unprivileged user who can issue requests to the GPU driver through its device interface. No user interaction is required. Interaction typically occurs through ioctl calls or similar driver entry points exposed to userspace by the NVIDIA driver stack.

No verified exploit code examples are available. Refer to the NVIDIA Support Article for vendor-provided technical details.

Detection Methods for CVE-2024-0074

Indicators of Compromise

  • Unexpected crashes or kernel oops events referencing NVIDIA driver modules such as nvidia.ko or nvidia-drm.ko
  • Repeated segmentation faults or GPU reset events in dmesg or /var/log/kern.log originating from processes using GPU libraries
  • Unprivileged processes issuing high volumes of ioctl calls to /dev/nvidia* device nodes

Detection Strategies

  • Monitor kernel logs for driver fault signatures correlated with the installed NVIDIA driver version
  • Baseline normal GPU workload process behavior and alert on anomalous access patterns to NVIDIA device files from non-GPU workloads
  • Inventory NVIDIA driver versions across Linux hosts and flag versions listed as vulnerable in the NVIDIA advisory

Monitoring Recommendations

  • Collect kernel ring buffer and syslog data centrally to correlate driver instability events across hosts
  • Track process access to /dev/nvidia0, /dev/nvidiactl, and /dev/nvidia-uvm device nodes to identify unexpected callers
  • Alert on repeated host reboots or GPU resets that could indicate attempted exploitation

How to Mitigate CVE-2024-0074

Immediate Actions Required

  • Apply the NVIDIA Linux driver update referenced in the NVIDIA Support Article
  • Restrict interactive and remote shell access on hosts with NVIDIA GPUs to trusted users only
  • Audit which local accounts and service identities can access NVIDIA device nodes

Patch Information

NVIDIA has released fixed driver versions for the affected Linux branches. Consult the NVIDIA Support Article for the specific fixed versions aligned with your driver branch, then update through the distribution package manager or NVIDIA's official installer.

Workarounds

  • No vendor-supplied workaround is documented; apply the patched driver as the primary remediation
  • Where patching is delayed, limit local account creation and remove unnecessary shell access on GPU hosts
  • Enforce least privilege on container and workload users that interact with GPU devices to reduce the pool of potential local attackers
bash
# Verify installed NVIDIA driver version on Linux
nvidia-smi --query-gpu=driver_version --format=csv,noheader

# Review recent kernel messages for NVIDIA driver faults
dmesg -T | grep -iE 'nvidia|nvrm|segfault'

# List processes currently holding NVIDIA device handles
lsof /dev/nvidia*

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.