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

Deepanshu Kartikey kartikey406 at gmail.com
Tue Sep 22 20:29:50 PDT 2026


On Sun, Sep 13, 2026 at 8:54 AM Deepanshu Kartikey
<kartikey406 at gmail.com> wrote:
>
> On Sat, Sep 12, 2026 at 10:27 PM Richard Weinberger <richard at nod.at> wrote:
> >
> > Am Sat, Sep 12, 2026, 10:00 schrieb Deepanshu Kartikey <kartikey406 at gmail.com>:
> > > On Sat, Sep 12, 2026 at 12:28 PM Richard Weinberger <richard at nod.at> 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



More information about the linux-mtd mailing list