[DPDK/other Bug 2107] pdump: BPF filter leaked on error in set_pdump_rxtx_cbs()

bugzilla at dpdk.org bugzilla at dpdk.org
Thu Nov 12 18:35:18 CET 2026


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

            Bug ID: 2107
           Summary: pdump: BPF filter leaked on error in
                    set_pdump_rxtx_cbs()
           Product: DPDK
           Version: 26.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Low
         Component: other
          Assignee: dev at dpdk.org
          Reporter: stephen at networkplumber.org
  Target Milestone: ---

lib/pdump/rte_pdump.c:403 loads filter = rte_bpf_load(p->prm). The later error
returns (invalid device name, port/queue checks, around :422-:453) return
without rte_bpf_destroy(filter). A request with a filter and an invalid port
leaks the program each time.

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


More information about the dev mailing list