Cloudanix VulnDB

CVE-2022-42257

High · 7.3

CVSS

7.3

EPSS

0.3%

Published

Dec 30, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in NVIDIA graphics software on Linux computers could let someone who already has access to the machine steal data, alter information, or crash the system.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Data Exposure
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Integer overflow in the nvidia.ko kernel-mode driver component allowing local attackers to trigger memory corruption that results in information disclosure, data tampering, or denial of service.

Why it matters to the business

Systems using NVIDIA GPUs on Linux may experience data leaks, unauthorized modification of graphics or system memory, or sudden crashes that disrupt workloads in virtualized, cloud, or workstation environments; the long period since disclosure increases the chance of unpatched instances persisting across large fleets.

How an attack unfolds

An attacker with local user privileges on an affected Linux system interacts with the nvidia.ko module through normal GPU APIs or direct device access, supplying crafted parameters that trigger the integer overflow and corrupt kernel memory to achieve disclosure, tampering, or a crash.

How to fix it

Upgrade the NVIDIA GPU Display Driver (nvidia.ko) on all affected Linux distributions and hypervisors to the vendor-supplied version that resolves the integer overflow; where driver updates are unavailable or delayed, isolate GPU-accelerated workloads and restrict unprivileged local access.

How to confirm the fix worked

Compare the loaded nvidia.ko module version and build date against the current NVIDIA driver release notes; verify that kernel symbols or dmesg output no longer expose the vulnerable code paths after the update.

Typical attack path

  1. Obtain local shell or user context on a Linux host with the vulnerable NVIDIA driver loaded
  2. Open or mmap the /dev/nvidia* device nodes or invoke GPU-related syscalls
  3. Supply integer values that overflow during size or offset calculations inside nvidia.ko
  4. Leverage the resulting memory corruption to read or write arbitrary kernel memory or induce a panic

How to detect it

Review kernel logs (dmesg, /var/log/kern.log) for nvidia.ko-related oops, warnings, or integer overflow messages; correlate unusual process activity that opens NVIDIA device nodes with subsequent crashes or anomalous memory usage.

What your security team should do

  • Immediately inventory all Linux hosts running NVIDIA drivers and schedule driver updates
  • Apply vendor patches before the next maintenance window on internet-facing or multi-tenant systems
  • Reduce local attack surface by enforcing least-privilege access to GPU devices
  • Monitor NVIDIA security bulletins for subsequent fixes or backports

The record

NVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer (nvidia.ko), where an integer overflow may lead to information disclosure, data tampering or denial of service.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 nvidia-graphics-drivers-legacy-390xx 0 390.157-1~deb10u1
Debian:11 nvidia-graphics-drivers 0 470.161.03-1
Debian:11 nvidia-graphics-drivers-legacy-390xx 0 390.157-1~deb11u1
Debian:11 nvidia-graphics-drivers-tesla-418 0 No fix
Debian:11 nvidia-graphics-drivers-tesla-450 0 450.216.04-1~deb11u1
Debian:11 nvidia-graphics-drivers-tesla-460 0 460.106.00-3
Debian:11 nvidia-graphics-drivers-tesla-470 0 470.161.03-1~deb11u1
Debian:12 nvidia-graphics-drivers 0 510.108.03-1
Debian:12 nvidia-graphics-drivers-tesla 0 510.108.03-1
Debian:12 nvidia-graphics-drivers-tesla-470 0 470.161.03-1
Debian:12 nvidia-open-gpu-kernel-modules 0 515.86.01-1
Debian:13 nvidia-graphics-drivers 0 510.108.03-1
Debian:13 nvidia-graphics-drivers-tesla 0 510.108.03-1
Debian:13 nvidia-graphics-drivers-tesla-470 0 470.161.03-1
Debian:13 nvidia-open-gpu-kernel-modules 0 515.86.01-1
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-390 0 390.157-0ubuntu0.18.04.1
Ubuntu:18.04:LTS nvidia-graphics-drivers-418-server 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-450 0 No fix
Ubuntu:18.04:LTS nvidia-graphics-drivers-450-server 0 450.216.04-0ubuntu0.18.04.1
Ubuntu:18.04:LTS nvidia-graphics-drivers-455 0 No fix
Ubuntu:18.04:LTS nvidia-graphics-drivers-460 0 No fix
Ubuntu:18.04:LTS nvidia-graphics-drivers-460-server 0 No fix
Ubuntu:18.04:LTS nvidia-graphics-drivers-470 0 470.161.03-0ubuntu0.18.04.1
Ubuntu:18.04:LTS nvidia-graphics-drivers-470-server 0 470.161.03-0ubuntu0.18.04.1
Ubuntu:18.04:LTS nvidia-graphics-drivers-510 0 510.108.03-0ubuntu0.18.04.1
Ubuntu:18.04:LTS nvidia-graphics-drivers-515 0 515.86.01-0ubuntu0.18.04.1
Ubuntu:18.04:LTS nvidia-graphics-drivers-515-server 0 515.86.01-0ubuntu0.18.04.2
Ubuntu:20.04:LTS nvidia-graphics-drivers-340 0 No fix
Ubuntu:20.04:LTS nvidia-graphics-drivers-390 0 390.157-0ubuntu0.20.04.1
Ubuntu:20.04:LTS nvidia-graphics-drivers-418-server 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-450 0 No fix
Ubuntu:20.04:LTS nvidia-graphics-drivers-450-server 0 450.216.04-0ubuntu0.20.04.1
Ubuntu:20.04:LTS nvidia-graphics-drivers-455 0 No fix
Ubuntu:20.04:LTS nvidia-graphics-drivers-460 0 No fix
Ubuntu:20.04:LTS nvidia-graphics-drivers-460-server 0 No fix
Ubuntu:20.04:LTS nvidia-graphics-drivers-470 0 470.161.03-0ubuntu0.20.04.1
Ubuntu:20.04:LTS nvidia-graphics-drivers-470-server 0 470.161.03-0ubuntu0.20.04.1
Ubuntu:20.04:LTS nvidia-graphics-drivers-510 0 510.108.03-0ubuntu0.20.04.1
Ubuntu:20.04:LTS nvidia-graphics-drivers-515 0 515.86.01-0ubuntu0.20.04.1
Ubuntu:20.04:LTS nvidia-graphics-drivers-515-server 0 515.86.01-0ubuntu0.20.04.2
Ubuntu:22.04:LTS nvidia-graphics-drivers-390 0 390.157-0ubuntu0.22.04.1
Ubuntu:22.04:LTS nvidia-graphics-drivers-418-server 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-450 0 No fix
Ubuntu:22.04:LTS nvidia-graphics-drivers-450-server 0 450.216.04-0ubuntu0.22.04.1
Ubuntu:22.04:LTS nvidia-graphics-drivers-455 0 No fix
Ubuntu:22.04:LTS nvidia-graphics-drivers-460 0 No fix
Ubuntu:22.04:LTS nvidia-graphics-drivers-470 0 470.161.03-0ubuntu0.22.04.1
Ubuntu:22.04:LTS nvidia-graphics-drivers-470-server 0 470.161.03-0ubuntu0.22.04.1
Ubuntu:22.04:LTS nvidia-graphics-drivers-510 0 510.108.03-0ubuntu0.22.04.1
Ubuntu:22.04:LTS nvidia-graphics-drivers-515 0 515.86.01-0ubuntu0.22.04.1
Ubuntu:22.04:LTS nvidia-graphics-drivers-515-server 0 515.86.01-0ubuntu0.22.04.1
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-418-server 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-450 0 No fix
Ubuntu:Pro:18.04:LTS nvidia-graphics-drivers-455 0 No fix
Ubuntu:Pro:18.04:LTS nvidia-graphics-drivers-460 0 No fix
Ubuntu:Pro:18.04:LTS nvidia-graphics-drivers-460-server 0 No fix
Ubuntu:Pro:20.04:LTS nvidia-graphics-drivers-340 0 No fix
Ubuntu:Pro:20.04:LTS nvidia-graphics-drivers-418-server 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-450 0 No fix
Ubuntu:Pro:20.04:LTS nvidia-graphics-drivers-455 0 No fix
Ubuntu:Pro:20.04:LTS nvidia-graphics-drivers-460 0 No fix
Ubuntu:Pro:20.04:LTS nvidia-graphics-drivers-460-server 0 No fix

Related vulnerabilities