Project

General

Profile

Actions

Bug #3996

closed

SIGABRT: SMTPTransactionComplete

Added by Peter Manev over 3 years ago. Updated over 2 years ago.

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

Description

More details attached.
Full coredump is available.|

Thread 1 (Thread 0x7f649318f700 (LWP 83616)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f651b026535 in __GI_abort () at abort.c:79
#2  0x00007f651b02640f in __assert_fail_base (fmt=0x7f651b188ee0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0xf50aa0 <.str.73> "!((state->curr_tx == ((void*)0)))", file=0xf502e0 <.str.47> "app-layer-smtp.c", line=886, 
    function=<optimized out>) at assert.c:92
#3  0x00007f651b034102 in __GI___assert_fail (assertion=0xf50aa0 <.str.73> "!((state->curr_tx == ((void*)0)))", file=0xf502e0 <.str.47> "app-layer-smtp.c", line=886, 
    function=0xf50b00 <__PRETTY_FUNCTION__.SMTPTransactionComplete> "void SMTPTransactionComplete(SMTPState *)") at assert.c:101
#4  0x000000000069338e in SMTPTransactionComplete (state=0x60e005b28980) at app-layer-smtp.c:886
#5  0x000000000068f73d in SMTPProcessReply (state=0x60e005b28980, f=0x61311d9178c0, pstate=0x60403270e4d0, td=0x602000abdf10) at app-layer-smtp.c:1063
#6  0x0000000000688fcf in SMTPParse (direction=1, f=0x61311d9178c0, state=0x60e005b28980, pstate=0x60403270e4d0, input=0x61d00e541799 "250 2.0.0 Ok\r\n", input_len=14, thread_data=0x602000abdf10) at app-layer-smtp.c:1401
suricata --build-info
This is Suricata version 6.0.0-dev (518e0e66c 2020-09-28)
Features: DEBUG_VALIDATION PCAP_SET_BUFF AF_PACKET HAVE_PACKET_FANOUT LIBCAP_NG LIBNET1.1 HAVE_HTP_URI_NORMALIZE_HOOK PCRE_JIT HAVE_NSS HAVE_LUA HAVE_LUAJIT HAVE_LIBJANSSON TLS TLS_C11 MAGIC RUST 
SIMD support: SSE_4_2 SSE_4_1 SSE_3 
Atomic intrinsics: 1 2 4 8 16 byte(s)
64-bits, Little-endian architecture
GCC version 4.2.1 Compatible Clang 7.0.1 (tags/RELEASE_701/final), C version 201112
compiled with _FORTIFY_SOURCE=0
L1 cache line size (CLS)=64
thread local storage method: _Thread_local
compiled with LibHTP v0.5.34, linked against LibHTP v0.5.34

Suricata Configuration:
  AF_PACKET support:                       yes
  eBPF support:                            yes
  XDP support:                             yes
  PF_RING support:                         no
  NFQueue support:                         no
  NFLOG support:                           no
  IPFW support:                            no
  Netmap support:                          no 
  DAG enabled:                             no
  Napatech enabled:                        no
  WinDivert enabled:                       no

  Unix socket enabled:                     yes
  Detection enabled:                       yes

  Libmagic support:                        yes
  libnss support:                          yes
  libnspr support:                         yes
  libjansson support:                      yes
  hiredis support:                         no
  hiredis async with libevent:             no
  Prelude support:                         no
  PCRE jit:                                yes
  LUA support:                             yes, through luajit
  libluajit:                               yes
  GeoIP2 support:                          yes
  Non-bundled htp:                         no
  Old barnyard2 support:                   
  Hyperscan support:                       yes
  Libnet support:                          yes
  liblz4 support:                          yes

  Rust support:                            yes
  Rust strict mode:                        yes
  Rust compiler path:                      /root/.cargo/bin/rustc
  Rust compiler version:                   rustc 1.46.0 (04488afe3 2020-08-24)
  Cargo path:                              /root/.cargo/bin/cargo
  Cargo version:                           cargo 1.46.0 (149022b1d 2020-07-17)
  Cargo vendor:                            yes

  Python support:                          yes
  Python path:                             /usr/bin/python3
  Python distutils                         yes
  Python yaml                              yes
  Install suricatactl:                     yes
  Install suricatasc:                      yes
  Install suricata-update:                 not bundled

  Profiling enabled:                       no
  Profiling locks enabled:                 no

  Plugin support (experimental):           yes

Development settings:
  Coccinelle / spatch:                     no
  Unit tests enabled:                      no
  Debug output enabled:                    no
  Debug validation enabled:                yes

Generic build parameters:
  Installation prefix:                     /usr/local
  Configuration directory:                 /usr/local/etc/suricata/
  Log directory:                           /usr/local/var/log/suricata/

  --prefix                                 /usr/local
  --sysconfdir                             /usr/local/etc
  --localstatedir                          /usr/local/var
  --datarootdir                            /usr/local/share

  Host:                                    x86_64-pc-linux-gnu
  Compiler:                                clang (exec name) / g++ (real)
  GCC Protect enabled:                     no
  GCC march native enabled:                yes
  GCC Profile enabled:                     no
  Position Independent Executable enabled: no
  CFLAGS                                   -ggdb3 -O0  -Wchar-subscripts -Wshadow -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -fno-strict-aliasing -fstack-protector-all -fsanitize=address -fno-omit-frame-pointer -Wno-unused-parameter -Wno-unused-function -std=c11 -march=native -I${srcdir}/../rust/gen -I${srcdir}/../rust/dist
  PCAP_CFLAGS                               -I/usr/include
  SECCFLAGS   

Files

bug-SMTPTransactionComplete (108 KB) bug-SMTPTransactionComplete Peter Manev, 10/05/2020 05:27 AM
Actions #1

Updated by Peter Manev over 3 years ago

Setting to private till the impact is known as a precaution.

Actions #2

Updated by Jeff Lucovsky over 3 years ago

Do you have a pcap that demonstrates the problem?

Actions #3

Updated by Peter Manev over 3 years ago

Unfortunately not, sorry.
I can try regenerating a core if any help.

Actions #4

Updated by Philippe Antoine over 3 years ago

  • Target version set to 6.0.1
Actions #5

Updated by Victor Julien over 3 years ago

  • Target version changed from 6.0.1 to 6.0.2
Actions #6

Updated by Victor Julien about 3 years ago

  • Target version changed from 6.0.2 to 7.0.0-beta1
Actions #7

Updated by Philippe Antoine over 2 years ago

  • Status changed from New to Closed
Actions #8

Updated by Victor Julien over 2 years ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF