DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 252] Possible access to invalid FDs in rte_eth_tap
@ 2019-04-12 16:58 bugzilla
  2019-04-12 16:58 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2019-04-12 16:58 UTC (permalink / raw)
  To: dev

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@dpdk.org
          Reporter: herakliusz.lipiec@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-dev] [Bug 252] Possible access to invalid FDs in rte_eth_tap
  2019-04-12 16:58 [dpdk-dev] [Bug 252] Possible access to invalid FDs in rte_eth_tap bugzilla
@ 2019-04-12 16:58 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2019-04-12 16:58 UTC (permalink / raw)
  To: dev

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@dpdk.org
          Reporter: herakliusz.lipiec@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-12 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-12 16:58 [dpdk-dev] [Bug 252] Possible access to invalid FDs in rte_eth_tap bugzilla
2019-04-12 16:58 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).