VDB

CVE-2026-98523

CVE-2026-98523 PUBLISHED

drm/client: fix restore of partially initialized client

Reported by linux · Published October 18, 2026

In the Linux kernel, the following vulnerability has been resolved: drm/client: fix restore of partially initialized client I got a null-ptr-deref report when closing a DRM file descriptor: WARNING: drivers/gpu/drm/drm_atomic.c:2031 at __drm_atomic_helper_set_config+0x18e/0x1b0 [drm] Call Trace: drm_client_modeset_commit_atomic+0x16b/0x220 [drm] drm_client_modeset_commit_locked+0x56/0x160 [drm] drm_client_modeset_commit+0x21/0x40 [drm] __drm_fb_helper_restore_fbdev_mode_unlocked.part.0+0x7b/0x80 drm_fbdev_client_restore+0xe/0x20 [drm_client_lib] drm_client_dev_restore+0x9f/0xc0 [drm] drm_release+0xc5/0xe0 [drm] The warning is followed by a NULL pointer dereference: BUG: kernel NULL pointer dereference, address: 0000000000000008 RIP: __drm_fb_helper_restore_fbdev_mode_unlocked.part.0+0x41/0x80 [drm_kms_helper] Call Trace: drm_fbdev_client_restore+0xe/0x20 [drm_client_lib] drm_client_dev_restore+0x9f/0xc0 [drm] drm_release+0xc5/0xe0 [drm] __fput+0xdc/0x2b0 __x64_sys_close+0x39/0x80 do_syscall_64+0x8d/0x460 entry_SYSCALL_64_after_hwframe+0x76/0x7e drm_client_register() adds the DRM client to the device client list before invoking the initial hotplug callback. If the hotplug callback fails, the client remains registered. For the fbdev client, a failure during drm_fb_helper_initial_config() causes the partially initialized fbdev helper to be cleaned up. drm_fb_helper_fini() releases fb_helper->info and leaves it NULL. The fbdev client therefore remains registered even though there is no fully initialized framebuffer device. Later, when userspace closes the DRM file descriptor, drm_release() can invoke the restore callbacks of registered DRM clients: drm_release() drm_client_dev_restore() drm_fbdev_client_restore() drm_fb_helper_restore_fbdev_mode_unlocked() drm_fbdev_client_restore() currently restores the fbdev state unconditionally. For a partially initialized fbdev client this can submit an incomplete modeset state and subsequently access fbdev state which has not been initialized, resulting in the warning and NULL pointer dereference above. drm_fbdev_client_unregister() already uses fb_helper->info to distinguish a fully probed framebuffer device from a partially initialized client. Use the same condition in drm_fbdev_client_restore() and skip restore if no framebuffer device has been successfully initialized.

EPSS 0.21% · 11.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-headersAmazon Linux1:6.18.56-125.164.amzn2023
bpftool6.12Amazon Linux1:6.12.113-138.209.amzn2023
bpftool6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.56-125.164.amzn2023

Risk scores

EPSS Score
0.21%
11.1th percentile

Affected products

VendorProductVersions
LinuxLinux7f5535fcbba2ce7f1908ee7e5c350032a4b1e9d0, 5d08c44e47b9d41366714552bdd374ac4b595591, 5d08c44e47b9d41366714552bdd374ac4b595591
LinuxLinux6.13, 0, 6.12.112
amazon:2023kernel6.18-headers0
amazon:2023bpftool6.120
amazon:2023bpftool6.180
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel6.12.19, 6.13, 6.13
LinuxLinux kernel
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-tools0
amazon:2023perf6.120
amazon:2023python3-perf6.180
amazon:2023kernel6.180
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.18.56-125.1640
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-headers0
LinuxLinux5d08c44e47b9d41366714552bdd374ac4b595591, 7.2.9, 6.18.55
amazon:2023kernel6.12-modules-extra0

…and 8 more

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98523
vulnetix vdb fixes CVE-2026-98523

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98523/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›