This Week in WebKit — October 31 - November 06, 2026
Featured
An earlier fix audited every call site and still missed it. The dangling pointer is one no call site can refresh, and plain page script reaches it.
The loops already kept every shadow root they visited alive. Protecting the element, it turns out, never protected the walk.
The cache is per-thread; the counter deciding when it prunes is not. What leaks is small and float-shaped, but it lands straight in TextMetrics.
Validator and backend measured one vertex in different units. The over-read is small and read-only; whether it leaks depends on what sits next door.
Private builtins guarded the record, then C++ unpacked it through a door any page can rewire. The type confusion is real; a memory-corruption ceiling is unproven.
Only one of four memory configurations did it, and it's the bounds-checking one. Script still has to win a race against a background thread, then reclaim the slot.
Notable development
-
Always render DOM and WebGL in the GPU process on Cocoa platforms
refactor WebKit GPU Process
-
Send phone number possession requests from WebContent to the UI process
feature WebKit UIProcess IPC
-
Support "message_serialization": "structured_clone" for extension messaging
feature WebKit Web Extensions
-
VideoFrames cannot be created asynchronously in WebContent process
refactor WebKit GPU Process media
-
[JSC] Implement Float16 ops in x64 via F16C
optimization JSC x64 JIT
-
XPath sorting asserts on node-sets with nodes from different trees
bug WebCore XPath
-
[Swift] Optionally decode IPC arguments into Swift types
optimization WebKit IPC (Swift)
-
Store one status byte per bucket in WTF::HashTable
feature WTF HashTable
-
[Remote Snapshotting] Serialize fonts, gradients, filters and graphics state by value
feature WebCore Display Lists
-
Add support for dual-source-blending
WebGPU WGSL
Other security-relevant changes
- [WebCore CSSFontFace] (UAF)
3230087— CSSFontFace 상태 알림 도중에 author가 제어하는 then getter가 동기적으로 실행되지 않도록 차단했습니다. 이전에는 이 getter가 glyph geometry cache를 rehash할 수 있었습니다. 그 결과 FontCascade::width()가 아직 참조 중인 storage가 해제될 수 있었습니다. 이를 막기 위해 font 코드에 ScriptDisallowedScope가 추가되었고, worker에서는 promise resolution을 지연 처리하도록 변경되었습니다. - [WebCore CSSOM rule lists] (UAF)
53cc8be— GC opaque-root callback에서 item(0)을 통해 CSSOM wrapper를 lazy하게 생성하던 동작이 제거되었습니다. 이 callback은 parallel marker thread에서 실행되는데, refcount는 non-atomic이었고 RefPtr slot도 보호되지 않은 상태였습니다. 이 때문에 style sheet cache를 통해 공유되는 StyleRule에서 double-free/UAF가 발생할 수 있었습니다. 이제 opaque-root 조회는 side effect 없이 동작합니다. - [WebKit UIProcess back/forward list] (missing ownership check)
04f64b5— back/forward item 조회 범위가 해당 item을 소유한 page로 한정되었습니다. 따라서 WebContent는 자신이 소유하지 않은 item을 참조할 수 없고, 이런 조회는 아무 동작도 수행하지 않습니다. 또한 decidePolicyForNavigationAction에 MESSAGE_CHECK가 추가되어, 소유하지 않은 item을 참조하는 navigation 메시지는 거부됩니다. - [WebGPU Metal pipeline layouts] (bounds-check bypass)
4f9ccbb— Device::addPipelineLayouts의 ArrayLength binding aliasing 문제가 수정되었습니다. binding 번호가 정확히 maxBindingsPerBindGroup만큼 떨어져 있으면, 한 entry의 dedup key가 다른 ArrayLength entry의 store key와 같아질 수 있었습니다. 이 충돌로 arrayLength가 0이 되면서 min() clamp가 무력화되었고, 결과적으로 OOB R/W가 가능한 상태였습니다. - [WebCore FontCascade] (UAF)
1e14429— fallback walk 전체 구간 동안 FontCascadeFonts를 보호하고, cascade를 fallbackRangesAt에 직접 전달하도록 변경되었습니다. 이로써 동기 worker font load가 cache를 prune하더라도 walk 도중에 해당 객체가 파괴되지 않습니다. 동일한 수정이 CoreText, Cairo, Skia 경로 모두에 적용되었습니다. - [WebKit NetworkProcess downloads] (hardening)
c66e0f5— Networking process에서 WebContent가 보낸 download ID를 검증하도록 변경되었습니다. 이제 UIProcess가 download마다 권한이 있는 WebContent process를 등록하고, StartDownload와 ConvertMainResourceLoadToDownload는 이 등록 정보를 확인합니다. 이전에는 WebContent가 제공한 download ID가 이런 확인 없이 그대로 수용되었습니다. - [JSC Wasm JSPI] (reentrancy guard bypass)
a2bc1ad— WebAssembly.Suspending이 호출 불가능한 marker 객체로 변경되었습니다. 그래서 valueOf를 통한 JS 재진입으로는 더 이상 JSPI stack-evacuation 경로에 도달할 수 없습니다. 또한 현재 VM entry frame이 suspending 중인 JSPI context에 속하는지 확인하는 검사가 추가되었습니다. 기존에 초기화되지 않은 채 읽히던 returnPC slot도 이제 0으로 초기화됩니다. - [JSC FTL/DFG ArraySortCompact] (lifetime fix)
0b8e3e2— ArraySortCompact bail 경로의 GC write-barrier 버그가 수정되었습니다. 해당 barrier는 sort scratch buffer가 아니라 반환되는 sentinel을 grey 처리하고 있었습니다. 이 때문에 이후 full GC가 stale scratch에 남은 dangling slot을 trace할 가능성이 있었습니다. 이제 bail 시 scratch를 비운 뒤 VM cache로 반환합니다. - [WebKit GPUProcess USDModel] (OOB read)
0187bc1— RemoteMesh::UpdateMaterial에서 WebContent가 전달한 colorSpaceName을 검증하도록 변경되었습니다. RGB가 아닌 color space가 들어오면 extendedLinearSRGB로 대체합니다. 이전에는 kCGColorSpaceGenericCMYK 같은 이름이 전달되면 CGColorCreate가 원소 4개짜리 배열의 범위를 넘어 읽었습니다. 이렇게 over-read된 값은 alpha로 다시 저장되었습니다. - [WebCore DOM tree scope] (UAF)
dceaa3d— video가 adopt될 때 cue display tree가 두 번 migration되는 문제가 수정되었습니다. 이 중복 처리로 Document::m_referencingNodeCount가 실제보다 더 많이 감소했습니다. 결과적으로 node들이 여전히 이전 Document를 가리키는 상태에서 해당 Document가 해제될 수 있었습니다(UAF). 수정 후에는 shadow tree에 속한 node의 re-scoping을 건너뛰고, underflow assert를 release assert로 격상했습니다. - [WebCore DOM Node] (UAF)
165954b— innerHTML/outerHTML이 공유하는 DocumentFragment에 대한 UAF가 수정되었습니다. 원인은 dangling 상태의 m_shadowIncludingRoot였고, img error event 도중의 DOM mutation으로 유발할 수 있었습니다. 이제 insertionStep은 이 값을 fragment 바로 아래의 node로 지정합니다. - [ANGLE libANGLE Buffer] (integer truncation)
155652d— Buffer::bufferSubData, copyBufferSubData, mapRange에서 index range cache를 무효화할 때 쓰던 32-bit unsigned int cast가 size_t로 변경되었습니다. 이로써 4GiB를 넘는 offset에 write가 발생해도 올바른 cached range가 무효화됩니다. 수정 전에는 stale range가 남아 draw 시점의 index validation을 건너뛸 가능성이 있었습니다. - [WebCore IntersectionObserver] (UAF)
9d19688— IntersectionObserver의 target set을 순회하는 GC helper thread와 main thread의 WeakPtrImpl node 파괴가 경합하는 문제였습니다. 이 race로 발생하던 heap-use-after-free가 수정되었습니다. 보호 대상 container에 대한 모든 접근을 m_observationTargetsLock으로 감쌌고, observationTargets()는 snapshot vector를 반환하도록 변경되었습니다. - [WebKit GPUProcess WebGPU RemoteQueue] (UAF)
19ee007— 크기가 과도한 writeBufferWithCopy/writeTextureWithCopy payload를 거부하는 MESSAGE_CHECK가 추가되었습니다. 이 payload는 no-copy MTLBuffer로 aliasing되었는데, caller가 소유한 storage의 lifetime이 해당 사용 시점까지 유지되지 않았습니다. 그래서 buffer가 이미 해제된 메모리를 참조할 수 있었습니다. 이제 이런 메시지를 보낸 sender는 종료됩니다. - [WebGPU BindGroup / RenderBundle] (OOB read)
eae6b25— render bundle에 이미 기록된 ExternalTexture bind group을 재사용할 때 발생하던 GPU OOB read가 수정되었습니다. 재사용 과정에서 argument buffer가 다시 기록되면서 non-resident texture를 가리키게 되는 문제였습니다. 이제 bundle이 사용 중인 bind group은 재사용이 거부됩니다. - [WebGPU BindGroupLayout] (OOB access)
aa64efa— WebGPU bind group 호환성 검사에서 발생하던 OOB access가 수정되었습니다. scope를 벗어난 pipeline layout에서 자동 생성된 layout은 decay된 WeakPtr를 사용했습니다. 그 결과 서로 같은 것으로 비교되어 validation이 우회되었습니다. 이제 64-bit identifier를 사용하며, createPipelineLayout은 자동 생성된 bind group layout을 거부합니다. - [UIProcess WebProcessPool] (validator bypass)
53765cd— same-site 검사에서 renderer가 전달한 requesterOrigin을 더 이상 신뢰하지 않도록 변경되었습니다. 이전에는 compromised web process가 피해자 origin을 위조해 process swap을 건너뛸 수 있었습니다. 이 경우 해당 site에 대한 first-party cookie 접근 권한까지 얻을 수 있었습니다. 이제 검사에는 UIProcess가 이미 추적하고 있는 opener frame URL이 사용됩니다. - [WebGPU Buffer] (validator bypass)
26b3c24— 기록은 되었지만 아직 실행되지 않은 copy가 걸린 index buffer가 drawIndexed range check를 건너뛰던 문제가 수정되었습니다. 덕분에 validation이 더 이상 stale 판정 결과를 재사용하지 않습니다. 수정 전에는 copy가 pending인 동안 기록된 draw가 cache를 채울 수 있었고, 이것이 GPU OOB read로 이어질 수 있었습니다. - [WebKit UIProcess ProvisionalPageProxy] (validator bypass)
ede7f74— ProvisionalPageProxy의 sync IPC dispatcher에 async 경로와 동일한 명시적 allowlist가 추가되었습니다. 이전에는 process-swap back navigation 중 provisional page를 보유한 WebContent process가 allowlist에 없는 sync WebPageProxy handler에 도달할 수 있었습니다. 다른 tab에 대한 RunJavaScriptAlert가 그 예입니다. - [WebKit UIProcess WebPageProxy drag-and-drop] (validator bypass)
612064a— 사용되지 않던 PropagateDragAndDrop IPC receiver가 제거되었습니다. 이 receiver를 통해 compromised WebContent process가 신뢰할 수 없는 fileNames로 임의 파일에 대한 sandbox extension을 얻을 수 있었습니다. 또한 다른 page에 속한 drop target frame을 거부하도록 변경되었습니다. 이런 frame을 거치면 extension, pasteboard, drop 동작이 page 경계를 넘어 전달될 수 있었기 때문입니다. - [JSC CommonSlowPaths] (UAF)
bee8011— operationNewArrayBuffer의 bad-time 경로에서 slow-put ArrayStorage를 할당하는 동안 GC를 지연하도록 변경되었습니다. 이로써 conservative scan이 새로 생성된 array를 black으로 칠하는 상황이 차단되었습니다. 문제는 DFG barrier elision이 이 array를 white로 가정한다는 점입니다. commit 설명에 따르면, 이 상황은 barrier가 없는 PutByVal을 거쳐 도달 가능한 객체가 sweep되는 결과로 이어질 수 있었습니다. - [JSC GetByStatus]
d5af1b7— GetByStatus::computeFor의 prototype 순회 로직이 수정되었습니다. 기존 로직은 base structure의 non-reified static property를 건너뛰었습니다. 그래서 property load가 shadowing된 prototype 쪽 값으로 fold될 가능성이 있었습니다(예: RegExp.input). 동일한 검사가 PutByStatus, PropertyCondition, DFG AbstractInterpreter, Graph::tryEnsureAbsence에도 추가되었습니다. - [JSC DFG IntegerRangeOptimization] (UAF)
41a3299— IRO의 ArithAbs 변환에서 발생하던 use-after-free가 수정되었습니다. relationship Vector 내부를 가리키는 raw proof pointer가 있었는데, executeNode()가 Vector를 재할당하면 이 pointer가 dangling 상태가 될 수 있었습니다. 그 결과 pinRangeBoundProof()가 해제된 메모리를 읽게 됩니다. 이제 Relationship을 값으로 복사합니다. 319726@main에서 유입된 regression입니다. - [WebCore style (ValueHandleMap / calc ValueMap)] (race condition)
669e3f1— ValueMap의 insert, get, ref, deref에 WTF lock이 추가되었습니다. 이로써 main thread와 OffscreenCanvas worker가 공유하는 calc() 값에 동기화 없이 접근하던 문제가 해소되었습니다. worker race로 인한 crash를 재현하는 regression test도 함께 포함되었습니다. - [WebCore FontCascadeFonts] (UAF)
5b951ba— fallback 처리나 glyph 조회 도중의 font load가 FontRanges vector와 glyph-page cache를 재할당하거나 prune하는 경우가 있었습니다. 이때 FontCascadeFonts 내부 reference가 dangling 상태로 남던 문제가 수정되었습니다. 이제 FontRanges는 heap에 할당되고, glyph-page cache는 callout 이후 다시 조회됩니다. - [JSC DFG Spread elimination]
7f7e759— DFG Spread elimination이 iterable의 실제 Realm 대신 operand의 semantic origin(예: Phi, GetLocal)에 watchpoint를 걸던 문제가 수정되었습니다. 이제 Realm은 AbstractState를 통해 확인합니다. 새 테스트는 cross-realm iterable과 prototype이 교체된 iterable을 검증합니다. - [JSC FTL] (register clobber)
c57b5ce— FTL GetByVal 및 GetByValWithThis inline cache patchpoint에서 FP macro scratch register를 clobbered로 선언하도록 변경되었습니다. Float typed array IC case는 purifyNaN을 통해 이 scratch에 값을 기록합니다. 이 과정에서 살아 있는 double 값을 덮어쓸 수 있었고, crash 없이 잘못된 결과가 나올 수 있었습니다. stress test도 추가되었습니다. - [JSC Wasm tail calls] (stale register cache)
be384ac— 같은 instance 안에서 JS import로 Wasm tail call을 수행한 뒤, cache된 linear memory base와 bounds를 복원하도록 변경되었습니다. 이전에는 cross-instance tail call에만 restore frame이 생성되었습니다. 그래서 BoundsChecking 모드에서 JS가 memory.grow를 호출하면 cache된 값이 stale 상태로 남을 수 있었습니다. - [JSC Wasm JS-to-Wasm IC] (type confusion)
c983da4— JS-to-Wasm IC entrypoint에서 notCellMaskRegister가 stale 상태로 남던 문제가 수정되었습니다. I64와 funcref 인자를 처리하는 경로가 tag register materialization을 건너뛰고 있었습니다. 그 결과 non-cell JSValue가 cell 검사를 통과한 뒤 dereference될 수 있었습니다. stress test가 추가되었습니다. - [JSC Wasm BBQ] (race condition)
7fadf12— BBQ의 WasmGC array와 struct 할당 시 publication용 mutatorFence를 항상 emit하도록 강화되었습니다. 이전에는 ref 타입 store에만 fence가 적용되었습니다. 그래서 concurrent marker가 재활용된 cell의 stale type을 해석하고, 남아 있던 bit를 pointer로 scan할 가능성이 있었습니다.