Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f69dc5db authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "BACKPORT: usb: gadget: f_fs: Fix use-after-free"

parents fc37b40a d822c753
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -689,7 +689,6 @@ static void ffs_user_copy_worker(struct work_struct *work)

	usb_ep_free_request(io_data->ep, io_data->req);

	io_data->kiocb->private = NULL;
	if (io_data->read)
		kfree(io_data->iovec);
	kfree(io_data->buf);