CVE-2026-94300 is a race condition (CWE-362) on the shared GSS-TSIG security context in BIND's named. A GSS-TSIG session negotiated via TKEY produces exactly one dns_tsigkey_t holding one GSS handle (dst_key_t.keydata.gssctx). That handle is shared by every message signed or verified with the key, across all worker threads, because named processes UDP messages concurrently. The GSS provider keeps sequence/replay/error state inside the context, so concurrent crypto calls corrupt it. An attacker who captures one validly signed UDP message can replay it (no credentials needed while the key is valid) and, with crafted queries to a zone they control, drive the corruption toward memory corruption/DoS and potential RCE.
The security patch for this CVE (commit 4a49103b500d47afbd11f045e753105b135c844a on the main branch, backported as fe9cc14af0d006221e744d778b83c879135c1b74 on 9.20 / 36ed417fd3b60921fb8c2e32726316472bb19d61) touches only lib/dns/gssapi_link.c. It removes the unsynchronized local pointer snapshot (gss_ctx_id_t gssctx = dctx->key->keydata.gssctx;) and wraps the three GSS crypto calls in the key mutex dctx->key->mdlock:
- gssapi_verify: LOCK/UNLOCK around gss_verify_mic() - the primary vulnerable function reached via the normal UDP ingress path for a replayed signed message.
- gssapi_sign: LOCK/UNLOCK around gss_get_mic() - signs replies on the same shared context.
- gssapi_dump: LOCK/UNLOCK around the destructive gss_export_sec_context() (export invalidates the context), which could also race with verify/sign.
These are the functions that existed before the fix, lacked the synchronization, and were modified by the patch; they are exactly what a runtime profiler/backtrace would show during exploitation (e.g. gss_verify_mic under gssapi_verify, then krb5_k_verify_checksum / libk5crypto). BIND is C code, so the profiler shows the bare function names without any namespace prefix. The separate 'dump only for the last ring owner' change (dns_tsigkeyring_dumpanddetach in tsig.c/view.c/server.c) is not part of this security commit and is a related mitigation, so it is not reported as a vulnerable function.