Project

General

Profile

Actions

Bug #6047

closed

detect: multi-tenancy crash

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

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

Description

AddressSanitizer:DEADLYSIGNAL
=================================================================
==2468584==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000050 (pc 0x7f8804dfba3f bp 0x7f87fec81b10 sp 0x7f87fec812c8 T3)
==2468584==The signal is caused by a READ memory access.
==2468584==Hint: address points to the zero page.
    #0 0x7f8804dfba3f  string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:370
    #1 0x5611d91dc8c7 in __interceptor_memcpy (/home/victor/sync/devel/eidps/src/suricata+0x2b58c7) (BuildId: f5eb790f4950834ab91f4a28cd7c1b62412a656c)
    #2 0x7f8805b2af2a in pcre2_substring_copy_bynumber_8 (/lib/x86_64-linux-gnu/libpcre2-8.so.0+0x63f2a) (BuildId: 184a841c55fb7fe5e3873fcda8368c71016cd54c)
    #3 0x5611d92b6ace in SCClassConfAddClasstype /home/victor/devel/eidps/src/util-classification-config.c:277:11
    #4 0x5611d92b7e50 in SCClassConfParseFile /home/victor/devel/eidps/src/util-classification-config.c:356:13
    #5 0x5611d92b7a2f in SCClassConfLoadClassficationConfigFile /home/victor/devel/eidps/src/util-classification-config.c:541:10
    #6 0x5611d9436004 in DetectEngineCtxInitReal /home/victor/devel/eidps/src/detect-engine.c:2514:10
    #7 0x5611d943629f in DetectEngineCtxInitWithPrefix /home/victor/devel/eidps/src/detect-engine.c:2559:16
    #8 0x5611d944906b in DetectEngineMultiTenantLoadTenant /home/victor/devel/eidps/src/detect-engine.c:3830:14
    #9 0x5611d9448ceb in DetectLoaderFuncLoadTenant /home/victor/devel/eidps/src/detect-engine.c:3923:9
    #10 0x5611d9461de3 in DetectLoader /home/victor/sync/devel/eidps/src/detect-engine-loader.c:602:21
    #11 0x5611d92a4048 in TmThreadsManagement /home/victor/devel/eidps/src/tm-threads.c:552:9
    #12 0x7f8804dcbb42 in start_thread nptl/pthread_create.c:442:8
    #13 0x7f8804e5d9ff  misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:370 
Thread T3 (DL#03) created by T0 (Suricata-Main) here:
    #0 0x5611d922fc3c in __interceptor_pthread_create (/home/victor/sync/devel/eidps/src/suricata+0x308c3c) (BuildId: f5eb790f4950834ab91f4a28cd7c1b62412a656c)
    #1 0x5611d929d77f in TmThreadSpawn /home/victor/devel/eidps/src/tm-threads.c:1667:14
    #2 0x5611d94616e5 in DetectLoaderThreadSpawn /home/victor/sync/devel/eidps/src/detect-engine-loader.c:648:13
    #3 0x5611d943ca03 in DetectEngineMultiTenantSetup /home/victor/devel/eidps/src/detect-engine.c:4137:9
    #4 0x5611d9281e7f in PostConfLoadedDetectSetup /home/victor/devel/eidps/src/suricata.c:2547:13
    #5 0x5611d9285241 in SuricataMain /home/victor/devel/eidps/src/suricata.c:2967:5
    #6 0x5611d928103e in main /home/victor/devel/eidps/src/main.c:22:12
    #7 0x7f8804d60d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16

==2468584==ABORTING

Related issues 1 (0 open1 closed)

Related to Suricata - Bug #4797: pcre2 crash in multi-tenantClosedJeff LucovskyActions
Actions #1

Updated by Victor Julien over 1 year ago

  • Priority changed from Normal to Low
Actions #2

Updated by Juliana Fajardini Reichow over 1 year ago

  • Target version changed from 7.0.0-rc2 to 7.0.0
Actions #3

Updated by Juliana Fajardini Reichow over 1 year ago

  • Assignee changed from OISF Dev to Jeff Lucovsky
Actions #4

Updated by Jeff Lucovsky over 1 year ago

  • Related to Bug #4797: pcre2 crash in multi-tenant added
Actions #5

Updated by Jeff Lucovsky over 1 year ago

  • Status changed from New to In Progress
Actions #6

Updated by Jeff Lucovsky over 1 year ago

  • Status changed from In Progress to In Review
Actions #7

Updated by Victor Julien over 1 year ago

  • Status changed from In Review to In Progress
  • Priority changed from Low to High
  • Target version changed from 7.0.0 to 7.0.1
Actions #8

Updated by Jeff Lucovsky over 1 year ago

  • Private changed from No to Yes
Actions #9

Updated by Jeff Lucovsky over 1 year ago

  • Status changed from In Progress to Rejected

Duplicate of #4797

Actions #10

Updated by Victor Julien about 1 year ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF