Re: [Linux-kernel-mentees] [PATCH v3] media/v4l2-core: Fix kernel-infoleak in video_put_user()

Dan Carpenter
2020-07-27T14:46:37Z

On Mon, Jul 27, 2020 at 10:14:16AM -0400, Peilin Ye wrote:
> Yes, I would like to! I will start from:
>
> drivers/firewire/core-cdev.c:463

My prefered fix for this would be to add a memset at the start of
fill_bus_reset_event().

memset(event, 0, sizeof(*event));

spin_lock_irq(&card->lock);

event->closure = client->bus_reset_closure;

> drivers/input/misc/uinput.c:743

I don't think this is a bug.

regards,
dan carpenter