Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4067830rwo; Mon, 24 Jul 2023 23:24:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlFBCCRyDcIlW9yubRWulzBYwffEtfvoOJ+8zawfu7Bm681szkxakPKt1pS96rSMQd/FbOgJ X-Received: by 2002:a17:906:3009:b0:988:797c:759c with SMTP id 9-20020a170906300900b00988797c759cmr10883387ejz.69.1690266285145; Mon, 24 Jul 2023 23:24:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690266285; cv=none; d=google.com; s=arc-20160816; b=weZGo5fDKP4Ab82gjfshiqG3wvCL2A6Zm8hw4NTqZkT6fSRd7KaKQQ0E45pKhoizUC HLxhbT65t+3uB/DlnySf+wIsR5F8wjLKsvcg6q8A8GyYo1pYlnftOAacYqWkT/o+qDyL Hf97EjnNCRGifsMsFFhUmKQZjb2EDjovgir7YA9ChDm5lOi3jXOtU2aK2xS+ZczOsReW 9xfPrkJD03Ctz/5ResejxLljvK/3pOzxB3+HZzOHoh7cZQBCiicCTKUJWmkR73/cpiO+ jX1FU3cycoz23iEIe9egRme3tnMxlPTqEvyji78uKhgUHQi2I44cXOH0By0Z36rRwC5H +WZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date; bh=TIdpepojz1eG3RV6pbO0jMesH/z9jFBgTN2OUWDk2LQ=; fh=ISGfwDewmOfo6Xtf/wIEUJ/NPVzEhb6c7cfeflN7cCU=; b=EfG1sL0szRLRHRF73D2yiRM7Qqjokf4iMZK2EHgf014Xke9cVBitMzQqrJ+nmeOzQV 6BpNBESh3l0Ag6cOJWF/v7myNTWXLlu5/zX8JrfT+g3A0tIZSnfvuI+9XQzoOou1Mx2N LF78qzAA/g5aZMifgpvPGjUBsGNZfMLhJjIb9Q7b/o7It7JWvJMkUNLLNg7LwH8VcoOr 69DdWvRN6jATzEneFJ8cMbWG595zto5aScb+87oqPc+VkF7ByKMjGosJSdQKkQj3cbJ4 vfvkWAsmBjIjsHPvnJ3xVmA/HCviHRYSa9j2ndTTW5fvAU5lk+Keb6TpWIcsCSkCvJ97 ajFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ja24-20020a170907989800b0099b458697casi7239452ejc.780.2023.07.24.23.24.20; Mon, 24 Jul 2023 23:24:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232021AbjGYGGM (ORCPT + 99 others); Tue, 25 Jul 2023 02:06:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231406AbjGYGGA (ORCPT ); Tue, 25 Jul 2023 02:06:00 -0400 Received: from zg8tndyumtaxlji0oc4xnzya.icoremail.net (zg8tndyumtaxlji0oc4xnzya.icoremail.net [46.101.248.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1D2991BD3; Mon, 24 Jul 2023 23:05:52 -0700 (PDT) Received: from linma$zju.edu.cn ( [42.120.103.62] ) by ajax-webmail-mail-app4 (Coremail) ; Tue, 25 Jul 2023 14:05:35 +0800 (GMT+08:00) X-Originating-IP: [42.120.103.62] Date: Tue, 25 Jul 2023 14:05:35 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Leon Romanovsky" Cc: kuba@kernel.org, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, ast@kernel.org, martin.lau@kernel.org, yhs@fb.com, void@manifault.com, andrii@kernel.org, houtao1@huawei.com, inwardvessel@gmail.com, kuniyu@amazon.com, songliubraving@fb.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH v2] bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20220622(41e5976f) Copyright (c) 2002-2023 www.mailtech.cn mispb-4df6dc2c-e274-4d1c-b502-72c5c3dfa9ce-zj.edu.cn In-Reply-To: <20230725055434.GM11388@unreal> References: <20230725023330.422856-1-linma@zju.edu.cn> <20230725044409.GF11388@unreal> <15dc24fc.e7c38.1898b81ac08.Coremail.linma@zju.edu.cn> <20230725055434.GM11388@unreal> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <7e61b9e3.e7d98.1898ba72993.Coremail.linma@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: cS_KCgB3fxcwZr9khacPCg--.50776W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwQHEmS-J3oE-QAMsh X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VW7Jw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8gTGVvbiwKCj4gCj4gTXkgY29uY2VybiBpcyByZWxhdGVkIHRvIG1haW50YWluYWJpbGl0 eSBpbiBsb25nIHJ1bi4gWW91ciBjaGVjayBhZGRzCj4gYW5vdGhlciBsYXllciBvZiBjYWJhbCBr bm93bGVkZ2Ugd2hpY2ggd2lsbCBiZSBjb3BpZWQvcGFzdGVkIGluIG90aGVyCj4gcGxhY2VzLgo+ IAo+IFRoYW5rcwo+IAoKWWVhaCwgSSBndWVzcyB5b3UgYXJlIHJpZ2h0LiBJIGd1ZXNzIEkgc2hv dWxkIG5vdCBqdXN0ICpmaXgqIHRoaXMgaXNzdWUKYnV0IGFsc28gdGhpbmsgb2YgdGhlIG1haW50 YWluYWJpbGl0eS4gVGhlIHZlcnkgZmlyc3QgaWRlYSBwb3AgaW50byBteQptaW5kIGlzIHRvIGNv bXBsZXRlIHRoZSBuZWNlc3NhcnkgbmxhX3BvbGljeSBoZW5jZSB0aGUgaW52YWxpZCBubGF0dHJz CmNvdWxkIGJlIHJlamVjdGVkIGF0IHRoZSB2ZXJ5IGZpcnN0IHBsYWNlLgoKV2lsbCBzcGVuZCBt b3JlIHRpbWUgb24gdGhpcy4KClJlZ2FyZHMKTGlu