CVE-2026-31753

MEDIUM

auxdisplay: line-display: fix NULL dereference in linedisp_release

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 3.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (8)
Linux/Linux < 6.19
Linux/Linux 6.19
Linux/Linux 6.19.12 - 6.19.*
Linux/Linux 66c93809487e62c4f59ef08625a3fbc0a7de6dd2 - 625fdac41cfc4ca9e1774a0d31d7985aec2c1d66
Linux/Linux 66c93809487e62c4f59ef08625a3fbc0a7de6dd2 - 7f138de156b20d9f9da6f72f90b63c01941d97d3
Linux/Linux 7.0
linux/linux_kernel 7.0 rc1 (6 CPE variants)
linux/linux_kernel 6.19 - 6.19.12
Published May 01, 2026
Tracked Since May 01, 2026