Skip to content

Commit 6f0ae60

Browse files
slowfranklinJule Anger
authored andcommitted
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 <slow@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Jule Anger <janger@samba.org> Autobuild-Date(master): Mon Jun 2 15:10:30 UTC 2025 on atb-devel-224
1 parent 5a582bd commit 6f0ae60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source3/smbd/conn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ static void conn_clear_vuid_cache(connection_struct *conn, uint64_t vuid)
173173

174174
for (i=0; i<VUID_CACHE_SIZE; i++) {
175175
ent = &conn->vuid_cache->array[i];
176-
if (ent->vuid != vuid) {
177-
continue;
176+
if (ent->vuid == vuid) {
177+
break;
178178
}
179179
}
180180
if (i == VUID_CACHE_SIZE) {

0 commit comments

Comments
 (0)