You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Jason Fehr (Jira)" <ji...@apache.org> on 2025/02/05 16:26:00 UTC
[jira] [Created] (IMPALA-13736) Potential Use After Free in ExecutorGroup
Jason Fehr created IMPALA-13736:
-----------------------------------
Summary: Potential Use After Free in ExecutorGroup
Key: IMPALA-13736
URL: https://issues.apache.org/jira/browse/IMPALA-13736
Project: IMPALA
Issue Type: Bug
Reporter: Jason Fehr
Assignee: Jason Fehr
The ExecutorGroup class contains a potential use-after-free bug in the RemoveExecutor() function. Since this function's one parameter is an object reference, the remove function call [here|https://github.com/apache/impala/blob/35c6a0b76d6c41c6b120d0c1eae7023bee518502/be/src/scheduling/executor-group.cc#L154] has the potential to destroy the same object that was passed in. Then, when that object is referenced [here|https://github.com/apache/impala/blob/35c6a0b76d6c41c6b120d0c1eae7023bee518502/be/src/scheduling/executor-group.cc#L155] and [here|https://github.com/apache/impala/blob/35c6a0b76d6c41c6b120d0c1eae7023bee518502/be/src/scheduling/executor-group.cc#L160-L161], garbage is returned.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)