[dpdk-dev] [Bug 252] Possible access to invalid FDs in rte_eth_tap

bugzilla at dpdk.org bugzilla at dpdk.org
Fri Apr 12 18:58:53 CEST 2019


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

            Bug ID: 252
           Summary: Possible access to invalid FDs in rte_eth_tap
           Product: DPDK
           Version: 18.11
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev at dpdk.org
          Reporter: herakliusz.lipiec at intel.com
  Target Milestone: ---

In tap_mp_attach_queues function in rte_eth_tap.c we iterate over a queue of
fds received through IPC and we dont check if they are valid FDs before
assigning them to txq and rxq. There is also no check for number of received
messages (there could be none if IPC is disabled so checking of the return code
is not enough).
Present in 18.11, 19.02 and 19.05rc1.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list