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-98511 Overview
CVE-2026-98511 is a reference counting flaw in the Linux kernel's nouveau Direct Rendering Manager (DRM) driver for NVIDIA GPUs. The nouveau_bo_pin_locked() function incorrectly increments the buffer object (BO) pin count even when a re-pin request fails due to incompatible memory domains. Callers treat the failure as not having acquired a pin and never issue the matching unpin, leaving the counter permanently elevated. When the object is later released, ttm_bo_release() triggers a WARN_ON_ONCE(bo->pin_count) assertion. The flaw was found by fuzzing the nouveau driver with a modified Syzkaller.
Critical Impact
Local users on systems with NVIDIA GPUs using the nouveau driver can trigger kernel warnings and leak buffer object pin references, destabilizing the TTM (Translation Table Maps) subsystem.
Affected Products
- Linux kernel drm/nouveau driver (upstream, multiple stable branches)
- Systems running Linux with NVIDIA GPUs using the open-source nouveau driver
- Distributions shipping affected kernels prior to the backported fixes
Discovery Timeline
- 2026-10-18 - CVE-2026-98511 published to the National Vulnerability Database (NVD)
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98511
Vulnerability Analysis
The flaw resides in nouveau_bo_pin_locked() within the nouveau DRM driver. The function validates whether an already-pinned buffer object resides in a memory domain compatible with the new pin request. When domains are incompatible, the function sets the return code to -EBUSY but still calls ttm_bo_pin() before returning. This dual behavior violates the caller contract.
Callers interpret a non-zero return from nouveau_bo_pin() as a failure and skip the compensating nouveau_bo_unpin(). The pin counter therefore remains elevated for the lifetime of the buffer object. When the object is eventually freed through nouveau_gem_object_del() and ttm_bo_fini(), the TTM core enforces the invariant that pin count must be zero at release time and triggers the WARN_ON_ONCE(bo->pin_count) at drivers/gpu/drm/ttm/ttm_bo.c:256.
The issue is classified as a reference counting error leading to a resource leak and kernel warning. It can be reached from unprivileged local contexts that interact with the DRM device node, as demonstrated by the Syzkaller reproducer running under the syz.3.24 task.
Root Cause
The root cause is a logic error in error-path handling. nouveau_bo_pin_locked() executes ttm_bo_pin() on a code path where it has already decided to return -EBUSY. The two operations are not conditionally mutually exclusive, so the pin count increments despite the caller-visible failure.
Attack Vector
A local user with access to the /dev/dri/* device node for a nouveau-managed GPU can issue GEM ioctls that attempt to pin a buffer object into a memory domain that conflicts with its current pinning. Repeating this pattern leaks pin references and triggers kernel warnings on buffer object teardown. The reproducer was derived from a modified Syzkaller run.
No verified exploit code is published for this issue. See the upstream fix commits for the exact code paths involved, including Kernel Commit 189ffc7b and Kernel Commit a6e755ac.
Detection Methods for CVE-2026-98511
Indicators of Compromise
- Kernel log entries containing WARN_ON_ONCE from ttm_bo_release+0x827/0x9e0 at drivers/gpu/drm/ttm/ttm_bo.c:256.
- Call traces including nouveau_gem_object_del, ttm_bo_fini, and drm_gem_object_free on hosts using the nouveau driver.
- Repeated DRM GEM ioctl activity from unprivileged processes against nouveau device nodes.
Detection Strategies
- Monitor dmesg and /var/log/kern.log for TTM pin-count warnings tied to the nouveau driver.
- Correlate kernel warnings with the invoking process identity to spot fuzzing or abuse patterns against DRM interfaces.
- Track kernel package versions across the fleet to identify hosts still running pre-patch builds with the nouveau driver loaded.
Monitoring Recommendations
- Forward kernel ring buffer events to a centralized log pipeline and alert on ttm_bo_release warnings.
- Inventory which hosts load the nouveau kernel module via lsmod and prioritize those for patching.
- Baseline normal DRM ioctl volume per workstation to flag anomalous bursts consistent with fuzzing.
How to Mitigate CVE-2026-98511
Immediate Actions Required
- Apply the upstream Linux kernel patches referenced below and reboot affected hosts.
- On systems that do not require GPU acceleration, blacklist the nouveau module to remove the attack surface.
- Restrict access to /dev/dri/* device nodes to trusted users and group memberships.
Patch Information
The fix removes the erroneous ttm_bo_pin() call on the -EBUSY return path in nouveau_bo_pin_locked(). Backports are available across stable branches via the following commits: Kernel Commit 189ffc7b, Kernel Commit 19f5a583, Kernel Commit 5cb7109f, Kernel Commit 6a6870d3, Kernel Commit 73c7093e, Kernel Commit 9924c1d6, and Kernel Commit a6e755ac.
Workarounds
- Unload or blacklist the nouveau module on servers that do not require graphics output.
- Limit DRM device node permissions so only authenticated interactive users retain access.
- Disable untrusted local account access on multi-user Linux hosts until patches are applied.
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

