Skip to contentSkip to conversation

Possible access to invalid FDs in rte_eth_tap

dpdk-dev [email protected] 1 participant 1 message Apr 12, 2019

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.