DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [DPDK/core Bug 2111] eal: rte_dev_probe() rollback can call local_dev_remove(NULL)
@ 2026-11-12 17:38 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2026-11-12 17:38 UTC (permalink / raw)
  To: dev

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

            Bug ID: 2111
           Summary: eal: rte_dev_probe() rollback can call
                    local_dev_remove(NULL)
           Product: DPDK
           Version: 26.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: stephen@networkplumber.org
  Target Milestone: ---

local_dev_probe() sets *new_dev = NULL (lib/eal/common/eal_common_dev.c:186)
and can return at :252 without setting it. rte_dev_probe() continues on -EEXIST
(:321); if the secondary sync then fails it reaches rollback: and calls
local_dev_remove(dev) (:369) with dev == NULL, which dereferences it (:405).
Narrow path.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-12 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 17:38 [DPDK/core Bug 2111] eal: rte_dev_probe() rollback can call local_dev_remove(NULL) bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox