CVE-2026-31753 auxdisplay: line-display: fix NULL dereference in linedisp_release
A NULL pointer dereference in the Linux kernel's line-display driver can cause a system crash during device release.
- 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-31753?
CVE-2026-31753 is a medium-severity vulnerability in Linux kernel, published on 1 May 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:
auxdisplay: line-display: fix NULL dereference in linedisp_release
linedisp_release() currently retrieves the enclosing struct linedisp via to_linedisp(). That lookup depends on the attachment list, but the attachment may already have been removed before put_device() invokes the release callback. This can happen in linedisp_unregister(), and can also be reached from some linedisp_register() error paths.
In that case, to_linedisp() returns NULL and linedisp_release() dereferences it while freeing the display resources.
The struct device released here is the embedded linedisp->dev used by linedisp_register(), so retrieve the enclosing object directly with container_of() instead.
Weakness: CWE-476
Which versions are affected by CVE-2026-31753?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-31753?
Apply the vendor's patch.
Is CVE-2026-31753 being exploited?
There is no known exploitation of CVE-2026-31753 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2026-31753, GHSA-gmmh-f7fw-32mm, UBUNTU-CVE-2026-31753.