Actions
Bug #6047
closeddetect: multi-tenancy crash
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
Actions