[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260202174833.3e0ea821@kernel.org>
Date: Mon, 2 Feb 2026 17:48:33 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Daniel Hodges <hodgesd@...a.com>
Cc: Jon Maloy <jmaloy@...hat.com>, "David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Simon
Horman <horms@...nel.org>, Ying Xue <ying.xue@...dreiver.com>, Tuong Lien
<tuong.t.lien@...tech.com.au>, <netdev@...r.kernel.org>,
<tipc-discussion@...ts.sourceforge.net>, <linux-kernel@...r.kernel.org>,
<stable@...r.kernel.org>
Subject: Re: [PATCH] tipc: fix RCU dereference race in tipc_aead_users_dec()
On Sat, 31 Jan 2026 18:21:28 -0800 Daniel Hodges wrote:
> tipc_aead_users_dec() calls rcu_dereference(aead) twice: once to store
> in 'tmp' for the NULL check, and again inside the atomic_add_unless()
> call.
>
> Use the already-dereferenced 'tmp' pointer consistently, matching the
> correct pattern used in tipc_aead_users_inc() and tipc_aead_users_set().
>
> Fixes: fc1b6d6de220 ("tipc: introduce TIPC encryption & authentication")
> Cc: stable@...r.kernel.org
>
> Signed-off-by: Daniel Hodges <hodgesd@...a.com>
Somehow this didn't reach patchwork, please resend, and while you do
that please remove the empty line between cc stable and you sob.
Powered by blists - more mailing lists