-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Evil call_soon
may cause OOB in future_schedule_callbacks
#125969
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
topic-asyncio
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
picnixz
added
topic-asyncio
type-crash
A hard crash of the interpreter, possibly with a core dump
labels
Oct 25, 2024
picnixz
added
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
labels
Oct 25, 2024
kumaraditya303
pushed a commit
that referenced
this issue
Oct 25, 2024
…l_soon` (#125970) Co-authored-by: Andrew Svetlov <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 25, 2024
…l `call_soon` (pythonGH-125970) (cherry picked from commit c5b99f5) Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Andrew Svetlov <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 25, 2024
…l `call_soon` (pythonGH-125970) (cherry picked from commit c5b99f5) Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Andrew Svetlov <[email protected]>
kumaraditya303
pushed a commit
that referenced
this issue
Oct 25, 2024
…il `call_soon` (GH-125970) (#125992) gh-125969: fix OOB in `future_schedule_callbacks` due to an evil `call_soon` (GH-125970) (cherry picked from commit c5b99f5) Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Andrew Svetlov <[email protected]>
kumaraditya303
pushed a commit
that referenced
this issue
Oct 25, 2024
…il `call_soon` (GH-125970) (#125991) gh-125969: fix OOB in `future_schedule_callbacks` due to an evil `call_soon` (GH-125970) (cherry picked from commit c5b99f5) Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Andrew Svetlov <[email protected]>
thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
topic-asyncio
type-crash
A hard crash of the interpreter, possibly with a core dump
Crash report
Bug description:
In
future_schedule_callbacks
, the length of the callback list is assumed to be constant, but an evilcall_soon
can make it change.PoC:
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
future_schedule_callbacks
due to an evilcall_soon
#125970future_schedule_callbacks
due to an evilcall_soon
(GH-125970) #125991future_schedule_callbacks
due to an evilcall_soon
(GH-125970) #125992The text was updated successfully, but these errors were encountered: