Project

General

Profile

Actions

Bug #58941

open

Wireshark: Dissector bug, Protocol CEPH

Added by Bram Kranendonk about 1 year ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
common
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
wireshark,dissector,c
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description:
The CEPH Wireshark dissector plugin is throwing an error with the message "UNKNOWN x7[Dissector bug, protocol Ceph: C:\gitlab-builds\builds\MsQ3pox2\1\wireshark\wireshark\epan\dissectors\packet-ceph.c:1521: failed assertion "d->convd" (Frame visited, but no saved state.)]". This error occurs when attempting to use the dissector plugin to analyze network traffic.

Steps to Reproduce:

Open Wireshark and start a capture session.
Filter the capture session for CEPH protocol packets.
Attempt to analyze the CEPH packets using the Wireshark dissector plugin.
The error message "UNKNOWN x7[Dissector bug, protocol Ceph: C:\gitlab-builds\builds\MsQ3pox2\1\wireshark\wireshark\epan\dissectors\packet-ceph.c:1521: failed assertion "d->convd" (Frame visited, but no saved state.)]" is displayed.
Expected Result:
The CEPH Wireshark dissector plugin should be able to analyze CEPH protocol packets without throwing any errors.

Actual Result:
The CEPH Wireshark dissector plugin throws the "UNKNOWN x7[Dissector bug, protocol Ceph: C:\gitlab-builds\builds\MsQ3pox2\1\wireshark\wireshark\epan\dissectors\packet-ceph.c:1521: failed assertion "d->convd" (Frame visited, but no saved state.)]" error message when attempting to analyze CEPH protocol packets.

Workaround:
Currently, there is no known workaround for this error.

Impact:
This error prevents users from being able to analyze CEPH protocol packets using the Wireshark dissector plugin. It may cause delays in troubleshooting network issues related to CEPH protocol packets.

Version:
This issue was observed in:

Ceph version 17.2.4 (1353ed37dec8d74973edc3d5d5908c20ad5a7332) quincy (stable)

Wireshark version 4.0.4 Windows 64-bit

Additional Information:
The error message indicates a problem with the packet-ceph.c file. It may be related to the handling of packet states during the dissection process.

Example:

```

Frame 252: 134 bytes on wire (1072 bits), 134 bytes captured (1072 bits)
Ethernet II, Src: e2:27:f2:b1:cc:79 (e2:27:f2:b1:cc:79), Dst: f6:ec:08:e7:d2:d1 (f6:ec:08:e7:d2:d1)
Internet Protocol Version 4, Src: 10.153.75.30, Dst: 10.153.72.50
Transmission Control Protocol, Src Port: 6840, Dst Port: 43918, Seq: 259, Ack: 831, Len: 68
Source Port: 6840
Destination Port: 43918
[Stream index: 7]
[Conversation completeness: Complete, WITH_DATA (31)]
[TCP Segment Len: 68]
Sequence Number: 259 (relative sequence number)
Sequence Number (raw): 3999131787
[Next Sequence Number: 327 (relative sequence number)]
Acknowledgment Number: 831 (relative ack number)
Acknowledgment number (raw): 1653547602
1000 .... = Header Length: 32 bytes (8)
Flags: 0x018 (PSH, ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Accurate ECN: Not set
.... 0... .... = Congestion Window Reduced: Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgment: Set
.... .... 1... = Push: Set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
[TCP Flags: ·······AP···]
Window: 486
[Calculated window size: 62208]
[Window size scaling factor: 128]
Checksum: 0xb746 [unverified]
[Checksum Status: Unverified]
Urgent Pointer: 0
Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
[Timestamps]
[SEQ/ACK analysis]
TCP payload (68 bytes)
Ceph UNKNOWN x7
[Dissector bug, protocol Ceph: C:\gitlab-builds\builds\MsQ3pox2\1\wireshark\wireshark\epan\dissectors\packet-ceph.c:1521: failed assertion "d->convd" (Frame visited, but no saved state.)]
[Expert Info (Error/Malformed): C:\gitlab-builds\builds\MsQ3pox2\1\wireshark\wireshark\epan\dissectors\packet-ceph.c:1521: failed assertion "d->convd" (Frame visited, but no saved state.)]
[C:\gitlab-builds\builds\MsQ3pox2\1\wireshark\wireshark\epan\dissectors\packet-ceph.c:1521: failed assertion "d->convd" (Frame visited, but no saved state.)]
[Severity level: Error]
[Group: Malformed]

```

Actions #1

Updated by Ilya Dryomov 11 months ago

  • Target version deleted (v17.2.6)
Actions

Also available in: Atom PDF