Skip to content

[UR][Sanitizer] Fix event use-after-free in sanitizer layer#21992

Open
zhaomaosu wants to merge 2 commits into
intel:syclfrom
zhaomaosu:san-fix-events
Open

[UR][Sanitizer] Fix event use-after-free in sanitizer layer#21992
zhaomaosu wants to merge 2 commits into
intel:syclfrom
zhaomaosu:san-fix-events

Conversation

@zhaomaosu
Copy link
Copy Markdown
Contributor

Level Zero does not retain input events passed to pfnEventsWait long enough for the caller to safely release them after the call returns. Defer event release to ContextInfo destruction instead, where all enqueued work is guaranteed complete.

Level Zero does not retain input events passed to pfnEventsWait
long enough for the caller to safely release them after the call
returns. Defer event release to ContextInfo destruction instead,
where all enqueued work is guaranteed complete.
@zhaomaosu zhaomaosu requested a review from a team as a code owner May 12, 2026 05:49
@zhaomaosu zhaomaosu requested a review from a team May 12, 2026 05:50
@github-actions
Copy link
Copy Markdown
Contributor

@intel/llvm-gatekeepers please consider merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants