[Linux-kernel-mentees] [PATCH] udf: Fix memory leak in udf_process_sequence()

Peilin Ye yepeilin.cs at gmail.com
Wed Sep 23 10:29:25 UTC 2020


Hi,

On Wed, Sep 23, 2020 at 12:04:05PM +0200, Jan Kara wrote:
> On Tue 22-09-20 11:45:31, Peilin Ye wrote:
> > udf_process_sequence() is leaking memory. Free `data.part_descs_loc`
> > before returning.
> > 
> > Cc: stable at vger.kernel.org
> > Fixes: 7b78fd02fb19 ("udf: Fix handling of Partition Descriptors")
> > Reported-and-tested-by: syzbot+128f4dd6e796c98b3760 at syzkaller.appspotmail.com
> > Link: https://syzkaller.appspot.com/bug?id=c5ec4e6f5d818f3c4afd4d59342468eec08a38da
> > Signed-off-by: Peilin Ye <yepeilin.cs at gmail.com>
> 
> Thanks for the patch but I've just yesterday written exactly the same patch
> and merged it to my tree...

Ah, no worries, happy to see the bug gets fixed!

Peilin Ye


More information about the Linux-kernel-mentees mailing list