Bug #4246
closedAssertion failed in AdjustToAcked delta > 10000000ULL && delta > stream->window
Files
Updated by Philippe Antoine almost 4 years ago
- File lol.pcapng lol.pcapng added
I do not know if this assertion is right.
I understand that the scenario to trigger this is :
Have a stream with a very big window > 10000000ULL, with tcp window being 0xFFFF and scale factor 8
Grow delta ie stream->last_ack - stream->base_seq
bigger than 10000000ULL but smaller than window
Then have a packet with a small window, and delta will not have changed. Hence the assertion will trigger
Updated by Philippe Antoine almost 4 years ago
Updated by Victor Julien almost 4 years ago
I've not been able to get this to trigger with the pcap. How are you running it?
Updated by Philippe Antoine almost 4 years ago
The pcap seems not to be a reproducer now...
Will try to craft another one later
Updated by Philippe Antoine almost 4 years ago
suricata -r lol.pcapng -k none -c suricata.yaml
Trick is to enable HTTP2 in suricata.yaml
Updated by Victor Julien almost 4 years ago
- Status changed from Assigned to Closed
- Private changed from Yes to No
- Label Needs backport to 5.0, Needs backport to 6.0 added
Updated by Philippe Antoine almost 4 years ago
- Status changed from Closed to In Progress
Fix seems incomplete as per https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30885
fuzz_sigpcap: stream-tcp-reassemble.c:989: _Bool CheckGap(TcpSession *, TcpStream *, Packet *): Assertion `!((delta > 10000000ULL && delta > stream->window))' failed.
Updated by Jeff Lucovsky over 3 years ago
- Copied to Bug #4341: Assertion failed in AdjustToAcked delta > 10000000ULL && delta > stream->window added
Updated by Jeff Lucovsky over 3 years ago
- Copied to Bug #4342: Assertion failed in AdjustToAcked delta > 10000000ULL && delta > stream->window added
Updated by Victor Julien over 3 years ago
- Status changed from In Progress to Closed
- Target version changed from 6.0.2 to 7.0.0-beta1