Project

General

Profile

Actions

Bug #15080

closed

Suricata process dying due to Hyperscan error - also may randomly segfault

Added by Bill Meeks over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Suricata
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
2.7.x
Affected Plus Version:
23.09
Affected Architecture:
amd64

Description

Several users on the Netgate Forum are reporting random issues with Suricata failing due to the following Hyperscan error.

Error: spm-hs: Hyperscan returned fatal error -1.

For some users Suricata will error out on startup. But for others, it will run for some random period of time before emitting the Hyperscan error and halting.

Actions #1

Updated by Bill Meeks over 1 year ago

Pull request 1333 for the RELENG_2_7_2 branch of FreeBSD-ports has been submitted to address this issue.

https://github.com/pfsense/FreeBSD-ports/pull/1333

Actions #2

Updated by Jim Pingle over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

PRs merged, thanks!

Actions #3

Updated by Bill Meeks over 1 year ago

Additional update for this issue for a complete history:

Two additional heap memory buffer overflow bugs were recently discovered in the custom Legacy Blocking Module code used with Suricata on pfSense. Those memory overflows were found during testing with the llvm ASAN tool enabled. It is highly likely these memory buffer overflows contributed to the Hyperscan bug and to other Signal 11 segfault bugs experienced when using Legacy Blocking Mode with Suricata 7.x. The newly identified bugs were fixed in this pull request: https://github.com/pfsense/FreeBSD-ports/pull/1337.

Actions #4

Updated by Jim Pingle over 1 year ago

PR merged, thanks!

Actions

Also available in: Atom PDF