Re: [PATCH v2] amba: Fix use-after-free in amba_read_periphid()

From: Gabriel Francisco
Date: Tue Sep 06 2022 - 16:59:11 EST


On 06/09/2022 19:54, Isaac Manjarres wrote:
On Sun, Sep 4, 2022 at 4:15 AM Gabriel Francisco <frc.gabriel@xxxxxxxxx> wrote:
This patch alone on top of v6.0-rc2 still gives me the null pointer.

But combining it with Zhen Lei's patch (from
https://lkml.org/lkml/2022/8/27/164) my device boots successfully.
Hi Gabriel,

Thanks for your e-mail. I think my AMBA bus patch and
https://lore.kernel.org/all/20220817184026.3468620-1-isaacmanjarres@xxxxxxxxxx/
(merged in 6.0-rc4), instead of Zhen Lei's patch, should fix the
problem entirely.

Thanks,
Isaac

I'm afraid the issue is still showing up (looks similar when I tested with 6.0-rc2 + your patch and it went away when combining with Zhen Lei's one).

I added the dmesg log at https://bugzilla.kernel.org/attachment.cgi?id=301756

Thank you,

Gabriel Francisco