In the Linux kernel, the following vulnerability has been resolved: serial: fsl_lpuart: fix tty ref of wakeup event To report a wakeup event, lpuart_resume_noirq() gets the tty with tty_port_tty_get() and never puts it: each wakeup by the UART leaks a reference, and the tty is not freed when it is closed. With no_console_suspend, the function also gets there for a console which is not open. Then tty_port_tty_get() returns NULL, which is dereferenced.
https://git.kernel.org/stable/c/4f494aa9c549d7229c431781b0618c113fb612c8
https://git.kernel.org/stable/c/0f0664a63efdfd70d1c555080781f4e8464445aa