Re: [PATCH] sh: intc: Fix possible UAF in register_intc_controller
Chen Ridong <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2024/11/13 16:26, Geert Uytterhoeven wrote: > On Wed, Oct 30, 2024 at 7:17 AM Chen Ridong <[email protected]> wrote: >> From: Chen Ridong <[email protected]> >> >> When it goes to error, the 'd' is freed, but 'd->list' was not deleted >> from 'intc_list', which may lead to a UAF. >> >> Fixes: 01e9651a21bc ("sh: add INTC out of memory error handling") >> Signed-off-by: Chen Ridong <[email protected]> > > Reviewed-by: Geert Uytterhoeven <[email protected]> > > Gr{oetje,eeting}s, > > Geert > Hi, can this patch be applied? Thanks, Ridong