Project

General

Profile

Actions

Bug #5834

closed

tcp/regions: list corruption

Added by Victor Julien over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

suricata: util-streaming-buffer.c:959: void Validate(const StreamingBuffer *): Assertion `!(bail)' failed.
--Type <RET> for more, q to quit, c to continue without paging--                                     

Thread 57 "W#55" received signal SIGABRT, Aborted.                                                       
[Switching to Thread 0x7fffd0728700 (LWP 1707941)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50                                    
50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.            
(gdb) bt                                                                                                 
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50    
#1  0x00007ffff6a91859 in __GI_abort () at abort.c:79
#2  0x00007ffff6a91729 in __assert_fail_base (fmt=0x7ffff6c27588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x126c9c0 <str> "!(bail)", file=0x126b580 <str> "util-streaming-buffer.c", line=959, 
    function=<optimized out>) at assert.c:92
#3  0x00007ffff6aa2fd6 in __GI___assert_fail (assertion=0x126c9c0 <str> "!(bail)", file=0x126b580 <str> "util-streaming-buffer.c", line=959, 
    function=0x126c860 <__PRETTY_FUNCTION__.Validate> "void Validate(const StreamingBuffer *)") at assert.c:101
#4  0x0000000000b8525e in Validate (sb=0x61200304ef88) at util-streaming-buffer.c:959
#5  0x0000000000b75c2c in ListRegions (sb=0x61200304ef88) at util-streaming-buffer.c:999
#6  0x0000000000b7b9b8 in StreamingBufferInsertAt 

Introduced in rc1, no backport needed.


Files

repro.pcap (550 Bytes) repro.pcap Philippe Antoine, 02/02/2023 04:55 PM
repro.pcap (550 Bytes) repro.pcap Philippe Antoine, 03/16/2023 04:13 PM

Related issues 2 (0 open2 closed)

Related to Suricata - Bug #6041: ASSERT: !(sb->region.buf_offset != 0)ClosedVictor JulienActions
Related to Suricata - Bug #6066: Memory Corruption in util-streaming-bufferClosedVictor JulienActions
Actions

Also available in: Atom PDF