Actions
Bug #4375
closedsegv in ApplyToU8Hash
Affected Versions:
Effort:
Difficulty:
Label:
Needs backport to 5.0, Needs backport to 6.0
Description
AddressSanitizer:DEADLYSIGNAL ================================================================= ==24334==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000117eaa6 bp 0x7ffef1f38410 sp 0x7ffef1f38040 T0) ==24334==The signal is caused by a READ memory access. ==24334==Hint: address points to the zero page. #0 0x117eaa6 in ApplyToU8Hash /__w/suricata/suricata/src/detect-engine-prefilter-common.c:167:25 #1 0x117df2a in SetupEngineForPacketHeaderPrefilterPacketU8HashCtx /__w/suricata/suricata/src/detect-engine-prefilter-common.c:238:9 #2 0x117b36e in SetupU8Hash /__w/suricata/suricata/src/detect-engine-prefilter-common.c:327:5 #3 0x11783ff in PrefilterSetupPacketHeaderCommon /__w/suricata/suricata/src/detect-engine-prefilter-common.c:391:9 #4 0x1176eff in PrefilterSetupPacketHeaderU8Hash /__w/suricata/suricata/src/detect-engine-prefilter-common.c:408:12 #5 0x1285320 in PrefilterSetupIType /__w/suricata/suricata/src/detect-itype.c:342:12 #6 0x7d0220 in PrefilterSetupRuleGroup /__w/suricata/suricata/src/detect-engine-prefilter.c:365:13 #7 0x11674dd in SigAddressPrepareStage4 /__w/suricata/suricata/src/detect-engine-build.c:1780:9 #8 0x11698f3 in SigGroupBuild /__w/suricata/suricata/src/detect-engine-build.c:1920:9 #9 0x777191 in SigLoadSignatures /__w/suricata/suricata/src/detect-engine-loader.c:370:9 #10 0x7293e5 in DetectEngineReload /__w/suricata/suricata/src/detect-engine.c:4062:9 #11 0x57e3da in LLVMFuzzerTestOneInput /__w/suricata/suricata/src/tests/fuzz/fuzz_sigpcap.c:122:9 #12 0x584d71 in runOneFile /__w/suricata/suricata/src/tests/fuzz/onefile.c:39:5 #13 0x58455a in main /__w/suricata/suricata/src/tests/fuzz/onefile.c:76:21 #14 0x7f760b9c00b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16 #15 0x4d2ced in _start (/__w/suricata/suricata/src/fuzz_sigpcap+0x4d2ced) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /__w/suricata/suricata/src/detect-engine-prefilter-common.c:167:25 in ApplyToU8Hash ==24334==ABORTING
https://github.com/OISF/suricata/runs/2013284559
Actions