Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-106481

DPDK/VDUSE: Control virtqueue index wrapping issue

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • dpdk
    • No
    • None
    • rhel-net-ovs-dpdk
    • ssg_networking
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Given a DPDK VDUSE device using the Vhost-user backend,

      When control virtqueue operations are processed,

      Then the avail and used indexes must not be incorrectly wrapped by DPDK and the device-driver communication must remain functional without causing memory corruption or segmentation faults.

      Show
      Given a DPDK VDUSE device using the Vhost-user backend, When control virtqueue operations are processed, Then the avail and used indexes must not be incorrectly wrapped by DPDK and the device-driver communication must remain functional without causing memory corruption or segmentation faults.
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

       Problem Description:

      The control virtqueue implementation in DPDK Vhost library wraps the avail and used indexes to the ring size whereas the driver expects to do this operation by itself.

       

      It results in the driver to never notify the device new messages are available, and makes the device implementation to access random memory, resulting segmentation faults and other kind of unpredictable behaviors.

       

      With the fix implemented, control queue should also be tested without VIRTIO_F_EVENT_IDX feature negotiated.

       

              ovsdpdk-triage ovsdpdk triage
              mcoqueli@redhat.com Maxime Coquelin
              ovsdpdk triage ovsdpdk triage
              Ting Li Ting Li
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: