From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla@dpdk.org Subject: [Bug 189] RTE Timer Adapter Use After Free Date: Tue, 15 Jan 2019 11:27:56 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To: dev@dpdk.org Return-path: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D189 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@dpdk.org Reporter: mattias.ronnblom@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 po= ol, resulting in a data race. --=20 You are receiving this mail because: You are the assignee for the bug.=