HomeFreeBSD

MFC r366248:

Description

MFC r366248:
Improve the input validation and processing of cookies.
This avoids setting the association in an inconsistent
state, which could result in a use-after-free situation.
This can be triggered by a malicious peer, if the peer
can modify the cookie without the local endpoint recognizing
it.
Thanks to Ned Williamson for reporting the issue.

Details

Provenance
tuexenAuthored on
Parents
rS366328: Clear the upper 32-bits of registers in x86_emulate_cpuid().
Branches
Unknown
Tags
Unknown