🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #20303

Re: [PATCH net-next v2] net/sched: em_text: pad the text pattern in the ematch dump

#20303
From: patchwork-bot+netdevbpf
Date: Sat, 21 Nov 2026 23:50
25 lines
8694 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 13 Nov 2026 16:10:03 -0300 you wrote:
> This is a followup of commit 9c572a83037a ("net/sched: fix potential
> stack infoleak in em_text_dump()") as reported by Sashiko.
> 
> The issue: em_text_dump() appends the text pattern with nla_append(),
> which is a bare skb_put_data() and does not pad the attribute to a 4-byte
> boundary.  When pattern_len is not a multiple of four the skb tail is left
> unaligned.
> 
> [...]

Here is the summary with links:
  - [net-next,v2] net/sched: em_text: pad the text pattern in the ematch dump
    https://git.kernel.org/netdev/net-next/c/eb6d6c80d354

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179530500778.1221130.7273439049785357350.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368539-linux-kernel-netdev=dewy.ru
References: <QDISC-7SHE.v2.r0.20261109072128-1@mojatatu.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368539-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2] net/sched: em_text: pad the text pattern in
 the
 ematch dump
Date: Sat, 21 Nov 2026 23:50:07 +0000
Organization: Usenet Network
Message-ID: <179530500778.1221130.7273439049785357350.git-patchwork-notify@kernel.org>
References: <QDISC-7SHE.v2.r0.20261109072128-1@mojatatu.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3525244"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:hBxIOXe9ExwXZ4AzAmch5HAfCvI= sha256:IApw6oPMQmiypZXe9hULwuHEo0hBCugV3xmL0iot0sY=
	sha1:nGrYdVxh+BNRHxuPQ26cw7xUT+c= sha256:elIAI3Q0Qpaz6EshyGIepkmevzKDrVw/p8bQNFJGyZo=
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 3B0FC115C47; Sun, 22 Nov 2026 02:50:26 +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 VBZKHY5w459t;
	Sun, 22 Nov 2026 02:50:22 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-368539-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 2A1E5115C44; Sun, 22 Nov 2026 02:50:13 +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 137FE35B88; Sat, 21 Nov 2026 23:50:11 +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=1795305010;
	b=1yO8pN6s8k9ew4+z0L63YSmPdWfp3Zh/VtPBRf3UNKJ/cepYCDrlqjypMxoCW/Fi9M09
	 3Fn7h5i8IwJtllXIlhG6Y4HUSOChB/SS0NzEKik6nJnH4+9Yf7I/c5gLxoih97sWkUTt1
	 oY4Geblv9W5vBdyV6658ZYPrfKzFHY9x0JjWavCXE87EwPgKSr+5UJ9zGLfKdczPTJWQN
	 pAV/GPqUcPqLZqXISOuhaqCjQUj7ky8gOZG0drajg0NN4adNfzKNd/+qVT3GWSYNprqeC
	 1kkwQS2H4w0oKgmXuHjKiiLTh6Wi3ISJxJLZzEPQ/G0V2yZKUgvBlSSPZUqCqv1VurA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795305010;
	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=BoWjDlU4fOqWS1qCJrCy23RseH/raBFcQljY17gEYZc=;
	b=B4k2g6pN6E2p8IJc+LS+truO+VNhXwT0jWal1V3iex/xvhir6ZWIu0gIWwekcSBgi7Jr
	 tBAnSBfxKTTlqj4mYmOKSTVnEwrTOvJImVTDp4lDcNj5sv7PG3MpCpFn6AF88O9kUujgM
	 Jh//J3SSl0cZxXSk/mG9UjAZPeQvhAuca/DoaCAl5uvvdRmqbEn33eRnSyi9QLvDy9CYm
	 aRKfKTDsvGrM/jdqjM9lAV3xF+25jsis7p4urqB0ZM5W9CU5yktjTdGA7jBlOCgrmmUSp
	 dxnaczCP/G24GdxltkdD8UeUV2eVRXD2RMCo/EJd6XniDrWHW0P4pJw3y6/A0t6Rmnw==
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=OH7Nils8;
	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 479E0606A336;
	Sat, 21 Nov 2026 23:50:10 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=OH7Nils8
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=1795305009;
	b=VTw73ya3c0DMB2c6WlHDkfnQpQbGMNBswiKCn1PiCcjXxoDbcwwr2DkX8tZ79ORI0NbZ
	 u9+q5mCXRJDMia9xq/CzE5RFQ06cDV2E5z9Xd0q9LfWG1kL3SfZC5YvHlZage1u46TykF
	 k8tyXvlzmSb95JqDqovvebJkQZWLob7U7aGm0S+4/6J3iiwmy7JkbTDGHyrosAjsPeUkw
	 +rGrDekg6eJwIXSWMiQxgU5GI+9AdXmoFdOM32IFZ4TiOWRlgFke/foiJcVp0eOSZOZZh
	 wR4e18T9RPRRvRE2DRc3UIk9FdRlzH9dniLlQFGk3FaezejwmEluCeuVPMC4uISoCkA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795305009;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=BoWjDlU4fOqWS1qCJrCy23RseH/raBFcQljY17gEYZc=;
	b=eGNNbZN6uxFhZRloVA1RqXt7/EUlcIt8sUPU3Ln4JVS3+xhpPEIvEWjvnQisoYqWEXYG
	 bQFxh7m7ec6b4CFlQu0CovBH6m7HcNJxUi5MP9uXpxX4RE5Hnmiu80p/Ypw+jZp+mHdLI
	 68rq9ipLn22LfpRxmudqXntE6oOxW5a8c2G8axNDTcIvjzKZhwvh/wplyA0jlkzb3igOU
	 y39Yx7i6xi9JftnJwaXRb/m3e5AKsedLC1QY/SF/nzuqX0gS25K/k+zLjajKtITizwhrE
	 ipuMR0/ddAdy/bdu0kAsVhCHgbaL2BINHwDAXbhJJifnY5Q7vh7G43TASOF6igszfNg==
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=OH7Nils8;
	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 68482606A33A
	for <netdev@vger.kernel.org>; Sat, 21 Nov 2026 23:50:09 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 435871F000C4;
	Sat, 21 Nov 2026 23:50:09 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795305009;
	bh=BoWjDlU4fOqWS1qCJrCy23RseH/raBFcQljY17gEYZc=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=OH7Nils8eDjnsUSQ9Ozzo8j31uE1TbgebK8aINAJVIEuOvrq9rqR7S5540Uvw4YDC
	 NhbcUnU902kT4v/dUvXt0raaBEhuZFDZycJ006xUgmM7fIopAs0Xwl6Ny9bLnZMvve
	 GKPIDWrAgpEmZUPCvYbhx1TjYrnkz+5yP81/dmzFdH+8L019tGD2joXgyTBYZEOp6X
	 viB2mVPFKSZSV3vTZ9my9D7GiYoMQ47TxsOk02jwipwfVLEpE7h5QGzSZaIy708fzV
	 umd/8ab0dcBbEGvuJnIoLhFWNKE+F50TjQbvxLKxDaThQX+7RHRikgqapxrAEQ6HN/
	 ApmHp8ELCph9w==
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 3A45E391B08F;
	Sat, 21 Nov 2026 23:50:09 +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: <QDISC-7SHE.v2.r0.20261109072128-1@mojatatu.com>
X-Cc: netdev@vger.kernel.org, jiri@resnulli.us, jhs@mojatatu.com,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 horms@kernel.org, sashiko-bot@kernel.org