[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANcMJZDrs418aUoVS4CijQFqgAW3pCbfm_NUCmx+T7HNoiMVnQ@mail.gmail.com>
Date: Fri, 21 Jan 2022 13:33:24 -0800
From: John Stultz <john.stultz@...aro.org>
To: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
Cc: Mikhail Gavrilov <mikhail.v.gavrilov@...il.com>,
Linux List Kernel Mailing <linux-kernel@...r.kernel.org>,
rafael.j.wysocki@...el.com, linux-usb@...r.kernel.org,
YongQin Liu <yongqin.liu@...aro.org>
Subject: Re: [Bug][5.17-rc0] Between commits daadb3bd0e8d and 455e73a07f6e,
the kernel stops loading on my devices.
On Thu, Jan 20, 2022 at 3:27 AM Heikki Krogerus
<heikki.krogerus@...ux.intel.com> wrote:
> On Tue, Jan 18, 2022 at 03:12:10PM +0200, Heikki Krogerus wrote:
> > I can reproduce this one by simply not creating the component list in
> > the code. That function - component_master_add_with_match() - can't
> > handle situation where the list is empty. I'll prepare the fix.
>
> I'm again attaching the proposed fix, just to see if it also gets
> corrupted. Can you test does it fix this issue?
> You need to apply it on top of the previous one.
We've been hitting the null pointer crash from
component_master_add_with_match() regression as well on the hikey960
board.
The patch you attached resolves the issue. It would be great to see it
merged upstream soon!
Tested-by: John Stultz <john.stultz@...aro.org>
thanks
-john
Powered by blists - more mailing lists