Re: [PATCH] jffs2: fix double-free of f->target in jffs2_alloc_inode()

From: Deepanshu Kartikey

Date: Tue Sep 22 2026 - 23:32:10 EST


On Sun, Sep 13, 2026 at 8:54 AM Deepanshu Kartikey
<kartikey406@xxxxxxxxx> wrote:
>
> On Sat, Sep 12, 2026 at 10:27 PM Richard Weinberger <richard@xxxxxx> wrote:
> >
> > Am Sat, Sep 12, 2026, 10:00 schrieb Deepanshu Kartikey <kartikey406@xxxxxxxxx>:
> > > On Sat, Sep 12, 2026 at 12:28 PM Richard Weinberger <richard@xxxxxx> wrote:
> > > I feel the patch you are pointing at fixes a different kind of issue ?
> >
> > Well, different symptoms of a common root cause.
> >
> > Thanks,
> > //richard
>
> Totally understood this. But it is good to have a defensive check so that
> there is no dangling pointer. It will prevent future [UAF, double free bugs].
>
> Thanks
>
> Deepanshu

Let me know the status of this patch

Thanks

Deepanshu