Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-1087

DPDK Vhost lib dequeue path regression may cause OVS segfault

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • openvswitch3.5
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • rhel-9
    • rhel-sst-network-fastdatapath
    • ssg_networking
    • OVS/DPDK - FDP-25.B
    • 1

       Problem Description:

      A regression in the DPDK Vhost library was introduced in v24.07.

      In rte_vhost_dequeue_burst(), if the Virtiqueue is not ready, it returns early without resetting the packet count to 0, creating a discrepency between the count value and the packets array. With OVS, it leads to a segmentation fault.

       Impact Assessment: Describe the severity and impact (e.g., network down,availability of a workaround, etc.).

       

       Software Versions: openvswitch3.5

       

        Issue Type: regression

       

       Reproducibility:

      The issue might be reproducible with Vhost-user, when using vIOMMU and 2MB hugepages for the guest, but that is an unlikely case.

      It was discovered with VDUSE + Vhost-vDPA, when not using hugepages for the guest.

       

       Reproduction Steps: Provide detailed steps or scripts to replicate the issue.

       

       Observed Behavior: ovs-vswitchd crashes with a segmentation fault.

      )

              rh-ee-sfaye Stanislas Faye
              mcoqueli@redhat.com Maxime Coquelin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: