From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17983C48BE6 for ; Fri, 11 Jun 2021 20:20:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F35B2613DD for ; Fri, 11 Jun 2021 20:20:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230269AbhFKUWI (ORCPT ); Fri, 11 Jun 2021 16:22:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:60456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229951AbhFKUWG (ORCPT ); Fri, 11 Jun 2021 16:22:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 7787C610F8; Fri, 11 Jun 2021 20:20:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623442808; bh=pVS9xlrEg0zVzKIXcPSj83xXtf8S5iW20XhqZRC3q5E=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=CjWFaqchQI913uhKgOlQ0EJl31WfkghY/oRK0GY4OfdCng9bwbOduoA95arl+S8uV 1/u+FHY7NG4FpKsR2VjDtOariIL94YGhKB7MpDk/qTncYwgeC0jmeJi+ET+mJiwrEN gnUusFPfWhfNzaVT0fEoigbZMxispKn0YVFV37K5AX6Lr44CJ0pXtZmJuhZ6BJqbzb DXBoKgqHf1YtK5m8pmlQDqsS8pZ38IICTtfRD5n7UjkDTNZy4SlCxcRRYlnSD9AxB6 +haR2MnhQIKhw3m12wkmNccPy/wk0wuT7HMTTxXVCidxK81CZNgQ8txRAqabQzVZ6O HsdQlTmpvXshg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next v1 1/1] net: stmmac: Fix potential integer overflow From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162344280841.13501.12129405164687324305.git-patchwork-notify@kernel.org> Date: Fri, 11 Jun 2021 20:20:08 +0000 References: <20210611090238.1157557-1-vee.khee.wong@linux.intel.com> In-Reply-To: <20210611090238.1157557-1-vee.khee.wong@linux.intel.com> To: Wong Vee Khee Cc: peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, davem@davemloft.net, kuba@kernel.org, mcoquelin.stm32@gmail.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 11 Jun 2021 17:02:38 +0800 you wrote: > The commit d96febedfde2 ("net: stmmac: arrange Tx tail pointer update > to stmmac_flush_tx_descriptors") introduced the following coverity > warning:- > > 1. Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN) > overflow_before_widen: Potentially overflowing expression > 'tx_q->cur_tx * desc_size' with type 'unsigned int' (32 bits, > unsigned) is evaluated using 32-bit arithmetic, and then used in a > context that expects an expression of type dma_addr_t (64 bits, > unsigned). > > [...] Here is the summary with links: - [net-next,v1,1/1] net: stmmac: Fix potential integer overflow https://git.kernel.org/netdev/net-next/c/52e597d3e2e6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FC18C48BE0 for ; Fri, 11 Jun 2021 21:01:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0944361278 for ; Fri, 11 Jun 2021 21:01:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0944361278 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Date: Message-Id:From:Subject:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2o/VM3s5qlUOkymrAjumYsGyii+TPVF/3zZ8cAwKj3o=; b=d8EJpuMDL/Pnww naSmovCrp+ROWHBiRPUff9DR9m27iiioNHAr/ozzD3PuzJ3uTkoCEbiZNkIrS16Y4YHC6gArbXyvH DIITdYDMEUlZrhNvW64M5d8y1FKbyPFTe7WuGsLmCQo9rvmw3KjnePy/FplKguzwNv/nPgRhEYszu tyMTCCOh2xtX8cme80Drno0FLx09MNftXflBs5pfXR46mhZJcQiysDilJSr8qI4coG65NENU0pZSM UlrUV8kgcZpWWJ39AzYXS1GKk7MmIplGcqRhB3egbZmIP7Bge7gwcD0i7WVPdk1wuRQeOIgad8ZYD oVRQBLXLF+6SaorThdkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lroFc-0075Y0-5y; Fri, 11 Jun 2021 20:59:37 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lrndR-006rmW-EV for linux-arm-kernel@lists.infradead.org; Fri, 11 Jun 2021 20:20:12 +0000 Received: by mail.kernel.org (Postfix) with ESMTPS id 7787C610F8; Fri, 11 Jun 2021 20:20:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623442808; bh=pVS9xlrEg0zVzKIXcPSj83xXtf8S5iW20XhqZRC3q5E=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=CjWFaqchQI913uhKgOlQ0EJl31WfkghY/oRK0GY4OfdCng9bwbOduoA95arl+S8uV 1/u+FHY7NG4FpKsR2VjDtOariIL94YGhKB7MpDk/qTncYwgeC0jmeJi+ET+mJiwrEN gnUusFPfWhfNzaVT0fEoigbZMxispKn0YVFV37K5AX6Lr44CJ0pXtZmJuhZ6BJqbzb DXBoKgqHf1YtK5m8pmlQDqsS8pZ38IICTtfRD5n7UjkDTNZy4SlCxcRRYlnSD9AxB6 +haR2MnhQIKhw3m12wkmNccPy/wk0wuT7HMTTxXVCidxK81CZNgQ8txRAqabQzVZ6O HsdQlTmpvXshg== MIME-Version: 1.0 Subject: Re: [PATCH net-next v1 1/1] net: stmmac: Fix potential integer overflow From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162344280841.13501.12129405164687324305.git-patchwork-notify@kernel.org> Date: Fri, 11 Jun 2021 20:20:08 +0000 References: <20210611090238.1157557-1-vee.khee.wong@linux.intel.com> In-Reply-To: <20210611090238.1157557-1-vee.khee.wong@linux.intel.com> To: Wong Vee Khee Cc: peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, davem@davemloft.net, kuba@kernel.org, mcoquelin.stm32@gmail.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210611_132009_569273_B7C8EF4E X-CRM114-Status: UNSURE ( 7.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 11 Jun 2021 17:02:38 +0800 you wrote: > The commit d96febedfde2 ("net: stmmac: arrange Tx tail pointer update > to stmmac_flush_tx_descriptors") introduced the following coverity > warning:- > > 1. Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN) > overflow_before_widen: Potentially overflowing expression > 'tx_q->cur_tx * desc_size' with type 'unsigned int' (32 bits, > unsigned) is evaluated using 32-bit arithmetic, and then used in a > context that expects an expression of type dma_addr_t (64 bits, > unsigned). > > [...] Here is the summary with links: - [net-next,v1,1/1] net: stmmac: Fix potential integer overflow https://git.kernel.org/netdev/net-next/c/52e597d3e2e6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel