summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDaniel Hodges <hodgesd@meta.com>2026-02-03 09:56:21 -0500
committerJakub Kicinski <kuba@kernel.org>2026-02-05 12:36:31 -0800
commit6a65c0cb0ff20b3cbc5f1c87b37dd22cdde14a1c (patch)
treede8257ddee3e4e1fd45d45661bb7351c710a53d2 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent48dec8d88af96039a4a17b8c2f148f2a4066e195 (diff)
tipc: fix RCU dereference race in tipc_aead_users_dec()
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@vger.kernel.org Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Daniel Hodges <hodgesd@meta.com> Link: https://patch.msgid.link/20260203145621.17399-1-git@danielhodges.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions