# CVE-2026-98523: drm/client: fix restore of partially initialized client

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-18T15:17:40.598Z
- **Modified:** 2026-10-19T10:19:07.417Z

## Who should check

- Anyone running Linux \>= 7f5535fcbba2ce7f1908ee7e5c350032a4b1e9d0, \< 11edd5b6735d2e1069ddce672b1836713647f7fb; \>= 5d08c44e47b9d41366714552bdd374ac4b595591, \< fcbedba553a9c430079ee225df2dc7ab556a2f83; \>= 5d08c44e47b9d41366714552bdd374ac4b595591, \< a69c4b678db808c0d89abb8cedeaaac38d1ef182; \>= 5d08c44e47b9d41366714552bdd374ac4b595591, \< 1fca688e9443003e33cf30453e7a7560367656c9; \>= 6.12.19, \< 6.12.112
- Anyone running Linux 6.13

## Description

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.

## Affected and fixed versions

- Linux: \>= 7f5535fcbba2ce7f1908ee7e5c350032a4b1e9d0, \< 11edd5b6735d2e1069ddce672b1836713647f7fb; \>= 5d08c44e47b9d41366714552bdd374ac4b595591, \< fcbedba553a9c430079ee225df2dc7ab556a2f83; \>= 5d08c44e47b9d41366714552bdd374ac4b595591, \< a69c4b678db808c0d89abb8cedeaaac38d1ef182; \>= 5d08c44e47b9d41366714552bdd374ac4b595591, \< 1fca688e9443003e33cf30453e7a7560367656c9; \>= 6.12.19, \< 6.12.112 (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 6.12.112 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98523. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98523.md
Affected: Linux >= 7f5535fcbba2ce7f1908ee7e5c350032a4b1e9d0, < 11edd5b6735d2e1069ddce672b1836713647f7fb; >= 5d08c44e47b9d41366714552bdd374ac4b595591, < fcbedba553a9c430079ee225df2dc7ab556a2f83; >= 5d08c44e47b9d41366714552bdd374ac4b595591, < a69c4b678db808c0d89abb8cedeaaac38d1ef182; >= 5d08c44e47b9d4136671455…
Fixed in: Linux 11edd5b6735d2e1069ddce672b1836713647f7fb, Linux 1fca688e9443003e33cf30453e7a7560367656c9, Linux 6.12.112

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98523 being exploited?

There is no confirmed exploitation: CVE-2026-98523 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98523?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98523?

Linux \>= 7f5535fcbba2ce7f1908ee7e5c350032a4b1e9d0, \< 11edd5b6735d2e1069ddce672b1836713647f7fb; \>= 5d08c44e47b9d41366714552bdd374ac4b595591, \< fcbedba553a9c430079ee225df2dc7ab556a2f83; \>= 5d08c44e47b9d41366714552bdd374ac4b595591, \< a69c4b678db808c0d89abb8cedeaaac38d1ef182; \>= 5d08c44e47b9d41366714552bdd374ac4b595591, \< 1fca688e9443003e33cf30453e7a7560367656c9; \>= 6.12.19, \< 6.12.112; Linux 6.13.

### Is there a fix for CVE-2026-98523?

Yes. Fixed in Linux 11edd5b6735d2e1069ddce672b1836713647f7fb, Linux 1fca688e9443003e33cf30453e7a7560367656c9, Linux 6.12.112. Upgrade Linux to 6.12.112 or later.

### How do I check if I'm affected by CVE-2026-98523?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/11edd5b6735d2e1069ddce672b1836713647f7fb>
- other: <https://git.kernel.org/stable/c/fcbedba553a9c430079ee225df2dc7ab556a2f83>
- other: <https://git.kernel.org/stable/c/a69c4b678db808c0d89abb8cedeaaac38d1ef182>
- other: <https://git.kernel.org/stable/c/1fca688e9443003e33cf30453e7a7560367656c9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98523>

HTML: <https://flawdb.com/CVE-2026-98523> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98523>
