Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4255290imu; Mon, 7 Jan 2019 19:16:28 -0800 (PST) X-Google-Smtp-Source: ALg8bN77OJry607oXjC8jifcUcZUTv1jd1XIcNrQbIDMEdNPCAqtLHqEoQY0OdzIAGSv1FXdQN4A X-Received: by 2002:a62:1e45:: with SMTP id e66mr84225pfe.152.1546917388707; Mon, 07 Jan 2019 19:16:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546917388; cv=none; d=google.com; s=arc-20160816; b=VvLfv5G+UFqlGg5YuPXkld6bEg/W4vO6ZlVO1i1aeV/AWibcjhokuIuP3yTXmFahVV kz3Aa+VVd1P9cBtmhJfNI73Joit4kK1yp6g+A+jgV1iHoUi/LML5Kyqn8+32jxkMoqDF XVd935xoAgyfvOfM5FKGSdpIQ2DitAoUjHFIqOWNMIfynf5fe5zj1lk6xo9yFcwjf1Xs Ts+yqyOKtShdFpw01I2RrvnuKv3rxOIRBPSK8X0ztctT+sfcr2sT7nDbwW2dWT0gjgXv Hzi49ibusDZA/4u4zfx8zrxPsgdes+JSGZwkJ4deyZYgfuXtMqwmIKoFbqMt5uK89q4d jjMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=+D9Z1Ilp8PVGJyylYyvDh4oDh+m0xgJxQB57Pc4OTTU=; b=Lh6a3ifVHJfkzx0Rebcf/qB70oGEEVFEpVekMlf7iEQbto1yxVgzj6TB87GQoXe+Mk ltfx7f9UFxtKUGJAp7Zfwp/R59NkybBtmGKaIaPQ87/wRa6Eh9W0eLjBQoI9kqjpveqE nQExpuIJMVlcwG72IaIHLeeN9wfMvVVT4rY9dX+4XwhxDxw1slE+QzCDAxGccQE7MOJF yBavUqtHdAuQXI9k4sxT9OB3gTRIquJFXfNtJYTzFao9CVTFfjjT1ioXHgKDKICgEvAy Z7l+vggJIq4WtfIxYxNMggf0hKN8IQzhnJ3INzIGQT39lYQxWZbt1iO68b2MFuvLCMoX 26Eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si63844383pla.351.2019.01.07.19.16.13; Mon, 07 Jan 2019 19:16:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727523AbfAHDBL (ORCPT + 99 others); Mon, 7 Jan 2019 22:01:11 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:17122 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727145AbfAHDBK (ORCPT ); Mon, 7 Jan 2019 22:01:10 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 306CB5FB3949D8DA4E28; Tue, 8 Jan 2019 11:01:08 +0800 (CST) Received: from huawei.com (10.175.104.208) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.408.0; Tue, 8 Jan 2019 11:01:00 +0800 From: Liu Jian To: , CC: , Subject: [PATCH 0/2] fix possible memory leak and use-after-free in __uio_register_device Date: Tue, 8 Jan 2019 21:01:46 +0800 Message-ID: <1546952508-186003-1-git-send-email-liujian56@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.104.208] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix possible memory leak and use-after-free in __uio_register_device liujian (2): driver: uio: fix possible memory leak in __uio_register_device driver: uio: fix possible use-after-free in __uio_register_device drivers/uio/uio.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -- 2.7.4