Reported on our security list. TROVE-2026-004.
Thanks to Anas Cherni of Calif.io for finding this issue.
Fixes #41232
Reported-by: Anas Cherni of Calif.io
Signed-off-by: David Goulet <dgoulet@torproject.org>
--- /dev/null
+ o Major bugfix (security, conflux):
+ - Fix a memory compare using the wrong length. This could lead to a remote
+ crash when using the conflux subsystem. TROVE-2026-004. Fixes bug 41232;
+ bugfix on 0.4.8.1-alpha.
/* Make sure the cell nonce matches the one on the circuit that was
* previously set by the CONFLUX_LINK cell. */
if (tor_memneq(link->nonce, circ->conflux_pending_nonce,
- sizeof(*link->nonce))) {
+ sizeof(link->nonce))) {
log_fn(LOG_PROTOCOL_WARN, LD_CIRC,
"Received CONFLUX_LINKED but circuit nonce doesn't match "
"cell nonce. Closing circuit.");