[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181108172558.GO56134@atomide.com>
Date: Thu, 8 Nov 2018 09:25:58 -0800
From: Tony Lindgren <tony@...mide.com>
To: Janusz Krzysztofik <jmkrzyszt@...il.com>
Cc: Aaro Koskinen <aaro.koskinen@....fi>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>,
linux-arm-kernel@...ts.infradead.org, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] ARM: OMAP1: ams-delta: Fix possible use of uninitialized
field
* Janusz Krzysztofik <jmkrzyszt@...il.com> [181107 13:28]:
> While playing with initialization order of modem device, it has been
> discovered that under some circumstances (early console init, I
> believe) its .pm() callback may be called before the
> uart_port->private_data pointer is initialized from
> plat_serial8250_port->private_data, resulting in NULL pointer
> dereference. Fix it by checking for uninitialized pointer before using
> it in modem_pm().
Applying into omap-for-v4.20/fixes thanks.
Tony
Powered by blists - more mailing lists