eal: rte_dev_probe() rollback can call local_dev_remove(NULL)
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: [email protected]
Reporter: [email protected]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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.