[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160529.223258.480260903888395056.davem@davemloft.net>
Date: Sun, 29 May 2016 22:32:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: richardcochran@...il.com, falakreyaz@...il.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] ptp: oops in ptp_ioctl()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Thu, 26 May 2016 09:46:22 +0300
> If we pass ERR_PTR(-EFAULT) to kfree() then it's going to oops.
>
> Fixes: 2ece068e1b1d ('ptp: use memdup_user().')
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks.
Powered by blists - more mailing lists