Project

General

Profile

Actions

Bug #2370

closed

Conf: Multipe NULL-pointer dereferences in PostConfLoadedSetup

Added by Wolfgang Hotwagner almost 4 years ago. Updated almost 4 years ago.

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

Description

Multiple NULL-pointer dereferences after ConfGet in PostConfLoadedSetup can cause suricata to terminate with segfaults. The ASAN-output:

ASAN:DEADLYSIGNAL =================================================================
5734ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f1a9a3967cc bp 0x7ffdff033ad0 sp 0x7ffdff033250 T0)
#0 0x7f1a9a3967cb (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x447cb)
#1 0x55ba65f66f27 in PostConfLoadedSetup /root/suricata-1/src/suricata.c:2652
#2 0x55ba65f6870e in main /root/suricata-1/src/suricata.c:2898
#3 0x7f1a96aeb2b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
#4 0x55ba65af9039 in _start (/usr/local/bin/suricata+0xc8039)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x447cb)

Actions #1

Updated by Andreas Herz almost 4 years ago

  • Target version set to TBD
Actions #2

Updated by Victor Julien almost 4 years ago

  • Status changed from New to Closed
  • Target version changed from TBD to 4.1beta1
Actions

Also available in: Atom PDF