Skip to main content

In the Linux kernel, the following vulnerability has been resolved: drm/client: fix restore of partially initialized client I got a null-ptr-deref… (CVE-2026-98523)

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

Description

A vulnerability in the Linux kernel's Direct Rendering Manager (DRM) subsystem was resolved that could cause a NULL pointer dereference when closing a DRM file descriptor. This occurs due to a partially initialized framebuffer device client remaining registered after a failed initialization, leading to an invalid restore operation. The issue results in a kernel warning and a NULL pointer dereference during cleanup.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The vulnerability involves the DRM client registration and restore process in the Linux kernel. When drm_client_register() adds a DRM client before invoking the initial hotplug callback, a failure in the hotplug callback leaves the client registered despite incomplete initialization. Specifically, for the framebuffer device (fbdev) client, failure during drm_fb_helper_initial_config() causes partial initialization and cleanup that sets fb_helper->info to NULL. However, the client remains registered. Later, when userspace closes the DRM file descriptor, drm_release() calls the restore callbacks unconditionally, including drm_fbdev_client_restore(), which attempts to restore the fbdev state even if it is partially initialized. This leads to accessing uninitialized state and a NULL pointer dereference. The fix involves checking whether the framebuffer device was fully initialized before attempting restore, skipping restore if not.

Potential Impact

The vulnerability causes a kernel NULL pointer dereference, which can lead to a kernel crash (panic) when closing a DRM file descriptor associated with a partially initialized framebuffer device client. This results in denial of service by crashing the kernel. There is no indication of privilege escalation or arbitrary code execution from the provided data.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to check the framebuffer device initialization state before attempting to restore it, thereby preventing the NULL pointer dereference. Users should update to a Linux kernel 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-hc5h-vrq3-w82j
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98523"]

Threat ID: 6ad520b02cdf04f656993ada

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

Last enriched: 10/18/2026, 20:33:37 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