-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-142884: Fix UAF in array.array.tofile with concurrent mutations
#142920
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
106 commits
Select commit
Hold shift + click to select a range
561e706
gh-142884: Use-After-Free Vulnerability Fixed in CPython array.array.…
fatelei cbc0851
gh-138122: Improve bytecode panel (#142910)
ivonastojanovic fc80096
gh-137063: Document that ast node types replaced by Constant are no l…
SnoopJ 71a7cb8
gh-134584: Remove redundant refcount from _BINARY_OP_ADD_UNICODE (gh-…
corona10 1c544ac
gh-124098: Fix incorrect inclusion of handler methods without protoco…
MonadChains ddfc155
gh-142784: make the asyncio REPL call `loop.close()` at exit (#142785)
johnslavik 0f01530
Fix typo in `format_string` docstring (GH-136742)
mxr d2abd57
gh-76007: Deprecate `VERSION` in `xml.etree.ElementTree` & `version` …
hugovk 14f0b51
gh-142419: Add mmap.set_name method for user custom annotation (gh-14…
corona10 e4058d7
GH-142513: Reimplement executor management (GH-142931)
markshannon 4a8ecba
gh-142681: Move NormalizationTest-3.2.0.txt to more safe place. (GH-1…
serhiy-storchaka e22c495
gh-142890: remove unnecessary interp parameter from dict functions an…
kumaraditya303 f54d44d
gh-129068: Make range iterators thread-safe (gh-142886)
colesbury 33d94ab
gh-134584: Eliminate redundant refcounting from _BINARY_OP_SUBSCR_LIS…
cocolato e79c391
gh-118342: [Enum] update docs (GH-137290)
ethanfurman 1391ee6
GH-134584: Remove redundant refcount for `BINARY_OP_SUBSCR_STR_INT` (…
savannahostrowski 220f0b1
gh-142560: prevent use-after-free in search-like methods by exporting…
fatelei 610aabf
gh-142527: Docs: Clarify that random.seed() discards the sign of an i…
karpathy 4aef138
gh-136282: Configparser: create unnamed sections via mapping protocol…
Rogdham 685272e
JIT: Rename trampoline.c to shim.c (#142974)
diegorusso 049c252
gh-134160: Start "Extending and embedding" with a Diataxis-style tuto…
encukou 786f464
gh-142961: Fix constant folding len(tuple) in JIT (GH-142963)
Fidget-Spinner 6a4f103
gh-142776: Ensure fp file descriptor is closed on all code paths in i…
stratakis 6b4bc6e
gh-134584: JIT: Borrow references for immortal promoted globals (GH-1…
Fidget-Spinner e2a7db7
gh-142476: fix memory leak when creating JIT executors (GH-142492)
ashm-dev 08bc03f
gh-120321: Make gi_frame_state transitions atomic in FT build (gh-142…
colesbury 4ea3c1a
gh-120321: Fix TSan reported race in gen_clear_frame (gh-142995)
colesbury e46f28c
gh-129069: Fix listobject.c data races due to memmove (gh-142957)
colesbury 5b52636
gh-142927: Tachyon: Start with user's default light/dark theme (#142987)
hugovk 5989095
gh-143012: use `Py_ssize_t` cast for `PyBytes_FromStringAndSize` (#14…
AZero13 3cc5750
gh-142834: pdb commands command should use last available breakpoint…
cocolato 7607712
gh-120321: Avoid `-Wunreachable-code` warning on Clang (gh-143022)
colesbury 2b4feee
gh-122581: Use parser mutex in default build for subinterpreters (gh-…
colesbury 8d2d7bb
gh-142145: relax the no-longer-quadratic test timing (#143030)
gpshead b8d3fdd
gh-70647: Better promote how to safely parse yearless dates in dateti…
gpshead 09044dd
gh-80744: do not read .pdbrc twice when cwd == $home (#136816)
saucoide 6213a51
gh-143046: Make asyncio REPL respect the `-q` flag (quiet mode) (#143…
johnslavik 3960878
Remove unreachable code in mmapmodule error path on Windows (GH-143063)
hyongtao-code ff7f62e
gh-142927: Tachyon: Comma separate thousands and fix singular/plurals…
hugovk 9ded3dd
gh-142476: Fix Windows crashing with JIT (GH-143021)
Fidget-Spinner e728b00
gh-143057: avoid locking in `tracemalloc` C-APIs when it is not enabl…
kumaraditya303 487e91c
gh-129069: fix more thread safety issues in `list` (#143019)
kumaraditya303 700e9fa
GH-142513: fix missing return in executor_clear (GH-143073)
chris-eibl a88d1b8
gh-143010: Prevent a TOCTOU issue by only calling open once (#143011)
AZero13 3c0888b
gh-89152: Note truth testing exception in `stdtypes.rst` (#137640)
StanFromIreland 665d280
gh-139109: Add terminator to JIT code when halting due to invalid de…
Fidget-Spinner be3c131
GH-139922: Tail calling for MSVC (VS 2026) (GH-143068)
chris-eibl 714037b
gh-139922: Add tail call for MSVC for whats new in 3.15 (GH-143087)
Fidget-Spinner 9e51301
gh-138122: Allow tachyon to write and read binary output (#142730)
pablogsal 5b5ee3c
gh-134584: Eliminate redundant refcounting from `_LOAD_ATTR_WITH_HINT…
cocolato a273bc9
gh-122431: Correct the non-negative error message in `readline.append…
cla7aye15I4nd f9704f1
gh-84232: Fix `pydoc` docs.python.org link generation (#139995)
StanFromIreland 81c8eb8
gh-138122: Add blocking mode for accurate stack traces in Tachyon (#1…
pablogsal 28da1fb
gh-142368: Fix transient error handling in inspection tests (#143093)
pablogsal c4ab024
gh-142448: Disable JIT tracing when monitoring is enabled (GH-142842)
Fidget-Spinner 6536fab
gh-130796: Undeprecate locale.getdefaultlocale() (#143069)
vstinner f783cc3
Update pre-commit with zizmor and Ruff fixes (#143095)
hugovk c8b80f5
gh-134584: Add another contributor to whats new 3.15 (GH-143107)
Fidget-Spinner 25c294b
gh-134584: Eliminate redundant refcounting from `_CALL_TYPE_1` (GH-13…
tomasr8 20aeb3a
GH-143026: Fix assertion error in executor management. (GH-143104)
markshannon 450e836
JIT: don't leak shim memory when shutting down the interpreter (#142984)
diegorusso c2202a7
gh-109263: Start process from spawn context in multiprocessing no lon…
aisk cbe0cb7
gh-143100: Add temporary suppression for set_swap_bodies (gh-143114)
colesbury cc48bf0
gh-134584: Eliminate redundant refcounting from `_BINARY_OP_SUBSCR_TU…
cocolato 50ecd6b
gh-143108: Don't instrument faulthandler.c for TSan (#143109)
colesbury fc2f0fe
JIT: Move executor to a register (#143072)
diegorusso 9af7a20
gh-136186: Fix flaky tests in test_external_inspection (#143110)
pablogsal 57937a8
gh-142145: Avoid timing measurements in quadratic behavior test (gh-1…
colesbury 4ee6929
gh-143121: Skip test that leak threads under TSan (gh-143125)
colesbury e8e044e
gh-143100: Fix memcpy data race in setobject.c (gh-143127)
colesbury d4dc3dd
gh-138122: Replace --interval with --sampling-rate (#143085)
lkollar 1e17ccd
Correctly fold unknown-8bit originating from encoded words. (#142517)
bitdancer 7c44f37
gh-138122: Extend binary profiling format with full source location a…
pablogsal 84b7e69
gh-140717: Add `exc_text` to LogRecord attributes table (GH-140718)
tjkuson 3509fa5
gh-143135: Fix sys.flags.inspect when PYTHONINSPECT=0 (GH-143136)
StanFromIreland 7342890
gh-142517: Fix typo in news item. (#143150)
bitdancer 305aff0
Move News for gh-142560 to Core and Builtins (GH-143154)
cmaloney 594a463
gh-120321: Fix TSan reported races on gi_frame_state (gh-143128)
colesbury cf6758f
gh-143092: Make CALL_LIST_APPEND and BINARY_OP_INPLACE_ADD_UNICODE no…
Fidget-Spinner 86d9045
gh-143004: Fix possible use-after-free in collections.Counter.update(…
Kaushalt2004 8d46f96
gh-143103: Added pad parameter to base64.z85encode() (GH-143106)
haukex 579c5b4
gh-143145: Fix possible reference leak in ctypes _build_result() (GH-…
hyongtao-code 8611f74
gh-142975: During GC, mark frozen objects with a merged zero refcount…
ZeroIntensity b9a4806
gh-143164: Fix incorrect error message for ctypes bitfield overflow (…
hyongtao-code 59ede34
gh-138122: Convert GIL/GC/exception stats from tiles to progress bars…
ivonastojanovic ea3fd78
gh-142927: Tachyon: Fix contrast ratio in top panel (#142936)
hugovk 888d101
gh-138122: Remove default duration for statistical profiling (#143174)
lkollar de22e71
Remove redundant pycore_optimizer.h includes (#143184)
hyongtao-code d3d4cf9
gh-140739: Fix crashes from corrupted remote memory (#143190)
pablogsal b3f2d80
gh-134584: Eliminate redundant refcounting from `_COMPARE_OP_X` (GH-1…
cocolato a1c6308
gh-134584: Eliminate redundant refcounting from `IS_OP` (GH-143171)
cocolato 9d92ac1
gh-143040: Exit taychon live mode gracefully and display profiled scr…
mgmacias95 5436289
gh-140739: Fix missing exception on allocation failure in BinaryWrite…
pablogsal 5d1e78f
gh-143181: Fix 'overriden' -> 'overridden' in c-api/module.rst (#143182)
duane9 57d5699
Fix typos in docs (#143193)
syan212 1af21ea
gh-63016: Add flags parameter on mmap.flush (#139553)
aisk f5e11fa
no-issue: Fix override value in os.rst (gh-123522)
rffontenelle 9976c2b
gh-143195: fix UAF in `{bytearray,memoryview}.hex(sep)` via re-entran…
picnixz 7726119
gh-138122: fix AC warnings in `Modules/_remote_debugging/module.c` (#…
picnixz 00e24b8
gh-142664: fix UAF in `memoryview.__hash__` via re-entrant data's `__…
picnixz 3a728e5
gh-131591: Do not free page caches that weren't allocated (#143205)
pablogsal 84fcdbd
gh-142664: fix `PyObject_Hash` invokation post GH-143217 (#143223)
picnixz 61ee048
gh-142557: fix UAF in `bytearray.__mod__` when object is mutated whil…
picnixz dc4af2a
gh-142884: Use-After-Free Vulnerability Fixed in CPython array.array.…
fatelei 806146f
chore: resolve review comment
fatelei be60e99
fix: fix conflict
fatelei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Library/2025-12-18-11-41-37.gh-issue-142884.kjgukd.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Use-After-Free Vulnerability Fixed in CPython array.array.tofile(). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.