Skip to main content

In the Linux kernel, the following vulnerability has been resolved: drm/virtio: fix memory leak of fence event on execbuffer failure… (CVE-2026-98509)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:51 UTC)
Source: GCVE Database

Description

A memory leak vulnerability in the Linux kernel's drm/virtio driver was fixed. The issue occurs when an execbuffer operation fails, leaving a DRM fence event allocated but never freed, causing a permanent memory leak. This happens because the event is reserved early but not cancelled on error paths, and the driver loses the pointer to free it. The flaw was discovered via fuzzing with Syzkaller and affects the virtio_gpu_execbuffer_ioctl() function.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 20:33:28 UTC

Technical Analysis

The Linux kernel's drm/virtio driver had a memory leak vulnerability (CVE-2026-98509) in the virtio_gpu_execbuffer_ioctl() function. When VIRTGPU_EXECBUF_RING_IDX selects a ring with polling enabled, a DRM event is reserved early in virtio_gpu_init_submit(). If later processing fails (e.g., invalid buffer object handle or sync object), the error path runs with the event pending. The cleanup function drops the out-fence without cancelling the event, freeing the fence but losing the only driver-side pointer to the event. As drm_events_release() does not free orphaned events, the allocation leaks permanently. The fix cancels and frees the DRM event on error paths and clears the fence's event pointer to avoid dangling references.

Potential Impact

The vulnerability causes a permanent memory leak in the kernel's DRM virtio GPU driver when execbuffer operations fail. This could lead to increased memory usage and potential resource exhaustion on affected systems. There is no indication of direct code execution or privilege escalation from this flaw. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix is available that cancels and frees the DRM event on execbuffer failure paths and clears the fence's event pointer to prevent leaks. Users should update their Linux kernel to a version that includes this fix. Since this is a kernel-level issue, applying the official kernel patch or upgrading to a fixed kernel release is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-f38g-7gw9-c4x5
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98509"]

Threat ID: 6ad520b02cdf04f656993ade

Added to database: 10/18/2026, 19:40:32 UTC

Last enriched: 10/18/2026, 20:33:28 UTC

Last updated: 10/18/2026, 22:02:57 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses