CVE-2026-23366 drm/client: Do not destroy NULL modes

Medium 5.5 Published Updated

A NULL pointer dereference in the Linux kernel DRM client can cause a system crash when memory allocation fails during mode probing.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-23366?

CVE-2026-23366 is a medium-severity vulnerability in Linux kernel, published on 25 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

drm/client: Do not destroy NULL modes

'modes' in drm_client_modeset_probe may fail to kcalloc. If this occurs, we jump to 'out', calling modes_destroy on it, which dereferences it. This may result in a NULL pointer dereference in the error case. Prevent that.

Weakness: CWE-476

Which versions are affected by CVE-2026-23366?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-23366?

Apply the vendor's patch.

Is CVE-2026-23366 being exploited?

There is no known exploitation of CVE-2026-23366 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-23366, DEBIAN-CVE-2026-23366, GHSA-m3rw-wqqm-pcwv, UBUNTU-CVE-2026-23366.

Is CVE-2026-23366 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free