Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp724729pxb; Fri, 16 Apr 2021 17:10:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9rtwKKxs8cO91ufV+0xpTuC4upGQVHVqnxrDHTRoufQDEVclf6LZCV9pc1EwWHx/KeFFH X-Received: by 2002:a05:6402:2787:: with SMTP id b7mr12816720ede.225.1618618220222; Fri, 16 Apr 2021 17:10:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618618220; cv=none; d=google.com; s=arc-20160816; b=DtxlxMb7VPWwqJCv+4ePFk9CJcmlyBZLoqpehKTNLCROzskPsMIrAttTeJZlOM5mTj ILmenNKTYBUdPKmYMxfQcwudKe+6PXOOJGpwupHDrSy4t1HU6M7JUCfFaBRsZkjXCXXj Rw3khMF+4w3JDYX7vRxjE9aXz/UlmePLBXuWsLsKag8710/BWwncQ4KDz30IMQaiKVH1 PVIZ4ZDRomvor8Setn3A21KzNDjWgcs+STdUKcbXV04eH7ETtdUQ1L8v9KE36n9QMNhQ tX2gW/vo0iyf5PVz24lsf4/XWb1W6RZEh6++LYK4QmQgLxIouGA6OKS5Qpc5w5C8TIvY irHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=8/SlxvbyGzFIuckVM50DnSkCrS8UJPZyny+A2QmFDJ4=; b=cLsyAzf/TKjGRP4cvkmQ55XklFmJtChrQEavodndmUDocsawjj58J6iFNe62nJtI3O TXZrkxXCaarvQ9sVwc6fUcps3SQciJQBHVAmU1wGZa7LBxHCte+mDdC+CdfLYiosLICx TY4AaZCMqcrROuTNQ2PDnk9afgIgjHJmLVpZqiP1b6lfS+bOTv1RMqyBXaB0EHlmMOxs kUA14hDIKEXooCMBh36Q6VVsxd8W/hMwWrbkR83dob/geT0RVB4NCBMyvl1UEnVwG+mD b4BMqX2xeXM0Xlc/JxXdSc/VRNWJ7TtmtpV04WfZzc6kxBNQivf+8QCrp/e4vob2Y0FB BTIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=EvSTyCbS; 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 i11si7104102edb.41.2021.04.16.17.09.57; Fri, 16 Apr 2021 17:10:20 -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=fail header.i=@embeddedor.com header.s=default header.b=EvSTyCbS; 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 S234852AbhDQAHb (ORCPT + 99 others); Fri, 16 Apr 2021 20:07:31 -0400 Received: from gateway20.websitewelcome.com ([192.185.59.4]:33636 "EHLO gateway20.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234856AbhDQAHa (ORCPT ); Fri, 16 Apr 2021 20:07:30 -0400 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway20.websitewelcome.com (Postfix) with ESMTP id E1703400C76BA for ; Fri, 16 Apr 2021 18:56:11 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id XYUGlNCb81cHeXYUGlYPuz; Fri, 16 Apr 2021 19:07:00 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8/SlxvbyGzFIuckVM50DnSkCrS8UJPZyny+A2QmFDJ4=; b=EvSTyCbSbAJUxGRI/E8hKx9EyC gj3ZGdEoDnKLBr/Re0Z3XX5YrXCisVzXjUdZCKppl6EEjKTbjXx2HNpUg0vDph782pRGNA5/IoByJ WB18S50L5vChhrTetywaMeZQ8HIJRcWlHvKpcPO2jfrOqQIGRrOEtyl3hADc5FHi/QH0im4v3/EYC 7gzixI3Yin/HmWpGuVDR8G6y9fPOQdhBATjhgmxZoU5/mxniHfkI5HiAr692A6xEETv7N4CUtynQL MvNpbt0WBzGOt8rsvd8V2oBRIklC053GkS1ldg/4VzfU2CKhPMOpKLRslHTTo3lFp+mum8VFze424 PzWKWTKQ==; Received: from 187-162-31-110.static.axtel.net ([187.162.31.110]:56954 helo=[192.168.15.8]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1lXYUC-000HmB-Do; Fri, 16 Apr 2021 19:06:56 -0500 Subject: Re: [PATCH][next] sctp: Fix out-of-bounds warning in sctp_process_asconf_param() To: patchwork-bot+netdevbpf@kernel.org, "Gustavo A. R. Silva" , David Miller Cc: vyasevich@gmail.com, nhorman@tuxdriver.com, marcelo.leitner@gmail.com, kuba@kernel.org, linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org References: <20210416191236.GA589296@embeddedor> <161861761155.26880.11889736067176146088.git-patchwork-notify@kernel.org> From: "Gustavo A. R. Silva" Message-ID: <8f37be96-04dd-f948-4913-54da6c4ae9b2@embeddedor.com> Date: Fri, 16 Apr 2021 19:07:05 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <161861761155.26880.11889736067176146088.git-patchwork-notify@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 187.162.31.110 X-Source-L: No X-Exim-ID: 1lXYUC-000HmB-Do X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 187-162-31-110.static.axtel.net ([192.168.15.8]) [187.162.31.110]:56954 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 10 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dave, On 4/16/21 19:00, patchwork-bot+netdevbpf@kernel.org wrote: > Hello: > > This patch was applied to netdev/net-next.git (refs/heads/master): > > On Fri, 16 Apr 2021 14:12:36 -0500 you wrote: >> Fix the following out-of-bounds warning: >> >> net/sctp/sm_make_chunk.c:3150:4: warning: 'memcpy' offset [17, 28] from the object at 'addr' is out of the bounds of referenced subobject 'v4' with type 'struct sockaddr_in' at offset 0 [-Warray-bounds] >> >> This helps with the ongoing efforts to globally enable -Warray-bounds >> and get us closer to being able to tighten the FORTIFY_SOURCE routines >> on memcpy(). >> >> [...] > > Here is the summary with links: > - [next] sctp: Fix out-of-bounds warning in sctp_process_asconf_param() > https://git.kernel.org/netdev/net-next/c/e5272ad4aab3 Thanks for this. Can you take these other two, as well, please? https://lore.kernel.org/linux-hardening/20210416201540.GA593906@embeddedor/ https://lore.kernel.org/linux-hardening/20210416193151.GA591935@embeddedor/ Thanks! -- Gustavo