* Re: [PATCH] media: dvb-core: fix memory leak in dvb_dmxdev_add_pid() on start failure
[not found] ` <advi5yTDwVkRTpV5@gmail.com>
@ 2026-05-13 9:05 ` Jose A. Perez de Azpillaga
0 siblings, 0 replies; only message in thread
From: Jose A. Perez de Azpillaga @ 2026-05-13 9:05 UTC (permalink / raw)
To: syzbot; +Cc: dwlsalmeida, linux-kernel, linux-media, mchehab, syzkaller-bugs
On Sun, Apr 12, 2026 at 08:25:51PM +0200, Jose A. Perez de Azpillaga wrote:
> When dvb_dmxdev_add_pid() adds a new dmxdev_feed to the filter's ts list
> and then dvb_dmxdev_start_feed() fails, the function returns the error
> code but leaves the orphaned feed entry in the list without cleaning up.
>
> Fix this by removing the orphaned feed from the list and freeing it when
> dvb_dmxdev_start_feed() fails in dvb_dmxdev_add_pid().
>
> Fixes: 1cb662a31449 ("V4L/DVB (12275): Add two new ioctls: DMX_ADD_PID and DMX_REMOVE_PID")
> Reported-by: syzbot+afc686a471d70896c5d9@syzkaller.appspotmail.com
> Closes: https://syzkaller.appspot.com/bug?extid=afc686a471d70896c5d9
> Tested-by: syzbot+afc686a471d70896c5d9@syzkaller.appspotmail.com
> Signed-off-by: Jose A. Perez de Azpillaga <azpijr@gmail.com>
hi,
just a gentle ping for this patch. is there anything else needed from my
side?
thanks
--
jose a. p-a
^ permalink raw reply [flat|nested] only message in thread