Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7354872imu; Tue, 22 Jan 2019 04:46:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN4j/Ft0w1TrxUjH9dYoKCIN9F7wHwDzlIsSUiiIln2gxBKJYQ0gLAbEY1xpCE1OIjDOG7r4 X-Received: by 2002:a63:bc02:: with SMTP id q2mr32180878pge.116.1548161213638; Tue, 22 Jan 2019 04:46:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548161213; cv=none; d=google.com; s=arc-20160816; b=Ms2484fVels9+63qwDUy2s2A3artxu+hl9g40F9/3OaX5BokzY+YWKZPD5YG3ak2b/ yAHJ7gQf7o0ZARnUCtVvdkPB1EMai/2CdiBBuLi+UaahlAoVG5cyKlyQxMQTU/i9zAnx T/1GEUzvrRc6gZcgzw1Kx8fPoS5frbgiRxAltTovaNdWfFTEwTDKilXpL4weMlTLq2Sx zOIZXD7a9AH7FT60BN3m1dp8PpWcY0M0ppoZj/yEYIKCmwIZ/HwXsDW5YxkdNy/aH//5 VyhPYNX/72Hf0c6uOZJDoHfknQkR7oH9PXEtbKKuq/1UyXrLhYbqvRRF3ZYsXJ9Zk/r7 Farw== 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=dN/6oQQnD8hzmWIp0X/LlozpjL4EB8B+Tgy7zYxRbLY=; b=yY1xtbCtEbsP/p8YFFm+NFj1Pq+dYs9ZhORUgxhpe6+UdL8pnnPKbDga71q0Gm8Ubg VhOKZE1pB5mkZhyTtmEw7CsF4fWKj9gORO84b4nrtVY16SVPwgM4Ckp8xgfkUnpen+uJ KyRGOPFEzuBKUQlLa9V9YUi6HAP4mxMqsfkd/92QRKdiv1dLXqhFsuHr8uM9vi67mP0M kwJA5mSS1kMABzaZL0VImcA0sa6liktGaJNAUUI8YJHlL0EpHq/2oRmRKdDOTBL2DHc6 l/0ljQqCD8u/QtaLwsGRr8c3Ci6GIg2ACiaOMczqEcpnFbd6V4h6cOYGMOtcgf07myrP MAOw== 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 t63si15443163pgd.78.2019.01.22.04.46.36; Tue, 22 Jan 2019 04:46:53 -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 S1728421AbfAVMp1 (ORCPT + 99 others); Tue, 22 Jan 2019 07:45:27 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:2212 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728215AbfAVMp1 (ORCPT ); Tue, 22 Jan 2019 07:45:27 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 7ED44EA45A60584CDFF9; Tue, 22 Jan 2019 20:45:25 +0800 (CST) Received: from huawei.com (10.175.104.208) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.408.0; Tue, 22 Jan 2019 20:45:19 +0800 From: Liu Jian To: CC: , Subject: [PATCH v2 0/2] fix possible memory leak and use-after-free in __uio_register_device Date: Wed, 23 Jan 2019 06:45:36 +0800 Message-ID: <1548197138-352285-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 v1->v2: fix email From:line Liu Jian (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