A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
Weakness type
References
- git.kernel.org /stable/c/625fdac41cfc4ca9e1774a0d31d7985aec2c1d66
- git.kernel.org /stable/c/7f138de156b20d9f9da6f72f90b63c01941d97d3
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning