dhecht
JSC security specialist
Summary
Primarily JavaScriptCore garbage-collector work, with secondary activity in bmalloc/libpas and WTF. The recent history reworks the GC's mutator/collector protocol, including Heap world-state asserts, thread-safety capabilities for GC roles, and Collector thread lifecycle. The security fixes cluster at the same JIT/GC boundary: missing or misplaced `mutatorFence` publication barriers in DFG/FTL and BBQ WasmGC allocation lowerings, plus GC-deferral and allocation-sinking gaps around array materialization. Systematic-variant candidate: any remaining JIT allocation lowering (other tiers, object/array shapes, Wasm struct paths) that publishes a freshly allocated cell without the store-store fence ahead of concurrent marking.
Components
Security Fix History
- 2026-11-02 [JSC] Clear the sort scratch when ArraySortCompact bails to the generic sort ·
- 2026-11-02 [JSC] BBQ WasmGC allocation lowerings must emit the publication mutatorFence regardless of element/field type ·
- 2026-11-01 [JSC] Missing mutatorFence in four DFG/FTL array allocation lowerings
- 2026-10-31 [JSC] Defer GC while operationNewArrayBuffer switches to slow-put array storage ·
- 2026-10-30 [JSC] Object allocation sinking's InlineCallFrame guard must consider the whole inline stack ·
- 2026-10-29 [libpas] Use MADV_ZERO to zero large ranges on newer Darwin
- 2026-10-28 [JSC] Misplaced mutatorFence in DFG compileNewArray and compileMaterializeNewObject
- 2026-10-22 [JSC] Stop a heap's local Collector threads when the heap shuts down 2026-W42
- 2026-09-02 [JSC] Fix Object Allocation Sinking closure rule for allocations within inlined closure-call and varargs frames 2026-W35
- 2026-08-25 [JSC] Do not attempt to link a CallLinkInfo after handleHostCall ·
Hardening Commits
- 2026-11-09 [JSC] Replace world-is-stopped and GC-thread asserts with role checks
- 2026-11-09 [JSC] Require the stopped-world conductor in the GC's Begin and End helpers
- 2026-11-05 [JSC] Add thread-safety capabilities for the GC protocol's roles
- 2026-10-27 [JSC] Assert the invariants of Heap::m_worldState where the protocol relies on them
- 2026-10-08 [JSC] Suspend compiler threads when any of a collection's heaps has JIT plans
- 2026-10-01 [JSC] Move the request queue checks and the mutator's phase loop from the Heap into the Collector
- 2026-09-30 [JSC] Assert that no request outlives the collector thread instead of checking for it in relinquishConn()
- 2026-09-02 [JSC] Fix Object Allocation Sinking closure rule for allocations within inlined closure-call and varargs frames 2026-W35
- 2026-05-27 [libpas] pas_enumerator_create should check validity of compact heap bump ·
Recent Commits
- 2026-11-10 [JSC] Don't let jsc exit while another thread is reporting an assertion failure
- 2026-11-09 [JSC] Replace world-is-stopped and GC-thread asserts with role checks
- 2026-11-09 [JSC] Require the stopped-world conductor in the GC's Begin and End helpers
- 2026-11-06 [JSC] Rebuild assertIsMutatorOrMutatorIsStopped on the GC protocol's roles
- 2026-11-06 [WTF] Remove compiler threads from Thread::mayBeGCThread()
- 2026-11-05 [JSC] Add thread-safety capabilities for the GC protocol's roles
- 2026-11-02 [JSC] Clear the sort scratch when ArraySortCompact bails to the generic sort ·
- 2026-11-02 [JSC] BBQ WasmGC allocation lowerings must emit the publication mutatorFence regardless of element/field type ·
- 2026-11-01 [JSC] Missing mutatorFence in four DFG/FTL array allocation lowerings
- 2026-10-31 [JSC] Defer GC while operationNewArrayBuffer switches to slow-put array storage ·
- 2026-10-30 [JSC] Object allocation sinking's InlineCallFrame guard must consider the whole inline stack ·
- 2026-10-29 [libpas] Use MADV_ZERO to zero large ranges on newer Darwin
- 2026-10-29 [JSC] Decouple Heap's world state from the Collector's thread lock
- 2026-10-29 [WTF] Minor clarifications to MemoryOrder comments in Atomics.h
- 2026-10-29 [JSC] Collector should decide whether its thread marks during the concurrent phase