[dpdk-dev] [Bug 189] RTE Timer Adapter Use After Free
bugzilla at dpdk.org
bugzilla at dpdk.org
Tue Jan 15 12:27:56 CET 2019
https://bugs.dpdk.org/show_bug.cgi?id=189
Bug ID: 189
Summary: RTE Timer Adapter Use After Free
Product: DPDK
Version: 19.02
Hardware: All
OS: All
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: eventdev
Assignee: dev at dpdk.org
Reporter: mattias.ronnblom at ericsson.com
Target Milestone: ---
Upon event timer expiry, the timer adapter will cause the timer struct to be
used after its freed.
rte_event_timer_adapter.c:sw_event_timer_cb() calls rte_mempool_put(),
returning the internal timer-related data, including a rte_timer instance, to
the pool.
rte_timer_manage() updates fields of the rte_timer struct *after* the expiry
call back has finished.
Timers armed on a different core may retrieve this timer struct from the pool,
resulting in a data race.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the dev
mailing list