Skip to main content

Linux Kernel CVE-2026-64098

| EUVDEUVD-2026-45783 HIGH
Improper Locking (CWE-667)
2026-07-19 Linux GHSA-9phf-m556-w4xg
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open DRM device node in guest
  2. Delivery
    Issue DRM_IOCTL_MODE_CURSOR repeatedly
  3. Exploit
    Force resv lock failure via signal or fault injection
  4. Execution
    dma_resv_add_fence runs without lock held
  5. Persist
    Corrupt fence list / trigger lockdep WARN
  6. Impact
    Kernel instability or DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
Exploitation Conditions

Exploitation requires local access to a Linux system whose kernel has loaded the virtio-gpu (drm/virtio) driver - in practice a virtualized guest configured with a virtio GPU - and the ability to open the DRM device node and invoke the DRM_IOCTL_MODE_CURSOR ioctl (the drm_mode_cursor path), so it is not exploitable remotely or against baremetal hosts lacking virtio-gpu. The vulnerable window is a failure of virtio_gpu_array_lock_resv() during a plane/cursor update, reached either by a signal arriving during the lock wait (-EINTR, the realistic trigger, which the fix removes) or by fence-slot allocation failure (-ENOMEM). Limiting factors: the -ENOMEM branch was demonstrated only via kernel fault injection (fail_nth), which normally needs elevated privileges and debugfs access; access to DRI device nodes is typically restricted to logged-in/graphical users or the video group; and hitting the race reliably depends on timing and lock contention, so the practical impact is most consistent with a WARN and potential fence-list corruption rather than deterministic code execution.

Impact

The signals are mixed and lean toward lower real-world priority than the 7.8 base score suggests. The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) treats this as a high-impact local privilege issue, but the description indicates the realistic outcomes are a lockdep WARNING and possible fence-list corruption under contention - primarily a stability/DoS concern, with memory-corruption-to-privilege-escalation being speculative and not demonstrated. EPSS is low (0.18%, 8th percentile), the CVE is NOT on CISA KEV, and no POC is referenced - only a syzbot reproducer driven by fault injection (fail_nth), which normally requires elevated privileges to arm. The most realistic non-fault-injection trigger is the -EINTR path (a signal during the lock wait), which the fix specifically eliminates. Note a discrepancy: the input tags 'Code Injection' and rates C:H/I:H/A:H, yet the description supports a locking/race bug whose primary demonstrated effect is a WARN plus list corruption - verify impact claims with the kernel commit before treating this as a confirmed RCE/LPE. Overall: legitimate correctness bug worth patching in the normal kernel-update cycle, not an emergency.

Exploit ScenarioDerived

A local user on a Linux VM guest with virtio graphics opens the DRM device and repeatedly issues DRM_IOCTL_MODE_CURSOR while delivering signals to the thread (or, with sufficient privilege, arms fail_nth fault injection) so that the resv lock acquisition inside the atomic cursor update fails but the code continues. The queue path then calls dma_resv_add_fence() without holding the lock, producing a lockdep WARNING and racing the fence list, which can corrupt it and destabilize the kernel. No public exploit code is identified at time of analysis; only a syzbot fault-injection reproducer is described.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 20, 2026

Denial of service and potential dma_resv fence-list corruption in the Linux kernel's virtio-gpu DRM driver (drm/virtio) affects Linux guests using virtio graphics, where virtio_gpu_cursor_plane_update() and virtio_gpu_resource_flush() ignore the return value of virtio_gpu_array_lock_resv(). When the lock acquisition fails with -EINTR (signal during wait) or -ENOMEM (fence-slot allocation), the code proceeds to call dma_resv_add_fence() on an unheld lock, tripping a lockdep WARNING and racing concurrent readers/writers of the fence list. There is no public exploit identified at time of analysis; EPSS is low (0.18%, 8th percentile) and the issue was found by syzbot via fault injection rather than in-the-wild abuse.

RemediationAI

Vendor-released patch: update to a fixed stable kernel - 6.1.175, 6.6.142, 6.12.92, 6.18.34, 7.0.11, or 7.1, or later on your branch - as shipped by your distribution, and reboot into it. The fix introduces virtio_gpu_lock_one_resv_uninterruptible() (using dma_resv_lock() instead of the interruptible variant) to remove the -EINTR failure mode, and adds return-value checks so the remaining -ENOMEM case frees the object array and skips that frame's plane update rather than proceeding without the lock; apply it via the commits at https://git.kernel.org/stable/c/7930eee22cd3df61e85be8aa512032ab303b7167 (and the sibling stable commits). If immediate patching is not possible, compensating controls are limited because the trigger is a local ioctl: restrict access to the DRM device nodes (/dev/dri/card*, /dev/dri/renderD*) to trusted users/groups to reduce who can issue DRM_IOCTL_MODE_CURSOR, and disable kernel fault-injection interfaces (CONFIG_FAILSLAB / fail_nth via /sys/kernel/debug and failslab) or unmount debugfs so the -ENOMEM branch cannot be forced - trade-offs are that tightening DRI permissions can break unprivileged graphical or headless-render workloads, and disabling fault injection removes a developer/testing facility. For guests that do not need virtio graphics, not loading the virtio-gpu driver eliminates the exposed path at the cost of losing that display device.

Affected VersionsENISA

Linux patch: 6.12.92
Linux 5cfd31c5b3a321aed0c9621b7b45efa2942056f8 <7930eee22cd3df61e85be8aa512032ab303b7167
Linux patch: 0
Linux patch: 6.6.142
Linux 5cfd31c5b3a321aed0c9621b7b45efa2942056f8 <c86077d512ee980cc91322211d35dbcd3175f64c
Linux 5cfd31c5b3a321aed0c9621b7b45efa2942056f8 <21ab64c77a30d56efc506c8fa2ad8959f8ce3d36
Linux 5cfd31c5b3a321aed0c9621b7b45efa2942056f8 <9af1b6e175c82daf4b423da339a722d8e67a735a
Linux patch: 7.0.11
Linux 5cfd31c5b3a321aed0c9621b7b45efa2942056f8 <8fadd01cf461fee5bb11506621339c548447e5c7
Linux 5cfd31c5b3a321aed0c9621b7b45efa2942056f8 <a2359a411b15f495d12cfda6a7db6855ebb7f90f
Linux patch: 6.1.175
Linux patch: 7.1
Linux 5.7
Linux patch: 6.18.34

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the virtio-gpu paravirtualized GPU driver in the DRM (Direct Rendering Manager) subsystem, which serves graphics for Linux guests running under QEMU/KVM and similar hypervisors. The bug lives in the dma_resv reservation-object locking discipline used to serialize access to a buffer object's (BO) fence list. virtio_gpu_array_lock_resv() wraps dma_resv_lock_interruptible() and dma_resv_reserve_fences(); the former returns -EINTR if a signal arrives during the lock wait, the latter returns -ENOMEM on allocation failure, and in both cases the resv lock ends up NOT held. Both call sites run inside the DRM atomic .atomic_update plane callback - a callback the DRM helpers do not permit to fail - so the code proceeded to queue commands that call dma_resv_add_fence(), which asserts the lock is held (dma_resv_assert_held() at drivers/dma-buf/dma-resv.c:296). This is fundamentally a missing-error-check / improper-locking defect (CWE-252 unchecked return value combined with CWE-667 improper locking / CWE-362 race condition); the input's 'Code Injection' tag and CWE 'N/A' are not well supported by the technical description.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.3 MEDIUM

Local DRM ioctl only (AV:L, PR:L); needs a race/fault-injection window so AC:H; demonstrated impact is a WARN and fence-list corruption (A:H, I:L), with no confidentiality effect.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.0 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 20, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:40 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 15:40 cve.org
HIGH 7.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

drm/virtio: use uninterruptible resv lock for plane updates

virtio_gpu_cursor_plane_update() and virtio_gpu_resource_flush() lock the framebuffer BO's dma_resv via virtio_gpu_array_lock_resv() and ignore its return value. The function can fail with -EINTR from dma_resv_lock_interruptible() (signal during lock wait) or with -ENOMEM from dma_resv_reserve_fences() (fence slot allocation), leaving the resv lock not held. The queue path then walks the object array and calls dma_resv_add_fence(), which requires the lock held; with lockdep enabled this trips dma_resv_assert_held():

WARNING: drivers/dma-buf/dma-resv.c:296 at dma_resv_add_fence+0x71e/0x840 Call Trace: virtio_gpu_array_add_fence virtio_gpu_queue_ctrl_sgs virtio_gpu_queue_fenced_ctrl_buffer virtio_gpu_cursor_plane_update drm_atomic_helper_commit_planes drm_atomic_helper_commit_tail commit_tail drm_atomic_helper_commit drm_atomic_commit drm_atomic_helper_update_plane __setplane_atomic drm_mode_cursor_universal drm_mode_cursor_common drm_mode_cursor_ioctl drm_ioctl __x64_sys_ioctl

Beyond the WARN, mutating the dma_resv fence list without the lock races with concurrent readers/writers and can corrupt the list.

Both call sites run inside the .atomic_update plane callback, which DRM atomic helpers do not allow to fail (by the time it runs, the commit has been signed off to userspace and there is no clean rollback path). Moving the lock acquisition to .prepare_fb was rejected because the broader lock scope deadlocks against other BO locking paths in the same atomic commit.

Introduce virtio_gpu_lock_one_resv_uninterruptible() that uses dma_resv_lock() instead of dma_resv_lock_interruptible(). This eliminates the -EINTR failure mode -- the realistic syzbot trigger -- without extending the lock hold across the commit. The helper locks a single BO and rejects nents > 1 with -EINVAL; both fix sites lock exactly one BO.

Use it from virtio_gpu_cursor_plane_update() and virtio_gpu_resource_flush(); check the return value to handle the remaining -ENOMEM case from dma_resv_reserve_fences() by freeing the objs and skipping the plane update for that frame. The framebuffer BOs touched here are not shared with other contexts and lock contention is expected to be brief, so the loss of signal-interruptibility is acceptable.

Other callers of virtio_gpu_array_lock_resv() (the ioctl paths) continue to use the interruptible variant.

The bug was reported by syzbot, triggered via fault injection (fail_nth) on the DRM_IOCTL_MODE_CURSOR path, which forces the -ENOMEM branch in dma_resv_reserve_fences().

Executive ViewAI

Why It Matters

CVE-2026-64098 affects Linux virtual machines using virtio graphics drivers, where incomplete error handling creates denial-of-service and memory corruption risks. With no active exploitation (EPSS 0.2%) but HIGH severity impact, organizations running virtualized Linux infrastructure should prioritize patching to prevent potential guest OS failures and data corruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
virtio-gpu driver, common in Linux VM guests, absent on baremetal
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy