The branch, v4-21-test has been updated via bb4d8d322c2 CVE-2025-0620: smbd: smbd doesn't pick up group membership changes when re-authenticating an expired SMB session from 7f1fc08c428 ctdb-daemon: Modernise some DEBUGs
https://git.samba.org/?p=samba.git;a=shortlog;h=v4-21-test - Log ----------------------------------------------------------------- commit bb4d8d322c2c7bda2cb245e60c423920ec5fa167 Author: Ralph Boehme <s...@samba.org> Date: Fri May 23 08:47:06 2025 +0200 CVE-2025-0620: smbd: smbd doesn't pick up group membership changes when re-authenticating an expired SMB session BUG: https://bugzilla.samba.org/show_bug.cgi?id=15707 Signed-off-by: Ralph Boehme <s...@samba.org> Reviewed-by: Anoop C S <anoo...@samba.org> Reviewed-by: Stefan Metzmacher <me...@samba.org> (cherry picked from commit 6f0ae60428a024b4aba92a8103a698c1eca2357c) Autobuild-User(v4-21-test): Jule Anger <jan...@samba.org> Autobuild-Date(v4-21-test): Mon Jun 2 17:07:31 UTC 2025 on atb-devel-224 ----------------------------------------------------------------------- Summary of changes: source3/smbd/conn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c index 4e7e1ce0127..0e4d7823787 100644 --- a/source3/smbd/conn.c +++ b/source3/smbd/conn.c @@ -173,8 +173,8 @@ static void conn_clear_vuid_cache(connection_struct *conn, uint64_t vuid) for (i=0; i<VUID_CACHE_SIZE; i++) { ent = &conn->vuid_cache->array[i]; - if (ent->vuid != vuid) { - continue; + if (ent->vuid == vuid) { + break; } } if (i == VUID_CACHE_SIZE) { -- Samba Shared Repository