Article View: linux.kernel.netdev
Article #9036Re: [PATCH net] sctp: account for chunk padding in sctp_init_cause()
From: patchwork-bot+netdevbpf
Date: Fri, 30 Oct 2026 22:10
Date: Fri, 30 Oct 2026 22:10
26 lines
8804 bytes
8804 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 27 Oct 2026 17:24:05 +0900 you wrote:
> sctp_init_cause() accepts a chunk when skb_tailroom() can hold the
> cause header and the payload. sctp_addto_chunk() then writes 0-3
> bytes of padding before that header so the chunk stays 4-byte
> aligned. The check does not include the padding, and the following
> skb_put() calls skb_over_panic() from softirq.
>
> Count the padding sctp_addto_chunk() is about to write. The cause
> length on the wire stays the header plus the payload.
>
> [...]
Here is the summary with links:
- [net] sctp: account for chunk padding in sctp_init_cause()
https://git.kernel.org/netdev/net/c/ed6c53b27be4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179339820455.1798442.18307539223937960628.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353971-linux-kernel-netdev=dewy.ruReferences:
<20261027082405.1297-1-shengshilingmu97@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353971-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] sctp: account for chunk padding in sctp_init_cause() Date: Fri, 30 Oct 2026 22:10:04 +0000 Organization: Usenet Network Message-ID: <179339820455.1798442.18307539223937960628.git-patchwork-notify@kernel.org> References: <20261027082405.1297-1-shengshilingmu97@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2323266"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Ito/G0vqrRMDY7INb2XCkiKsbOQ= sha256:q8o3FM+igBhs8m8XWauvhF4/gcLkPEjJx1R3mybCTCM= sha1:7GR2Z3P6cOZCweerxn0ObOZ/G9U= sha256:z3Bzh+t9CeKjeo2haN6fiHy1N/8kz8+NY8V3dtfd7v0= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 4C6E6125CAC; Sat, 31 Oct 2026 01:13:33 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Zfnw5lslwQw; Sat, 31 Oct 2026 01:13:30 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353971-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id DDC1D125BBF; Sat, 31 Oct 2026 01:13:21 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 86F7A2BBB8; Fri, 30 Oct 2026 22:10:28 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793398223; b=1mNJAsp0U2xdDQCkgg2aSEybmOmpfyYY7NF/T7h9NcV5DgxTtBpy3kGfhwl96VarSh9m n9lfZzFD8XELCcd28cw2hLDz9oepSwshBNWncX2eWji3FAl7UsINFFXwD5iqBRRmhooJ3 RXKtUSOVCoNJj3WdbDMGjpIIVss1mf7vm4/2drqRFXtAds8gP/5n3URWCicmyGlM1wZX0 6G4col05NFC4yuQ6AAvM/qfilxL7AueHzWIhegIEon+WGtCaOAlfNrrihESH0Q1roD2IZ Q/y16NlQwY5IjymK0ueHnSLse2ADrsauWITRIE2EPQeOHnVbfMq8+ls4VScb7XR65yg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793398223; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=CacpoIiwxOW4aqpf4E7cdOUOSLNbY/mAK7YBQamRQ+I=; b=qjNU6Rb/1q5uZS79ItQNPHU3iCtOc495C9awhzMowu2ZMMfAhYOWHYwT+54qoKLLjMDo bw92zHFlY4hoMoG4SYesnTcXTK8e8gbbMjJa1usnqKlCzMODMIeuDt0lJR7fqPi0559Rr fyO2R7fsqO4gjzmOeCU5MmAXcjRWB8xB1ET0gHW6sya8S7ZxNW4640ZvTCn6toihEFtXW I6vNfojkGhsKHSUNwprWhPABtrCiXH+v2iTXmFDYErUGOQYFiFZabg9FbqV/urhOEN6m9 HtWR5LR9E8+pplPRwCXHXbLqgeeszTqBx+n+dS4NM/eeXOVXB9JEQ87OspmvAtloGug== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LqGBxai3; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E053606A322; Fri, 30 Oct 2026 22:10:23 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LqGBxai3 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793398206; b=pCssJuyouW9/b5h5KqsI/958dte4w3/N9A5Rynmr/6DP3zi5FYotfXzOmg3lK9Po1lU6 /7MZq8uYPGS8v8jjBkBzeJ2WxJ/iIS9HdwavHpSjJqy4Gx2vHtlyl/ku8VtTTayNxwy/m maT9K2qnI8We3gjWczATPn/XkZKicKzDWCNUc7ghjMNdFLsway9LrQK2XcLtPqTX/Gwtg lKwzEZFDDADmN6eg+vq9Vqz7gLxLBR9gJsbQ7DJN8SfqnaOvyb/qzFaguswYxFCvswIPe qmGPmEztMTMDY30xGI6g+RJ71wadwEG4J088jtvHDVZ2g95oL3cstkBSVaCu8MN8KsQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793398206; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=CacpoIiwxOW4aqpf4E7cdOUOSLNbY/mAK7YBQamRQ+I=; b=5tDgsFzErIYNMq/gPhe3eKcqymbACxChhnobH9QyDtjn5/bQvASxVx2pqlBoyNITltTJ Paievapg0jIBdTKYhZ8hLr2BbDY0L55fpeLQd2SWBbqk6Wo9oS1x4Zab5yFk/sB2WBjhW OTpXjm4upglCkc9/3CASl6If4QNMKwZ6n1tSU+S6LxaqMIqVu9EfegoIH/NAbN0CENU/d 5kts3WmM7TsuifVYI+Qmls74zz/bpdFEy3g4ggeIKIiB5ZP+CvUFJminfMBNsu0YrgmJT 3UtP62T0ANk8wVd/ugSerU3ALZdiXzQLC5y1P/yRWquPqK9KxHYUGnNWwjB7+Zg9xdA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LqGBxai3; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46F58606A31A; Fri, 30 Oct 2026 22:10:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C60181F0093A; Fri, 30 Oct 2026 22:10:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793398205; bh=CacpoIiwxOW4aqpf4E7cdOUOSLNbY/mAK7YBQamRQ+I=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=LqGBxai3uwM/30lxdhdBhrx6t56DkrPZUdbX9baeXbLJFQjj90xSha58D9meY30aw B4CYQhb9SYt8+4yJ9MewYj9k/eXAgXCEdC+aQP3Ea95N1zbZMgSIr2oW8m3++n10g3 Ayvowi0RPQWkQWBCc8CqQq/wwto3zq5ZytfVIcKw2VlLGH677tGXB3UYW1XbbQoNw3 o9+3Bw2arMfNe5faj4OjqnCntdgmrGyeWY2nkQ/HXOYKD/illcVj/H8cSqU89BimgU 2PQgF01Ap6Q+1pdg+GpsGZh4BE/n6GZGv7ZO3V8+vkzMZttSoZ3WiOVf8MOKbcrv9r s/81IXNvoSAXA== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id BA3D43800478; Fri, 30 Oct 2026 22:10:05 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261027082405.1297-1-shengshilingmu97@gmail.com> X-Cc: marcelo.leitner@gmail.com, lucien.xin@gmail.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org