Project

General

Profile

Actions

Bug #2307

closed

segfault in http_start with 4.1.0-dev (rev 83f220a)

Added by Peter Manev about 7 years ago. Updated about 7 years ago.

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

Description

Running on live traffic I get a segfault (full details in the attached)

Thread 1 (Thread 0x7f87b0ff9700 (LWP 16275)):
#0  0x000000000052d689 in GetBufferForTX (tx=0x7f87298e9d30, tx_id=10, de_ctx=0x0, det_ctx=0x7f8729235610, f=0x7f84292008d0, htp_state=0x7f87298df770, flags=36 '$', 
    buffer_len=0x7f87b0ff7004) at detect-http-start.c:115
#1  0x000000000052daad in PrefilterTxHttpRequestStart (det_ctx=0x7f8729235610, pectx=0x24928550, p=0x7f8731efe7c0, f=0x7f84292008d0, txv=0x7f87298e9d30, idx=10, 
    flags=36 '$') at detect-http-start.c:192
#2  0x0000000000504f61 in PrefilterTx (det_ctx=0x7f8729235610, sgh=0x24933510, p=0x7f8731efe7c0, flags=36 '$') at detect-engine-prefilter.c:138
#3  0x000000000050514d in Prefilter (det_ctx=0x7f8729235610, sgh=0x24933510, p=0x7f8731efe7c0, flags=36 '$', has_state=true) at detect-engine-prefilter.c:206
#4  0x00000000004bd14f in SigMatchSignatures (th_v=0x22b877c0, de_ctx=0x165e2fe0, det_ctx=0x7f8729235610, p=0x7f8731efe7c0) at detect.c:1111
#5  0x00000000004bddae in DetectFlow (tv=0x22b877c0, de_ctx=0x165e2fe0, det_ctx=0x7f8729235610, p=0x7f8731efe7c0) at detect.c:1508
#6  0x00000000004be012 in Detect (tv=0x22b877c0, p=0x7f8731efe7c0, data=0x7f8729235610, pq=0x0, postpq=0x0) at detect.c:1582
#7  0x0000000000575eb3 in FlowWorker (tv=0x22b877c0, p=0x7f8731efe7c0, data=0x7f8731f45fc0, preq=0x1666bf10, unused=0x0) at flow-worker.c:257
#8  0x0000000000624c2a in TmThreadsSlotVarRun (tv=0x22b877c0, p=0x7f8731efe7c0, slot=0x16669cc0) at tm-threads.c:130
#9  0x00000000005eee1f in TmThreadsSlotProcessPkt (tv=0x22b877c0, s=0x16669cc0, p=0x7f8731efe7c0) at tm-threads.h:147
#10 0x00000000005f1312 in AFPParsePacketV3 (ptv=0x7f872ffffd80, pbd=0x7f85a82b0000, ppd=0x7f85a82b0c80) at source-af-packet.c:1036
#11 0x00000000005f1389 in AFPWalkBlock (ptv=0x7f872ffffd80, pbd=0x7f85a82b0000) at source-af-packet.c:1051
#12 0x00000000005f1539 in AFPReadFromRingV3 (ptv=0x7f872ffffd80) at source-af-packet.c:1090
#13 0x00000000005f2aa1 in ReceiveAFPLoop (tv=0x22b877c0, data=0x7f872ffffd80, slot=0x16a359c0) at source-af-packet.c:1479
#14 0x0000000000625594 in TmThreadsSlotPktAcqLoop (td=0x22b877c0) at tm-threads.c:334
#15 0x00007f87faa156ba in start_thread (arg=0x7f87b0ff9700) at pthread_create.c:333
#16 0x00007f87f942d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) 


Files

segfault-info (20.3 KB) segfault-info Peter Manev, 12/01/2017 01:57 AM
Actions

Also available in: Atom PDF