# CVE-2026-31753: auxdisplay: line-display: fix NULL dereference in linedisp_release

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-01T14:14:44.953Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 66c93809487e62c4f59ef08625a3fbc0a7de6dd2 before 625fdac41cfc4ca9e1774a0d31d7985aec2c1d66; from 66c93809487e62c4f59ef08625a3fbc0a7de6dd2 before 7f138de156b20d9f9da6f72f90b63c01941d97d3; 6.19 (not affected: before 6.19; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/625fdac41cfc4ca9e1774a0d31d7985aec2c1d66> (patch)
- <https://git.kernel.org/stable/c/7f138de156b20d9f9da6f72f90b63c01941d97d3> (patch)

## Sources

- CVE List: [CVE-2026-31753](https://www.cve.org/CVERecord?id=CVE-2026-31753), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-31753](https://nvd.nist.gov/vuln/detail/CVE-2026-31753), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31753 · Whole record: https://cve.day/CVE-2026-31753.json · Rebuilt by cve.day 2026-11-25T22:59:20.370Z
