Message ID | 20221014093807.3101-1-yekai13@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp89013wrs; Fri, 14 Oct 2022 02:48:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5HhIigMtsMUZQXZKYHo9Q0iqSHyekOQPUNjtw+4QVULAHb9YsaSvqkoN2hvicqY5M4yvUb X-Received: by 2002:a17:907:6e18:b0:78d:b374:8989 with SMTP id sd24-20020a1709076e1800b0078db3748989mr2885021ejc.552.1665740896075; Fri, 14 Oct 2022 02:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665740896; cv=none; d=google.com; s=arc-20160816; b=iaw4qZ5azJYyzUD8RGgHI+j/FK+efejiM4L3JH3dJukNceIh0VVvr9Zl8U3gjPaA4N J8vsrN3WPeAWtgs2QzttnuMSQ3QUzQPimlZCy4smgPEY7YRxSa5OBEAoWUJobdc7/EqA yxsqRQSV6B2yn+Cn14kyUlcyY1lfzBZgOCbhCkcpTnELTo0PDRoR2sfg7SikgYu+R1yP ToLDz1CUJx+Wob6PGkp4o6rhg+zSzdYfjtg+jqTZQXxudYpM4ykrRP+yemb7JQtkQTLT BjxthjWi88JAnJMjHUdjlLbx+UP0mXP7XWY/ZjPmKDMS6URbojLVLp4+ELZIN6pGlFEW i6TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=WgVBuiNDJPi9zXYxQM7dlGtc0707QuNlD0t1q0DnCpI=; b=n8ihsPgZRmUqALOU9K5t3bUTGYjdJYeLUuvhv0QHoWLMmLFW3vq4VhBA3WTVVfOsvo pqLWJ1Wn4qN5USa+8mxn/As/2zyg3c7x1+4En2W1RuGIJqUUGCLkC8uYd6MJjkgCGK33 JoObD4Nz9KAzibxnyOR481Gc5kiZsaVhlyafs5DErcZIZ1c+cjfDBohjqr3G7/h3o7qn 2foQnlQmk2S9z1PvUQVqdoteVRDkSzrMt8iowuBWS6pvMzCBKWBw9IOiNurx3SFROvOf 1tP8Xnt+7s3F0EG5sbizv2ESwqSTO018o2C0lm/OI8Bl8/eu1rCfd7sfO2Ie6NJsnCOT K6pQ== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g11-20020a17090669cb00b0073d710fec77si1826186ejs.251.2022.10.14.02.47.49; Fri, 14 Oct 2022 02:48:16 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229875AbiJNJnw (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Fri, 14 Oct 2022 05:43:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiJNJnu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 14 Oct 2022 05:43:50 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAE9914DF1F; Fri, 14 Oct 2022 02:43:49 -0700 (PDT) Received: from dggpeml500021.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MphKY5GgqzHvMQ; Fri, 14 Oct 2022 17:43:45 +0800 (CST) Received: from dggpeml100012.china.huawei.com (7.185.36.121) by dggpeml500021.china.huawei.com (7.185.36.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 14 Oct 2022 17:43:48 +0800 Received: from huawei.com (10.67.165.24) by dggpeml100012.china.huawei.com (7.185.36.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 14 Oct 2022 17:43:48 +0800 From: Kai Ye <yekai13@huawei.com> To: <herbert@gondor.apana.org.au> CC: <linux-crypto@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <wangzhou1@hisilicon.com>, <yekai13@huawei.com> Subject: [PATCH 0/3] crypto:hisilicon/qm - some misc-fixes by fuzz test Date: Fri, 14 Oct 2022 09:38:04 +0000 Message-ID: <20221014093807.3101-1-yekai13@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml100012.china.huawei.com (7.185.36.121) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746655925872964023?= X-GMAIL-MSGID: =?utf-8?q?1746655925872964023?= |
Series |
crypto:hisilicon/qm - some misc-fixes by fuzz test
|
|
Message
yekai (A)
Oct. 14, 2022, 9:38 a.m. UTC
Resolve stack overflow risks for algqos api. Invalid parameter checking is added. Kai Ye (3): crypto: hisilicon/qm - increase the memory of local variables crypto: hisilicon/qm - add pci bdf number check crypto: hisilicon/qm - delete redundancy check drivers/crypto/hisilicon/qm.c | 43 +++++++++++------------------------ 1 file changed, 13 insertions(+), 30 deletions(-)