HomeFreeBSD

There is a bug in tcp_output()'s implementation of the TCP_SIGNATURE

Description

There is a bug in tcp_output()'s implementation of the TCP_SIGNATURE
(RFC 2385/TCP-MD5) kernel option.

If a tcpcb has TF_NOOPT flag, then tcp_addoptions() is not called,
and to.to_signature is an uninitialized stack variable. The value
is later used as write offset, which leads to writing to random
address.

Submitted by: rstone, jtl
Security: SA-16:05.tcp

Details

Provenance
glebiusAuthored on
Parents
rS293909: Call crextend() before copying old credentials to the new credentials
Branches
Unknown
Tags
Unknown