Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3510483rwb; Mon, 16 Jan 2023 08:57:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXt1M32uy+5yfoflSJ8JNQE+lo6nffGetCDEJFvYeSb+34mNaagirq3n6WVwVzlClGDDT3QF X-Received: by 2002:a17:90a:7e14:b0:219:eeb9:943f with SMTP id i20-20020a17090a7e1400b00219eeb9943fmr92458786pjl.49.1673888256866; Mon, 16 Jan 2023 08:57:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673888256; cv=none; d=google.com; s=arc-20160816; b=L0k8ileP3OCLl4XLQeziHVFwYvUsuWVbGCIEpe8IEEwGdlQj4BsCn2CVFMzCLsvc0N tq7oy1Hh1qXmrgcgInNXcJ+ugd7XLAT70kAfI9SdywznTyZ2X+WeBVrczxprVm1SnbL2 aEtGD7lUStZ+fEm66lQXwHtrf5e3bJFARJWFseNN0F9JKy1zhGLMobC+J2OPx5fW2Auk +FnLaQ7jrG46SQ8JQzBTVDvNkUsQx8+OBLxfNeHtVVuDapBIP+3F61kZ7zhuBwnYqb6p SE5rgghExZ5JbV2nt6/DV3mA/lSAhcrwAp2e0FX81ieKTJE46wa9aJBIFSVz+xjr0+q/ MjVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kbMoegRaw557RfV/yayA0mkFwYPRLDIoXY9PttPGE1U=; b=PoeY392TJ0nhKG6lIE/1DeVKtzkDmO1YOuXdlbyVL0p7XngjEedOjBTAJ/EA5e98Yy fj/09DsECcznt+G+YOqj/mycpYkKcAo2hSOpCNEi4lwcPegszU1+4nUD0R58Maw1nB6h 1sWMEW86XYVFSr3jQPgqPEjBX2bV7cZxWpjXU9NNBHpTokCvh7N1DhPit9YK0bpzRj1n foBMlwAnZtpcMNhbtw5AEa9bb+dBteFlG5FiKyFRgPm1SdsXp82da4i4On12Js+AQWHh xKDJNRr+2YObaLV54TXI9q/eJTBmi6pMnG11WBl+kmAAGq4GPKbTK9tA2/4D/0Nb6S0K DseQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yandex-team.ru header.s=default header.b=d8pOh1Cm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=yandex-team.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rj4-20020a17090b3e8400b0021e41006030si30046159pjb.76.2023.01.16.08.57.29; Mon, 16 Jan 2023 08:57:36 -0800 (PST) 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; dkim=pass header.i=@yandex-team.ru header.s=default header.b=d8pOh1Cm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=yandex-team.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229603AbjAPPkJ (ORCPT + 50 others); Mon, 16 Jan 2023 10:40:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229699AbjAPPkC (ORCPT ); Mon, 16 Jan 2023 10:40:02 -0500 X-Greylist: delayed 1018 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 16 Jan 2023 07:39:58 PST Received: from forwardcorp1b.mail.yandex.net (forwardcorp1b.mail.yandex.net [178.154.239.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C240210D7; Mon, 16 Jan 2023 07:39:58 -0800 (PST) Received: from sas1-7470331623bb.qloud-c.yandex.net (sas1-7470331623bb.qloud-c.yandex.net [IPv6:2a02:6b8:c08:bd1e:0:640:7470:3316]) by forwardcorp1b.mail.yandex.net (Yandex) with ESMTP id 2C8965FD4B; Mon, 16 Jan 2023 18:21:13 +0300 (MSK) Received: from davydov-max-nux.yandex.net (unknown [2a02:6b8:0:107:fa75:a4ff:fe7d:8480]) by sas1-7470331623bb.qloud-c.yandex.net (smtpcorp/Yandex) with ESMTPSA id 0LllA20WE0U1-6db0o4fg; Mon, 16 Jan 2023 18:21:12 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1673882472; bh=kbMoegRaw557RfV/yayA0mkFwYPRLDIoXY9PttPGE1U=; h=Message-Id:Date:Cc:Subject:To:From; b=d8pOh1CmzLZpHBWlyqwq7fczYLkJslYH7CHkclr4gG9KZEiK9V6IBywvF9JgUMBwY dZDL1elCWPwEyJ3P78vaMXBrRo9gsopSvukzX8gTWQItd81KNETD3EmqWQN9x85kE8 MFvtdccx8gya9Bh6xOtFf23BTjwtUXXvV8DJRr10= Authentication-Results: sas1-7470331623bb.qloud-c.yandex.net; dkim=pass header.i=@yandex-team.ru From: Maksim Davydov To: rajur@chelsio.com Cc: davydov-max@yandex-team.ru, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, anish@chelsio.com, hariprasad@chelsio.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net 0/2] cxgb4: fix memory vulnerabilities Date: Mon, 16 Jan 2023 18:20:58 +0300 Message-Id: <20230116152100.30094-1-davydov-max@yandex-team.ru> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: X-Mailing-List: linux-kernel@vger.kernel.org This series fixes potential vulnerabilities in cxgb4 via additional checks to make sure that we don't corrupt memory. Maksim Davydov (2): net/ethernet/chelsio: fix cxgb4_getpgtccfg wrong memory access net/ethernet/chelsio: t4_handle_fw_rpl fix NULL drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c | 5 ++++- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) -- 2.25.1