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

6 views
Skip to first unread message

Peilin Ye

unread,
Sep 22, 2020, 2:15:33 AM9/22/20
to syzbot+128f4d...@syzkaller.appspotmail.com, syzkall...@googlegroups.com
#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

udf_process_sequence() is leaking memory. Free `data.part_descs_loc`
before returning.

<TODO>
- add Fixes: tag.
- improve commit log.
syz_v1.patch

syzbot

unread,
Sep 22, 2020, 11:30:08 AM9/22/20
to syzkall...@googlegroups.com, yepei...@gmail.com
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+128f4d...@syzkaller.appspotmail.com

Tested on:

commit: 98477740 Merge branch 'rcu/urgent' of git://git.kernel.org..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=23de0cdbdd5f681b
dashboard link: https://syzkaller.appspot.com/bug?extid=128f4dd6e796c98b3760
compiler: gcc (GCC) 10.1.0-syz 20200507
patch: https://syzkaller.appspot.com/x/patch.diff?x=1027a8ad900000

Note: testing is done by a robot and is best-effort only.
Reply all
Reply to author
Forward
0 new messages