Project

General

Profile

Actions

Bug #6168

closed

dpdk: dpdk-telemetry , suricata Error: suricata: stacktrace:sig 11

Added by Andre ten Bohmer 11 months ago. Updated 7 months ago.

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

Description

Hello,

Just looking around in dpdk-telemetry and probably using some false parameters/commands and I was able to crash suricata.

Cheers,
Andre

Red Hat Enterprise Linux release 8.7 (Ootpa)

]# suricatasc
Success:
"7.0.0-rc2 RELEASE"

]# dpdk-telemetry.py
Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2 {
"version": "DPDK 23.07.0-rc1",
"pid": 10390,
"max_output_len": 16384
}
--> /eventdev/ta_info,1
Error in reply:
Traceback (most recent call last):
File "/usr/local/bin/dpdk-telemetry.py", line 183, in <module>
handle_socket(args, sock_path)
File "/usr/local/bin/dpdk-telemetry.py", line 147, in handle_socket
read_socket(sock, output_buf_len, pretty=prompt)
File "/usr/local/bin/dpdk-telemetry.py", line 30, in read_socket
ret = json.loads(reply)
File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

[29158 - ] 2023-06-21 11:28:08 Error: suricata: stacktrace:sig 11:rte_event_timer_adapter_get_info+0x00000009;handle_ta_info+0x0000006a;perform_command+0x00000044;client_handler+0x000000de;start_thread+0x000000ea;clone+0x00000043

Actions #1

Updated by Shivani Bhardwaj 11 months ago

  • Assignee changed from Shivani Bhardwaj to Lukas Sismis
Actions #2

Updated by Jason Ish 11 months ago

  • Project changed from Suricata-Update to Suricata
  • Subject changed from dpdk-telemetry , suricata Error: suricata: stacktrace:sig 11 to dpdk: dpdk-telemetry , suricata Error: suricata: stacktrace:sig 11
Actions #3

Updated by Lukas Sismis 11 months ago

The issue is present in dpdk-testpmd and I believe it is more general issue. Therefore, I've submitted a bug to the DPDK community. Here is the tracker:

https://bugs.dpdk.org/show_bug.cgi?id=1260

I would suggest waiting for the fix.

Actions #4

Updated by Lukas Sismis 11 months ago

  • Status changed from New to Feedback
Actions #5

Updated by Lukas Sismis 7 months ago

  • Status changed from Feedback to Rejected

rejected as it is not relevant to Suricata

Actions

Also available in: Atom PDF