Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4621306pxb; Thu, 14 Oct 2021 08:44:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzy+NLoy2QpwNCzxM3LjVvItt2pCrpcJMDSqTwqTehjmpCc9GbsbXtWrpPhqyeZ/cfMZh6D X-Received: by 2002:a17:907:628d:: with SMTP id nd13mr4832832ejc.7.1634226244917; Thu, 14 Oct 2021 08:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634226244; cv=none; d=google.com; s=arc-20160816; b=vZPs6ao9V6DKCHyMiI3ExOXJsHeZERdq4ZZ7Av2m8yYAmCJUj68yQf7wN6YrqIFky/ b+6uX4nzxXCR9M5oz7QwAj37EbtQ4rZqvR2IWJ8hKrOLY8x371SOuK/0nuKJ4joNk8ux Z/UDkchqKOQx6cwU6PG4+H26vJbueEboBDqkk0tUeSE2ZHs5rbbZlj2oJvPAPe/zY1CT +w/HWg4zPh0njku0vKuCZDS9YfmCJF3so9HbysO1F9ai4ikOn0UYh9FKCMu61Q58FrOq P8UKA/YI95otwTujJzDWPIwLKwmkPv1WSrSh3nf0MuVLR31hLuH+xmunumJL9KvZdpwJ 5PdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=odrp39soVFYJkdmICRRKXyBw4Frzud+mVhzB8YQZLA4=; b=vhU3p7c+Jc/u9SNxZ9Fs3WBZz0ekVrNh4otBWlqejtNRE56Vy/lL9hO9JR0CDhxG8C pGYWhoikiuDiWtM3uDic2RqLOJf8OXjegiimTt/yJgBtMcYGKJPBiVmcCtJRbvO7B1qo AJWdsE4+IT54PeKUUIx1i9f+svB/IhBH+JNd0k+FsN6oftZmKr96X4DRPxQOiIbKPuEc /PgVG4n2CewqUSBvCKFcT91ikNHQnRpdvJsyJTgmH9/PQ05E+YiwfsWrPL/aDs1dHzRU wBHo1C04mCHvrpktDxZZeRIScX4bw1nQfygxnfF/lP2+M76YqJzdqihdR9fC5Mdn3dJg OZtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QFMgOeQx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si5438639edm.332.2021.10.14.08.43.41; Thu, 14 Oct 2021 08:44:04 -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=pass header.i=@kernel.org header.s=k20201202 header.b=QFMgOeQx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231277AbhJNOcN (ORCPT + 99 others); Thu, 14 Oct 2021 10:32:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:56974 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230126AbhJNOcM (ORCPT ); Thu, 14 Oct 2021 10:32:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 491566109E; Thu, 14 Oct 2021 14:30:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634221807; bh=CuDXvMeGbueKlKElsUWPNb/lh/8SNMe1pT6kc2khxm0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=QFMgOeQxA6GqyIhCTcCCQDoazre7XwfmH6vDhrBXtvydnZukOAfyOF3XCQoOCltI5 QWUgkYVQPhb6EM2TnbECyCbu2i9+lX1WySPVUZkS6qjgBq4xcBv8QgS0+M/bArP6YN SfeH/zzisvhIsd418MMQijBCj7NUG1fql2oMKshfSdAZ55A2DkGXj4MMFVKe+5DOus qostJzT5dc4VXZwOeo9NxHEpu34wqsT6fhmztXZTMv/KCmLYVP18DvZAaG+x2x4AB5 Mpn7LANASN8yD5iGwDM6B+r1vqeRb2aBX09FGoXVLEiFoCNc50O2zGtXghOLKLZJv7 ADA/fpT0zwI9A== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 3891260A44; Thu, 14 Oct 2021 14:30:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] sctp: account stream padding length for reconf chunk From: patchwork-bot+netdevbpf@kernel.org Message-Id: <163422180722.1532.7555776041152823149.git-patchwork-notify@kernel.org> Date: Thu, 14 Oct 2021 14:30:07 +0000 References: In-Reply-To: To: Marcelo Ricardo Leitner Cc: netdev@vger.kernel.org, vyasevich@gmail.com, nhorman@tuxdriver.com, eiichi.tsukata@nutanix.com, davem@davemloft.net, kuba@kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, lucien.xin@gmail.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Wed, 13 Oct 2021 17:27:29 -0300 you wrote: > From: Eiichi Tsukata > > sctp_make_strreset_req() makes repeated calls to sctp_addto_chunk() > which will automatically account for padding on each call. inreq and > outreq are already 4 bytes aligned, but the payload is not and doing > SCTP_PAD4(a + b) (which _sctp_make_chunk() did implicitly here) is > different from SCTP_PAD4(a) + SCTP_PAD4(b) and not enough. It led to > possible attempt to use more buffer than it was allocated and triggered > a BUG_ON. > > [...] Here is the summary with links: - [net] sctp: account stream padding length for reconf chunk https://git.kernel.org/netdev/net/c/a2d859e3fc97 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html