PT-2026-122036
CVE-2026-99059
·
Publicado
2026-10-23
·
Atualizado
2026-10-23
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
In the Linux kernel, the following vulnerability has been resolved:
wireguard: noise: reject response consumption after intermediate initiation
Two threads begin processing the identical response message, received
twice. The first thread, A, runs. While it's running, the second one,
B, gets partway through, and during that slow calculation, or even while
blocking on down write(), A completes and then also a handshake
initiation that's already been queued up runs in thread C, which itself
takes that same down write(). The handshake initiation creation
succeeds, and sets the state back to waiting-for-response, and calls
up write(), at which point thread B resumes, because either its finished
its calculations or was finally allowed to acquire down write(). Thread
B then copies the state back to the peer, and begins a new session,
using that state, which is the same session as the one made in thread A.
Thread A Thread B Thread C
down read()
sA = handshake->state
memcpy(cA, handshake->crypto)
up read()
if (sA != 1)
goto fail
slow crypto(cA)
down read()
sB = handshake->state
memcpy(cB, handshake->crypto)
up read()
if (sB != 1)
goto fail
slow crypto(cB)
down write()
if (sA != handshake->state)
goto fail
memcpy(handshake->crypto, cA)
handshake->state = 2
up write()
down write()
if (handshake->state != 2)
goto fail
derive session(handshake->crypto)
up write()
down write()
slow crypto(handshake->crypto)
handshake->state = 1
up write()
down write()
if (sB != handshake->state)
goto fail
memcpy(handshake->crypto, cB)
handshake->state = 2
up write()
down write()
if (handshake->state != 2)
goto fail
derive session(handshake->crypto)
up write()
This seems basically impossible to hit in a meaningful way in practice,
but ensure that it absolutely cannot happen by comparing the ephemeral
private key that's on the stack with the latest one that the peer's
handshake state has.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾