Skip to main content
Vulnerability Database/CVE-2026-98513

CVE-2026-98513: Linux Kernel Privilege Escalation Vulnerability

CVE-2026-98513 is a privilege escalation vulnerability in the Linux kernel's nouveau driver that causes runtime PM reference leaks. This article covers the technical details, affected versions, potential 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-2026-98513 Overview

CVE-2026-98513 is a resource management flaw in the Linux kernel's nouveau Direct Rendering Manager (DRM) driver for NVIDIA graphics processing units (GPUs). The nouveau_connector_detect() function acquires a runtime power management (PM) reference at entry but fails to release it when nvif_outp_edid_get() returns an error. The missed decrement keeps the GPU powered on indefinitely until a subsequent detect call succeeds. The issue is a logic flaw on the error-exit path rather than a memory-safety defect. Upstream maintainers have corrected the imbalance by releasing the reference on the error branch, matching the behavior of other exit paths in the function.

Critical Impact

The reference leak prevents the GPU from entering low-power states, causing elevated power consumption, higher thermal output, and reduced battery life on affected systems.

Affected Products

  • Linux kernel drm/nouveau driver
  • Systems using NVIDIA GPUs managed by the open-source nouveau driver
  • Distributions shipping kernel versions prior to the stable fix commits

Discovery Timeline

  • 2026-10-18 - CVE-2026-98513 published to the National Vulnerability Database (NVD)
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98513

Vulnerability Analysis

The defect lives in nouveau_connector_detect() within the Linux kernel's drm/nouveau subsystem. The function raises a runtime PM reference at the start of execution to ensure the GPU is powered while it probes connector state. Normal exit paths drop the reference before returning. The error path taken when nvif_outp_edid_get() fails returns early without releasing the reference.

Each failed Extended Display Identification Data (EDID) probe leaves the device marked as in-use by the PM subsystem. The kernel then declines to suspend the GPU, defeating the runtime PM policy that would otherwise power the card down when idle. The condition persists until a later invocation of nouveau_connector_detect() completes successfully and balances the reference count.

Root Cause

The root cause is an unbalanced reference count on an error-handling branch. The function increments the runtime PM counter unconditionally but only decrements it on the success and later-stage error paths. The early return following an nvif_outp_edid_get() failure skips the matching pm_runtime_put_autosuspend() cleanup.

Attack Vector

The flaw is not a remote or privilege-escalation vector. Triggering the leak requires conditions that cause EDID retrieval to fail, such as display disconnection, cable faults, or unresponsive sink hardware. The practical impact is denial of power savings rather than unauthorized access or code execution. The vulnerability manifests on local systems that rely on GPU runtime PM for thermal and battery management.

No verified proof-of-concept code is available. See the upstream fix in Kernel Git Commit 1e04611 for the corrected error path.

Detection Methods for CVE-2026-98513

Indicators of Compromise

  • Linux systems with NVIDIA GPUs that no longer enter the suspended runtime PM state despite being idle
  • Unexpectedly high GPU power draw or temperature on laptops running the nouveau driver
  • Repeated nouveau connector detect events in dmesg correlated with sustained GPU wake state

Detection Strategies

  • Inspect /sys/bus/pci/devices/<gpu>/power/runtime_status for GPUs stuck in the active state while no graphical workload is running
  • Correlate kernel log entries referencing nvif_outp_edid_get failures with the runtime status output
  • Audit installed kernel package versions against distribution advisories referencing the drm/nouveau fix commits

Monitoring Recommendations

  • Collect power/runtime_usage counters from PCI devices through endpoint telemetry to identify abnormal reference counts
  • Track battery discharge rates and GPU thermal metrics on fleet laptops to surface regressions tied to this defect
  • Alert on repeated EDID retrieval failures logged by the nouveau driver

How to Mitigate CVE-2026-98513

Immediate Actions Required

  • Apply the stable kernel update that includes the fix once distributions publish it
  • Identify hosts running affected nouveau versions through configuration management inventory
  • Reboot into the patched kernel after installation to activate the corrected driver

Patch Information

The fix balances the runtime PM reference on the error path. Review the upstream commits for the applied change: Kernel Git Commit 1e04611, Kernel Git Commit 59aa1f8, Kernel Git Commit 780ad8e, and Kernel Git Commit 87c2f8c.

Workarounds

  • Switch to the proprietary NVIDIA driver on systems where runtime PM behavior is business-critical and a patched kernel is not yet available
  • Unload the nouveau module on servers that do not require graphical output to avoid triggering the leak
  • Reduce EDID probe frequency by minimizing hot-plug events on affected endpoints until patching completes
bash
# Verify runtime PM status for a nouveau-managed GPU
cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status
cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_usage

# Blacklist nouveau as a temporary workaround on headless systems
echo "blacklist nouveau" | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
sudo update-initramfs -u

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.