Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sched/signal: fix pthread_kill use after free #13134

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

Gary-Hobson
Copy link
Contributor

Summary

When a low-priority thread sends a kill signal to a high-priority thread, the high-priority thread will exit and release tcb. When the thread returns to the low-priority thread, it will access the released stcb.

Impact

Testing

When a low-priority thread sends a kill signal to a high-priority thread,
the high-priority thread will exit and release tcb. When the thread returns
to the low-priority thread, it will access the released stcb.

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 7b02d78 into apache:master Aug 23, 2024
28 checks passed
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.

3 participants