Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4234228pxf; Tue, 16 Mar 2021 08:36:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0nX137h8GGlU6lOn8/aCXeE12Dp3DSGIaVlC/hXASUA45zW2G2X1MIhT3CZMaftTs0yae X-Received: by 2002:a17:906:3159:: with SMTP id e25mr20367938eje.303.1615908997894; Tue, 16 Mar 2021 08:36:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1615908997; cv=pass; d=google.com; s=arc-20160816; b=eUFPv66xj0rZWBvSDVpOGo7r45IIFhXMif0W7IBNNEp2LbuX4cr+tbonkr8EfDc/O5 RxPcUB+GrNyPbnMoYZWh8VUbm3qGtbAVosx+NvvdEHn+17/Lw4tZ29cbwFZEYA9bkhON XktGC0Z4YcD1CCVNpeRmSX4rIRGohUrm/v6uuvRiUhl4My09wqMR64tLknXDoT5Isxhs 421HT09izu27TtiKfeSgKvYrbZ4/IdYFQJZa17TKDdh6WKNlkWW3TJzO/AruVNURLqWM Evs22Se069pwFrsyWS9qyb/fj7amavesSvid8LpqO6BLXDTDkIxXDQqejAstlHKu8F8c OkQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=nzlIiO70faCxmLwDITEOrOpFlW4JMqAjmPx2pkRtSBE=; b=m0wr0ZOBDe36m8ipkGPgLdqbXHbURUYWbbWZL6wGvkLo6zoJG9dFM7z//u6bV2EFU4 BM9O24tqCH3emilESQozx5+HGRAhYBXhG27o8WbCsUktKkte0aq49k/juVSktqcttIXb GFKG/yX4TYo0vAC2K06U7tA0M0D7f8VT0nuMNJqaWIcmqv2N2wosUxb54tGHzIQre7/G 8UA+M8wQTtVmRccR9q5aCjU5rItFvIh3XlCBh1hCM0pDlU62B6Y8jHh3tL3vwBjc7341 xDqK6zfOOpPQ8PccR/Yybje77LT8088eWxW81nBgpWEoNRp19B3uBEpKbzZpwveqO1DR nHFg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=XMvIgfKI; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si10724388edk.222.2021.03.16.08.36.14; Tue, 16 Mar 2021 08:36:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=XMvIgfKI; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234554AbhCPL36 (ORCPT + 99 others); Tue, 16 Mar 2021 07:29:58 -0400 Received: from mail-dm6nam11on2054.outbound.protection.outlook.com ([40.107.223.54]:6113 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234605AbhCPL3i (ORCPT ); Tue, 16 Mar 2021 07:29:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LhJ0oiHMQl3y3b13JPEX7two1DlL1IkA9E8CBdtKbaZbbTqIKz1eNrat8yt0F9fjWKuNGDbuS4o68EX+vQrRFtDOkIEabd56ghdbyvWNiDhMp8P6pTJPW5p0jepKpiozTayRY4+DIStNYbnj1h2tLKZmGva8MiZ8QdVrFm6V/f4zlBrFo6ZvfZ/SXNcUdcSE4asKY4nPLl72sAXfHtKqfW5EYyOb6EX1/6+J+vtke+HyxSc4fELRRnsGPz73ObaqxweK6Ugr9d5R3VJzMEMPr1wJseJc3cPDiKw3kkmHig/uuwbKm3JkCd7do+Znqi96LgOm8JDynI8LTytqvk2lOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nzlIiO70faCxmLwDITEOrOpFlW4JMqAjmPx2pkRtSBE=; b=BRB+SCJ0i+V3BgUEIofmKJad5s67kI4eKNEpRK0HN4V4/qmpATubH3J9Ft8Ahck/iuTeBfropoP5h1wVAP5W+hEhyvH0K0hY4Ds+0WPfNuK+G99/znJ8SRqBDffoZfACGTKowiAQYgiYoZWvLMQ1fWD3bd+fOcNkxry6NWEktFx+yu9K49YGp4X21oFaXIduuZTLNHhzk2BIuMOhsJLxn6fVZZR2jBiopALexL7onQsJo5g1rBl3RO/MDmbMUhTBPDRXqx/rnwz+tFjZPy61UfbKBlHGS64AWXfwUtDyTiPBS8ZICWFD1pPGM/IADMNpuRIqd3VHwTzXmcUn7eYQIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nzlIiO70faCxmLwDITEOrOpFlW4JMqAjmPx2pkRtSBE=; b=XMvIgfKI6GyTEvKTN1TUFa8Ox8OMAsn3p4F955X5uTSIN3eAps5fjSkaiAd/9et2r3TCsEmxXvJuw48JOZGunabt9I7WczcwSG9j/sQcA9uUR0/x5153jRvbYc7avseL9ZV54KfZoT2g9PJKUoMg20tzgSLbwUttlCzIRhDBN9U= Received: from DM6PR11MB4202.namprd11.prod.outlook.com (2603:10b6:5:1df::16) by DM5PR1101MB2268.namprd11.prod.outlook.com (2603:10b6:4:53::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Tue, 16 Mar 2021 11:29:36 +0000 Received: from DM6PR11MB4202.namprd11.prod.outlook.com ([fe80::f19f:b31:c427:730e]) by DM6PR11MB4202.namprd11.prod.outlook.com ([fe80::f19f:b31:c427:730e%4]) with mapi id 15.20.3933.032; Tue, 16 Mar 2021 11:29:36 +0000 From: "Zhang, Qiang" To: "ast@kernel.org" , "daniel@iogearbox.net" , "andrii@kernel.org" , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , "kpsingh@kernel.org" , "alexei.starovoitov@gmail.com" CC: "dvyukov@google.com" , "linux-kernel@vger.kernel.org" , "syzbot+44908bb56d2bfe56b28e@syzkaller.appspotmail.com" , "bpf@vger.kernel.org" Subject: =?gb2312?B?u9i4tDogW1BBVENIIHYyXSBicGY6IEZpeCBtZW1vcnkgbGVhayBpbiBjb3B5?= =?gb2312?Q?=5Fprocess()?= Thread-Topic: [PATCH v2] bpf: Fix memory leak in copy_process() Thread-Index: AQHXGXisamgV0cMrEEG9Ytn4tLDnhqqGekcZ Date: Tue, 16 Mar 2021 11:29:36 +0000 Message-ID: References: <20210315085816.21413-1-qiang.zhang@windriver.com> In-Reply-To: <20210315085816.21413-1-qiang.zhang@windriver.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=windriver.com; x-originating-ip: [106.39.150.203] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 44f65fcf-5e6d-4ce4-dee6-08d8e86ec7b9 x-ms-traffictypediagnostic: DM5PR1101MB2268: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8/ygk8zU18xUdgwZpdeiiYKHxZDwmEIYXF1FYIe81oEEdqF85vF1YHw0Zm0zhrc6cRU29LeIV4225T5yubAGHz6u8AX19nk3yAIh9n7Bt5d2gX3VVb53hZHCejT96gb1f/We/WbZTQ89f8r12pBH8A/O2RUEBmFlstjrl8XvoQqD4zbUg8VrE4N/k9M35gTryIdyoIZPLwyw3umZ+MJW5jLr5uIUDxja3DlKa3Xw8OLn3SUOmN+EqQov6Sjj4Jg1pR9wwQ2i08dT5+7q6/zjoxO4eRr9u6VzZFElZW++c6IghLv758CpxFqg6CjBdsTeUONZS1kzydnkA5e+VpKhURJhk1CIskSJsmZYhvIZMz6l5Jhj9T9Ckv8UqTlWmSx28lBhWyxYqHhBKivGCewHK3eD8KpkogFy6qQ0JStRtjYdeZ5REqsbzhjGaEyRrOWjFxFDRfaLFwNd0mpSQemvcj+jXft7R3yrDdpDD5oJd4mgAkXyYhLbuYmz10/drVclpMicVvHtJvX/k8HLSQfOjOaztQgQiJAtmOdJnKbAvFQ+Ac91ztbcIIq8/KFPa9RG x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4202.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39850400004)(136003)(346002)(366004)(396003)(376002)(66556008)(91956017)(110136005)(6506007)(4326008)(66476007)(64756008)(54906003)(76116006)(8936002)(33656002)(26005)(7416002)(5660300002)(52536014)(316002)(83380400001)(7696005)(66946007)(66446008)(9686003)(224303003)(86362001)(71200400001)(186003)(2906002)(55016002)(478600001);DIR:OUT;SFP:1101; x-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= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4202.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 44f65fcf-5e6d-4ce4-dee6-08d8e86ec7b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2021 11:29:36.7229 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: n1qNhN1TuDF4SVopwCr+ohVQsJwLPCtcYaydLvaVVPfhsHun/ZO2vdrIQ6m3ZS8x4vmoMGPeXiAXMSYhK5TYFRYMm8SAvRpjJcjtWVm8QPU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2268 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8gQWxleGVpIFN0YXJvdm9pdG92IERhbmllbCBCb3JrbWFubgpQbGVhc2UgIHJldmlldyB0 aGlzIHBhdGNoLgoKVGhhbmtzClFpYW5nCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fCreivP7IyzogWmhhbmcsIFFpYW5nIDxxaWFuZy56aGFuZ0B3aW5kcml2ZXIuY29t Pgq3osvNyrG85DogMjAyMcTqM9TCMTXI1SAxNjo1MwrK1bz+yMs6IGFzdEBrZXJuZWwub3JnOyBk YW5pZWxAaW9nZWFyYm94Lm5ldDsgYW5kcmlpQGtlcm5lbC5vcmcKs63LzTogZHZ5dWtvdkBnb29n bGUuY29tOyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOyBzeXpib3QrNDQ5MDhiYjU2ZDJi ZmU1NmIyOGVAc3l6a2FsbGVyL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