On Wed, Jan 06, 2016 at 01:05:03PM +0300, Dan Carpenter wrote:> If memdup_user() fails then we end up passing an ERR_PTR to kfree()> which is a bug.Mind if I fold it (with credit, obviously)?