Re: [PATCH] Fixes a null pointer dereference in ptp_ioctl

From: Jakub Kicinski
Date: Tue Nov 07 2023 - 13:12:00 EST


On Mon, 6 Nov 2023 06:18:29 +0530 Yuran Pereira wrote:
> This patch fixes the issue by adding a check for tsevq and
> ensuring ptp_ioctl returns with an error if tsevq is null.
>
> Dashboard link: https://syzkaller.appspot.com/bug?extid=8a78ecea7ac1a2ea26e5

Just Link:

> Reported-by: syzbot+8a78ecea7ac1a2ea26e5@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: c5a445b1e934 ("ptp: support event queue reader channel masks")
>

No empty lines between tags.

> Signed-off-by: Yuran Pereira <yuran.pereira@xxxxxxxxxxx>

When you repost please make sure you CC everyone get_maintainer
(run on the patch file, not the paths) points out.
And CC Edward Adam Davis <eadavis@xxxxxx> since his fixing similar
issues.
--
pw-bot: cr