Skip to content
Memory corruption Advisory Advanced CVE-2024-4331

Use after free in Picture In Picture (CVE-2024-4331)

A use-after-poison in blink::LocalDOMWindow::Trace was triggered by a crafted HTML page, causing a tab crash. The report does not claim any attacker capability beyond crashing the tab.

Zhenghang Xiao Follow

Originally disclosed on Chrome VRP

Bounty$3,000 High View original
  • Fix shipped in 15 days

Steps to reproduce the problem

FUZZBUILD COMMIT (NOT BISECTION)

Text
commit 0024113cb6aac52353cff60e017cc4d2b0394b3c (HEAD -> main, origin/main, origin/HEAD)
Author: Marc Treib <[email protected]>
Date:   Fri Apr 12 13:19:51 2024 +0000

    Sync: Fix CHECK crash in DataTypeManagerImpl

    DataTypeManagerImpl::OnAllDataTypesReadyForConfigure() contains a CHECK
    that ensure the `configurer_` is set, which is more or less equivalent
    to not being in the STOPPED state.
    It turns out there was a situation where such a call could happen while
    stopped: If a configuration attempt is abandoned before finishing, a
    timeout timer in ModelLoadManager would still trigger, leading to the
    unexpected call.

    This CL contains two fixes, each of which independently prevent the
    crash:
    1) Stop the timeout timer in ModelLoadManager::Stop().
    2) Also in ModelLoadManager::Stop(), reset
       notified_about_ready_for_configure_.

    Bug: 333865298, 40901755
    Change-Id: I2c2a3c2e44532d41068cd68ccbda0d2268352f58
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5444756
    Commit-Queue: Marc Treib <[email protected]>
    Reviewed-by: Mikel Astiz <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#1286436}

  1. git checkout 0024113cb6aac52353cff60e017cc4d2b0394b3c

  2. git apply patch.diff

  3. gclient sync && gn gen .\out\asan-release && ninja -C .\out\asan-release chrome

  4. extract resources.zip, cd into it and run python3 -m http.server 8888

  5. create another powershell and run following command:

    PowerShell
    \path\to\chromium\src\out\asan-release\chrome.exe --user-data-dir=.\uap-userdata --no-sandbox --no-user-gesture-required  --use-fake-ui-for-media-stream --enable-logging=stderr --deny-permission-prompts http://127.0.0.1:8888/fuzz-4-15_21-56-45-697521-testcase.html
    

    The log of execution is also attached below.

Problem Description

This vulnerability can trigger different types of asan logs, all of which I've posted on the attachment.

Summary

Use-after-poison in blink::LocalDOMWindow::Trace

Custom Questions

Type of crash:

tab

Crash state:

================================================================= ==71920==ERROR: AddressSanitizer: use-after-poison on address 0x7ec70027d2b4 at pc 0x7ffb64e8b16a bp 0x003180ff9b00 sp 0x003180ff9b48 READ of size 4 at 0x7ec70027d2b4 thread T0 #0 0x7ffb64e8b169 in blink::LocalDOMWindow::Trace D:\project\chromium\src\third_party\blink\renderer\core\frame\local_dom_window.cc:2386 #1 0x7ffb53087339 in cppgc::internal::MarkerBase::ProcessWorklistsWithDeadline D:\project\chromium\src\v8\src\heap\cppgc\marker.cc:654 #2 0x7ffb5308455c in cppgc::internal::MarkerBase::AdvanceMarkingWithLimits D:\project\chromium\src\v8\src\heap\cppgc\marker.cc:580 #3 0x7ffb5110b903 in v8::internal::CppHeap::AdvanceTracing D:\project\chromium\src\v8\src\heap\cppgc-js\cpp-heap.cc:812 #4 0x7ffb51291741 in v8::internal::IncrementalMarking::EmbedderStep D:\project\chromium\src\v8\src\heap\incremental-marking.cc:560 #5 0x7ffb51294084 in v8::internal::IncrementalMarking::Step D:\project\chromium\src\v8\src\heap\incremental-marking.cc:893 #6 0x7ffb512937fe in v8::internal::IncrementalMarking::AdvanceAndFinalizeIfComplete D:\project\chromium\src\v8\src\heap\incremental-marking.cc:744 #7 0x7ffb51288e39 in v8::internal::IncrementalMarkingJob::Task::RunInternal D:\project\chromium\src\v8\src\heap\incremental-marking-job.cc:137 #8 0x7ffb6e003067 in base::internal::Invoker<base::internal::FunctorTraits<void (v8::Task::&&)(),std::__Cr::unique_ptr<v8::Task,std::__Cr::default_deletev8::Task > &&>,base::internal::BindState<1,1,0,void (v8::Task::)(),std::__Cr::unique_ptr<v8::Task,std::__Cr::default_deletev8::Task > >,void ()>::RunOnce D:\project\chromium\src\base\functional\bind_internal.h:980 #9 0x7ffbaa92a7a0 in base::TaskAnnotator::RunTaskImpl D:\project\chromium\src\base\task\common\task_annotator.cc:203 #10 0x7ffbaa9a1a46 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl D:\project\chromium\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:473 #11 0x7ffbaa9a0969 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork D:\project\chromium\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:338 #12 0x7ffbaa7f329e in base::MessagePumpDefault::Run D:\project\chromium\src\base\message_loop\message_pump_default.cc:40 #13 0x7ffbaa9a364c in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run D:\project\chromium\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:644 #14 0x7ffbaa8a9130 in base::RunLoop::Run D:\project\chromium\src\base\run_loop.cc:134 #15 0x7ffb895c91c4 in content::RendererMain D:\project\chromium\src\content\renderer\renderer_main.cc:368 #16 0x7ffb899939ba in content::RunOtherNamedProcessTypeMain D:\project\chromium\src\content\app\content_main_runner_impl.cc:770 #17 0x7ffb89996190 in content::ContentMainRunnerImpl::Run D:\project\chromium\src\content\app\content_main_runner_impl.cc:1145 #18 0x7ffb8999175f in content::RunContentProcess D:\project\chromium\src\content\app\content_main.cc:329 #19 0x7ffb89992130 in content::ContentMain D:\project\chromium\src\content\app\content_main.cc:342 #20 0x7ffb95711767 in ChromeMain D:\project\chromium\src\chrome\app\chrome_main.cc:192 #21 0x7ff7bb3a3be3 in MainDllLoader::Launch D:\project\chromium\src\chrome\app\main_dll_loader_win.cc:180 #22 0x7ff7bb3a1d93 in main D:\project\chromium\src\chrome\app\chrome_exe_main_win.cc:350 #23 0x7ff7bb53d9f3 in __scrt_common_main_seh D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 #24 0x7ffbfac67033 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180017033) #25 0x7ffbfcbe2650 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180052650)

Address 0x7ec70027d2b4 is a wild pointer inside of access range of size 0x000000000004. SUMMARY: AddressSanitizer: use-after-poison D:\project\chromium\src\third_party\blink\renderer\core\frame\local_dom_window.cc:2386 in blink::LocalDOMWindow::Trace Shadow bytes around the buggy address: 0x7ec70027d000: f7 f7 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7ec70027d080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f7 0x7ec70027d100: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x7ec70027d180: f7 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7ec70027d200: 00 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 =>0x7ec70027d280: f7 f7 f7 f7 f7 f7[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7 0x7ec70027d300: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x7ec70027d380: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x7ec70027d400: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x7ec70027d480: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x7ec70027d500: f7 f7 f7 f7 f7 f7 f7 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb

==71920==ADDITIONAL INFO

==71920==Note: Please include this section with the ASan report. Task trace: #0 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291 #1 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291 #2 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291 #3 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291

==71920==END OF ADDITIONAL INFO ==71920==ABORTING

Reporter credit:

Zhenghang Xiao (@Kipreyyy)

Additional Data

Category: Security
Chrome Channel: Not sure
Regression: N/A

The original report as published on the Chromium issue tracker, by Zhenghang Xiao (@Kipreyyy). Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 9 min read.

Context

This report covers a use-after-free in Google Chrome's Picture in Picture feature, tracked as CVE-2024-4331 and rated high severity. It was submitted through the Chrome VRP by Zhenghang Xiao (@Kipreyyy) and disclosed on 30 April 2024, with a bounty of 3000 USD. The weakness class recorded for it is use after free.

The crash the researcher reports is a use-after-poison in blink::LocalDOMWindow::Trace, reached during V8 incremental marking. In other words, the object graph being traced by the garbage collector contains a LocalDOMWindow that has already been poisoned, and the marker reads from it anyway. The report notes that the vulnerability can trigger different types of ASan logs, all of which were attached to the original submission.

Setup

The work was done against a fuzzing build of Chromium at a specific commit, not a bisected release. The build commit given is:

Text
commit [redacted] (HEAD -> main, origin/main, origin/HEAD)
Author: Marc Treib <[redacted]>
Date:   Fri Apr 12 13:19:51 2024 +0000

    Sync: Fix CHECK crash in DataTypeManagerImpl

    DataTypeManagerImpl::OnAllDataTypesReadyForConfigure() contains a CHECK
    that ensure the `configurer_` is set, which is more or less equivalent
    to not being in the STOPPED state.
    It turns out there was a situation where such a call could happen while
    stopped: If a configuration attempt is abandoned before finishing, a
    timeout timer in ModelLoadManager would still trigger, leading to the
    unexpected call.

    This CL contains two fixes, each of which independently prevent the
    crash:
    1) Stop the timeout timer in ModelLoadManager::Stop().
    2) Also in ModelLoadManager::Stop(), reset
       notified_about_ready_for_configure_.

    Bug: 333865298, 40901755
    Change-Id: [redacted]
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5444756
    Commit-Queue: Marc Treib <[redacted]>
    Reviewed-by: Mikel Astiz <[redacted]>
    Cr-Commit-Position: refs/heads/main@{#1286436}

The build is an ASan release build on Windows, produced with gn and ninja. The test case is a single HTML file served from a local HTTP server, and the browser is launched with a dedicated user data directory, no sandbox, no user gesture requirement, a fake UI for the media stream permission, stderr logging and permission prompts denied. The test case file name in the launch command is fuzz-4-15_21-56-45-697521-testcase.html.

Finding it

The researcher does not describe a manual review or a specific piece of code that looked wrong. The finding is presented as a reproducible crash from a fuzzing test case: the page, when loaded in the instrumented build, drives the renderer into an ASan report. The summary line the researcher gives is:

Text
Use-after-poison in blink::LocalDOMWindow::Trace

The crash type is recorded as tab, meaning the crash occurs in the renderer process for a tab rather than in the browser process.

Exploitation

Step 1: check out the build commit

Bash
git checkout [redacted]

This pins the source tree to the fuzzing build commit shown above, so that the test case reproduces against the same code the fuzzer found it on.

Step 2: apply the patch

Bash
git apply patch.diff

The report does not include the contents of patch.diff, so what it changes is not stated here.

Step 3: generate and build

Bash
gclient sync && gn gen .\out\asan-release && ninja -C .\out\asan-release chrome

gclient sync brings the dependencies in line with the checked-out revision, gn gen writes the build configuration for an ASan release build into out\asan-release, and ninja builds the chrome target. The ASan instrumentation is what turns the memory error into the report shown below.

Step 4: serve the test case

Bash
extract resources.zip, cd into it and run `python3 -m http.server 8888`

The test case and its resources are unpacked from resources.zip and served over plain HTTP on port 8888 from the local machine. The report does not describe what the resources contain.

Step 5: launch Chrome against the test case

PowerShell
\path\to\chromium\src\out\asan-release\chrome.exe --user-data-dir=.\uap-userdata --no-sandbox --no-user-gesture-required  --use-fake-ui-for-media-stream --enable-logging=stderr --deny-permission-prompts http://[redacted]:8888/fuzz-4-15_21-56-45-697521-testcase.html

The flags matter for reproduction:

  • --user-data-dir=.\uap-userdata keeps the profile isolated from any existing Chrome installation.
  • --no-sandbox runs the renderer without the sandbox, which is normal for an instrumented debugging build.
  • --no-user-gesture-required lets media APIs that would otherwise need a user activation run without one.
  • --use-fake-ui-for-media-stream auto-accepts the media stream permission prompt.
  • --enable-logging=stderr sends the browser log to stderr.
  • --deny-permission-prompts denies permission prompts generally.

The page is loaded from http://[redacted]:8888/, the local server started in the previous step. The researcher notes that the execution log was attached to the report.

The crash

The crash state reported is:

Text
=================================================================
==71920==ERROR: AddressSanitizer: use-after-poison on address 0x7ec70027d2b4 at pc 0x7ffb64e8b16a bp 0x003180ff9b00 sp 0x003180ff9b48
READ of size 4 at 0x7ec70027d2b4 thread T0
    #0 0x7ffb64e8b169 in blink::LocalDOMWindow::Trace D:\project\chromium\src\third_party\blink\renderer\core\frame\local_dom_window.cc:2386
    #1 0x7ffb53087339 in cppgc::internal::MarkerBase::ProcessWorklistsWithDeadline D:\project\chromium\src\v8\src\heap\cppgc\marker.cc:654
    #2 0x7ffb5308455c in cppgc::internal::MarkerBase::AdvanceMarkingWithLimits D:\project\chromium\src\v8\src\heap\cppgc\marker.cc:580
    #3 0x7ffb5110b903 in v8::internal::CppHeap::AdvanceTracing D:\project\chromium\src\v8\src\heap\cppgc-js\cpp-heap.cc:812
    #4 0x7ffb51291741 in v8::internal::IncrementalMarking::EmbedderStep D:\project\chromium\src\v8\src\heap\incremental-marking.cc:560
    #5 0x7ffb51294084 in v8::internal::IncrementalMarking::Step D:\project\chromium\src\v8\src\heap\incremental-marking.cc:893
    #6 0x7ffb512937fe in v8::internal::IncrementalMarking::AdvanceAndFinalizeIfComplete D:\project\chromium\src\v8\src\heap\incremental-marking.cc:744
    #7 0x7ffb51288e39 in v8::internal::IncrementalMarkingJob::Task::RunInternal D:\project\chromium\src\v8\src\heap\incremental-marking-job.cc:137
    #8 0x7ffb6e003067 in base::internal::Invoker<base::internal::FunctorTraits<void (v8::Task::*&&)(),std::__Cr::unique_ptr<v8::Task,std::__Cr::default_delete<v8::Task> > &&>,base::internal::BindState<1,1,0,void (v8::Task::*)(),std::__Cr::unique_ptr<v8::Task,std::__Cr::default_delete<v8::Task> > >,void ()>::RunOnce D:\project\chromium\src\base\functional\bind_internal.h:980
    #9 0x7ffbaa92a7a0 in base::TaskAnnotator::RunTaskImpl D:\project\chromium\src\base\task\common\task_annotator.cc:203
    #10 0x7ffbaa9a1a46 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl D:\project\chromium\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:473
    #11 0x7ffbaa9a0969 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork D:\project\chromium\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:338
    #12 0x7ffbaa7f329e in base::MessagePumpDefault::Run D:\project\chromium\src\base\message_loop\message_pump_default.cc:40
    #13 0x7ffbaa9a364c in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run D:\project\chromium\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:644
    #14 0x7ffbaa8a9130 in base::RunLoop::Run D:\project\chromium\src\base\run_loop.cc:134
    #15 0x7ffb895c91c4 in content::RendererMain D:\project\chromium\src\content\renderer\renderer_main.cc:368
    #16 0x7ffb899939ba in content::RunOtherNamedProcessTypeMain D:\project\chromium\src\content\app\content_main_runner_impl.cc:770
    #17 0x7ffb89996190 in content::ContentMainRunnerImpl::Run D:\project\chromium\src\content\app\content_main_runner_impl.cc:1145
    #18 0x7ffb8999175f in content::RunContentProcess D:\project\chromium\src\content\app\content_main.cc:329
    #19 0x7ffb89992130 in content::ContentMain D:\project\chromium\src\content\app\content_main.cc:342
    #20 0x7ffb95711767 in ChromeMain D:\project\chromium\src\chrome\app\chrome_main.cc:192
    #21 0x7ff7bb3a3be3 in MainDllLoader::Launch D:\project\chromium\src\chrome\app\main_dll_loader_win.cc:180
    #22 0x7ff7bb3a1d93 in main D:\project\chromium\src\chrome\app\chrome_exe_main_win.cc:350
    #23 0x7ff7bb53d9f3 in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
    #24 0x7ffbfac67033 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180017033)
    #25 0x7ffbfcbe2650 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180052650)

Address 0x7ec70027d2b4 is a wild pointer inside of access range of size 0x000000000004.
SUMMARY: AddressSanitizer: use-after-poison D:\project\chromium\src\third_party\blink\renderer\core\frame\local_dom_window.cc:2386 in blink::LocalDOMWindow::Trace
Shadow bytes around the buggy address:
  0x7ec70027d000: f7 f7 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x7ec70027d080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f7
  0x7ec70027d100: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d180: f7 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x7ec70027d200: 00 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
=>0x7ec70027d280: f7 f7 f7 f7 f7 f7[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d300: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d380: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d400: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d480: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d500: f7 f7 f7 f7 f7 f7 f7 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb

==71920==ADDITIONAL INFO

==71920==Note: Please include this section with the ASan report.
Task trace:
    #0 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291
    #1 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291
    #2 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291
    #3 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291

==71920==END OF ADDITIONAL IN

The top frame is the important one: blink::LocalDOMWindow::Trace at local_dom_window.cc:2386 performs a 4-byte read from an address that ASan has marked as poisoned (f7 in the shadow bytes, which the legend defines as "Poisoned by user"). The read happens on thread T0, the renderer main thread, while the incremental marking job runs. The stack below the top frame is the normal cppgc and V8 marking machinery: MarkerBase::ProcessWorklistsWithDeadline, AdvanceMarkingWithLimits, CppHeap::AdvanceTracing, IncrementalMarking::EmbedderStep, Step, AdvanceAndFinalizeIfComplete, and the IncrementalMarkingJob::Task::RunInternal task that the message loop dispatched. The task trace section points at gin::V8ToBaseLocation in gin/converter.cc:291, repeated four times.

Root cause

The report does not analyse the underlying bug. What the crash state shows is that the garbage collector's marker reached a LocalDOMWindow whose memory had already been poisoned, and read a field from it during tracing. The marker read a field from a LocalDOMWindow whose memory ASan had marked as poisoned. The report does not identify which Picture in Picture code path drops that reference or how the test case arranges the timing, so the precise lifetime mistake is not stated here.

Impact

The report gives no exploitation analysis. It records a renderer-side memory safety violation (crash type tab) in the Picture in Picture feature, rated high severity by the program. Whether the use-after-free is reachable in a way that allows more than a crash is not discussed in the report.

Fix

The only patch mentioned is patch.diff, applied before building, whose contents are not included.

Variants to test

The report does not propose variants. A reasonable direction, given the crash state, would be to exercise other Picture in Picture entry and exit paths (entering and leaving PiP while media elements are created and torn down, and while garbage collection is under pressure) in an ASan build, looking for the same use-after-poison in blink::LocalDOMWindow::Trace or for other ASan reports from the same test case, since the researcher notes the test case can produce different ASan logs.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 19 min read.

What happened, in plain words

A security researcher found a way to make Google Chrome crash in a way that points to a memory safety bug. The bug lives in Chrome's Picture in Picture feature, the small floating video window you can pop out of a web page so it stays visible while you browse other tabs. The bug is tracked as CVE-2024-4331, rated high severity, and was reported through the Chrome Vulnerability Reward Program (Chrome VRP), the scheme Google runs to pay people who find and report security problems in Chrome. The researcher is Zhenghang Xiao (@Kipreyyy), the report was disclosed on 30 April 2024, and the bounty paid was 3000 USD.

The weakness class recorded for it is use after free. To understand that, imagine a hotel room. A guest checks out and the room is cleaned and locked. If the front desk still has the old key on its board and later hands it to someone as if the guest were still there, that is a use after free: a piece of memory has been given back (freed), but some part of the program still holds a reference to it and uses it as though it were alive. In this report the crash is a close cousin called use-after-poison: the memory has been deliberately marked as off limits by a debugging tool, and the program reads it anyway.

The tool in question is AddressSanitizer, usually shortened to ASan. It is a compiler feature that adds checks around every memory access in a special build of the program. When the program touches memory it should not, ASan stops it and prints a long report with the exact line of source code and a stack trace, which is the list of function calls that led to the bad access. The crash the researcher reports is a use-after-poison in blink::LocalDOMWindow::Trace, reached while V8's incremental marking runs. Blink is Chrome's rendering engine, the part that turns HTML and CSS into what you see. LocalDOMWindow is Blink's internal object for a browser window as seen from a page. V8 is Chrome's JavaScript engine, and incremental marking is part of its garbage collector: the background process that finds objects no longer used and reclaims their memory, doing the work in small slices rather than one long pause. Tracing is the step where the collector walks from object to object following references, to decide what is still reachable. So the object graph being traced contains a LocalDOMWindow that has already been poisoned, and the marker reads from it anyway.

The report notes that the vulnerability can trigger different types of ASan logs, all of which were attached to the original submission.

Context

This report covers a use-after-free in Google Chrome's Picture in Picture feature, tracked as CVE-2024-4331 and rated high severity. It was submitted through the Chrome VRP by Zhenghang Xiao (@Kipreyyy) and disclosed on 30 April 2024, with a bounty of 3000 USD.

The crash the researcher reports is a use-after-poison in blink::LocalDOMWindow::Trace, reached during V8 incremental marking. In other words, the object graph being traced by the garbage collector contains a LocalDOMWindow that has already been poisoned, and the marker reads from it anyway.

Setup

The work was done against a fuzzing build of Chromium at a specific commit, not a bisected release. A commit is a saved snapshot of the source code with a unique identifier, like a numbered version of a document. A fuzzing build is a build made for fuzzing: feeding a program huge numbers of generated inputs to see which ones make it misbehave. Bisection, by contrast, is a search through the history of commits to find the exact one that introduced a bug; the researcher explicitly did not do that here. The build commit given is:

Text
commit [redacted] (HEAD -> main, origin/main, origin/HEAD)
Author: Marc Treib <[redacted]>
Date:   Fri Apr 12 13:19:51 2024 +0000

    Sync: Fix CHECK crash in DataTypeManagerImpl

    DataTypeManagerImpl::OnAllDataTypesReadyForConfigure() contains a CHECK
    that ensure the `configurer_` is set, which is more or less equivalent
    to not being in the STOPPED state.
    It turns out there was a situation where such a call could happen while
    stopped: If a configuration attempt is abandoned before finishing, a
    timeout timer in ModelLoadManager would still trigger, leading to the
    unexpected call.

    This CL contains two fixes, each of which independently prevent the
    crash:
    1) Stop the timeout timer in ModelLoadManager::Stop().
    2) Also in ModelLoadManager::Stop(), reset
       notified_about_ready_for_configure_.

    Bug: 333865298, 40901755
    Change-Id: [redacted]
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5444756
    Commit-Queue: Marc Treib <[redacted]>
    Reviewed-by: Mikel Astiz <[redacted]>
    Cr-Commit-Position: refs/heads/main@{#1286436}

Line by line, this is the standard output of git log for one commit. The first line gives the commit hash, a long fingerprint that identifies this exact snapshot, and shows that it is the tip of the main branch and of the remote-tracking branches origin/main and origin/HEAD. The Author line names the person who wrote the change. The Date line is when it was committed. The indented block is the commit message: a one-line summary saying it fixes a CHECK crash in DataTypeManagerImpl, then a paragraph explaining that a CHECK (an assertion, a test the program makes about itself that aborts if it fails) assumed a configurer_ was set, which roughly means the component was not in its STOPPED state. The message explains that a configuration attempt abandoned before finishing could still leave a timeout timer in ModelLoadManager firing, causing the unexpected call. It then lists two fixes, each of which independently prevents the crash: stopping the timeout timer in ModelLoadManager::Stop(), and resetting notified_about_ready_for_configure_ there too. The trailing lines are bookkeeping: bug numbers, a Change-Id, a link to the code review, the people who queued and reviewed it, and the position of the commit on the main branch. None of this is the vulnerability being reported; it is simply the state of the source tree the researcher built.

The build is an ASan release build on Windows, produced with gn and ninja. gn is the tool that generates build files from configuration, and ninja is the tool that actually compiles the code. The test case is a single HTML file served from a local HTTP server, and the browser is launched with a dedicated user data directory, no sandbox, no user gesture requirement, a fake UI for the media stream permission, stderr logging and permission prompts denied. The test case file name in the launch command is fuzz-4-15_21-56-45-697521-testcase.html.

Finding it

The researcher does not describe a manual review or a specific piece of code that looked wrong. The finding is presented as a reproducible crash from a fuzzing test case: the page, when loaded in the instrumented build, drives the renderer into an ASan report. The renderer is the separate process Chrome uses to run each page, kept apart from the rest of the browser for safety. The summary line the researcher gives is:

Text
Use-after-poison in blink::LocalDOMWindow::Trace

This one line is the headline of the bug: the kind of memory error (use-after-poison) and the function where ASan caught it (blink::LocalDOMWindow::Trace).

The crash type is recorded as tab, meaning the crash occurs in the renderer process for a tab rather than in the browser process.

Exploitation

Step 1: check out the build commit

Bash
git checkout [redacted]

git checkout switches the local copy of the source code to a particular commit. Here it pins the source tree to the fuzzing build commit shown above, so that the test case reproduces against the same code the fuzzer found it on.

Step 2: apply the patch

Bash
git apply patch.diff

git apply takes a file describing changes to source files and applies them to the working tree. The report does not include the contents of patch.diff, so what it changes is not stated here.

Step 3: generate and build

Bash
gclient sync && gn gen .\out\asan-release && ninja -C .\out\asan-release chrome

This is three commands chained with &&, which means each one runs only if the previous one succeeded. gclient sync brings the dependencies in line with the checked-out revision; Chromium depends on many other projects, and this fetches the matching versions. gn gen writes the build configuration for an ASan release build into out\asan-release, the output directory. ninja builds the chrome target, compiling the browser. The ASan instrumentation is what turns the memory error into the report shown below: without it, the same bad read might silently return garbage or crash somewhere unrelated.

Step 4: serve the test case

Bash
extract resources.zip, cd into it and run `python3 -m http.server 8888`

The test case and its resources are unpacked from resources.zip and served over plain HTTP on port 8888 from the local machine. python3 -m http.server 8888 starts a tiny web server built into Python that serves the current directory on port 8888, so the browser can load the test page from http://[redacted]:8888/. [redacted] is the loopback address, meaning this computer itself, so nothing leaves the machine. The report does not describe what the resources contain.

Step 5: launch Chrome against the test case

PowerShell
\path\to\chromium\src\out\asan-release\chrome.exe --user-data-dir=.\uap-userdata --no-sandbox --no-user-gesture-required  --use-fake-ui-for-media-stream --enable-logging=stderr --deny-permission-prompts http://[redacted]:8888/fuzz-4-15_21-56-45-697521-testcase.html

This runs the freshly built browser with a set of command-line flags, each of which changes its behaviour for the test. The flags matter for reproduction:

  • --user-data-dir=.\uap-userdata keeps the profile isolated from any existing Chrome installation. A profile is where Chrome stores bookmarks, history, cookies and settings; using a separate directory means the test starts from a clean state and does not touch your normal browsing data.
  • --no-sandbox runs the renderer without the sandbox, which is normal for an instrumented debugging build. The sandbox is the security boundary that stops a compromised renderer from harming the rest of the system; it gets in the way of debugging tools, so it is turned off here.
  • --no-user-gesture-required lets media APIs that would otherwise need a user activation run without one. Normally a page cannot start playing video or open a PiP window until the user has clicked or pressed a key, a rule designed to stop pages from surprising you with sound or popups.
  • --use-fake-ui-for-media-stream auto-accepts the media stream permission prompt. When a page asks for the camera or microphone, Chrome normally shows a dialog; this flag answers yes automatically so the test does not stall waiting for a human.
  • --enable-logging=stderr sends the browser log to stderr, the standard error stream, so the log appears in the terminal where the command was run.
  • --deny-permission-prompts denies permission prompts generally, the opposite default for anything not covered by the fake UI flag.

The page is loaded from http://[redacted]:8888/, the local server started in the previous step. The researcher notes that the execution log was attached to the report.

The crash

The crash state reported is:

Text
=================================================================
==71920==ERROR: AddressSanitizer: use-after-poison on address 0x7ec70027d2b4 at pc 0x7ffb64e8b16a bp 0x003180ff9b00 sp 0x003180ff9b48
READ of size 4 at 0x7ec70027d2b4 thread T0
    #0 0x7ffb64e8b169 in blink::LocalDOMWindow::Trace D:\project\chromium\src\third_party\blink\renderer\core\frame\local_dom_window.cc:2386
    #1 0x7ffb53087339 in cppgc::internal::MarkerBase::ProcessWorklistsWithDeadline D:\project\chromium\src\v8\src\heap\cppgc\marker.cc:654
    #2 0x7ffb5308455c in cppgc::internal::MarkerBase::AdvanceMarkingWithLimits D:\project\chromium\src\v8\src\heap\cppgc\marker.cc:580
    #3 0x7ffb5110b903 in v8::internal::CppHeap::AdvanceTracing D:\project\chromium\src\v8\src\heap\cppgc-js\cpp-heap.cc:812
    #4 0x7ffb51291741 in v8::internal::IncrementalMarking::EmbedderStep D:\project\chromium\src\v8\src\heap\incremental-marking.cc:560
    #5 0x7ffb51294084 in v8::internal::IncrementalMarking::Step D:\project\chromium\src\v8\src\heap\incremental-marking.cc:893
    #6 0x7ffb512937fe in v8::internal::IncrementalMarking::AdvanceAndFinalizeIfComplete D:\project\chromium\src\v8\src\heap\incremental-marking.cc:744
    #7 0x7ffb51288e39 in v8::internal::IncrementalMarkingJob::Task::RunInternal D:\project\chromium\src\v8\src\heap\incremental-marking-job.cc:137
    #8 0x7ffb6e003067 in base::internal::Invoker<base::internal::FunctorTraits<void (v8::Task::*&&)(),std::__Cr::unique_ptr<v8::Task,std::__Cr::default_delete<v8::Task> > &&>,base::internal::BindState<1,1,0,void (v8::Task::*)(),std::__Cr::unique_ptr<v8::Task,std::__Cr::default_delete<v8::Task> > >,void ()>::RunOnce D:\project\chromium\src\base\functional\bind_internal.h:980
    #9 0x7ffbaa92a7a0 in base::TaskAnnotator::RunTaskImpl D:\project\chromium\src\base\task\common\task_annotator.cc:203
    #10 0x7ffbaa9a1a46 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl D:\project\chromium\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:473
    #11 0x7ffbaa9a0969 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork D:\project\chromium\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:338
    #12 0x7ffbaa7f329e in base::MessagePumpDefault::Run D:\project\chromium\src\base\message_loop\message_pump_default.cc:40
    #13 0x7ffbaa9a364c in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run D:\project\chromium\src\base\task\sequence_manager\thread_controller_with_message_pump_impl.cc:644
    #14 0x7ffbaa8a9130 in base::RunLoop::Run D:\project\chromium\src\base\run_loop.cc:134
    #15 0x7ffb895c91c4 in content::RendererMain D:\project\chromium\src\content\renderer\renderer_main.cc:368
    #16 0x7ffb899939ba in content::RunOtherNamedProcessTypeMain D:\project\chromium\src\content\app\content_main_runner_impl.cc:770
    #17 0x7ffb89996190 in content::ContentMainRunnerImpl::Run D:\project\chromium\src\content\app\content_main_runner_impl.cc:1145
    #18 0x7ffb8999175f in content::RunContentProcess D:\project\chromium\src\content\app\content_main.cc:329
    #19 0x7ffb89992130 in content::ContentMain D:\project\chromium\src\content\app\content_main.cc:342
    #20 0x7ffb95711767 in ChromeMain D:\project\chromium\src\chrome\app\chrome_main.cc:192
    #21 0x7ff7bb3a3be3 in MainDllLoader::Launch D:\project\chromium\src\chrome\app\main_dll_loader_win.cc:180
    #22 0x7ff7bb3a1d93 in main D:\project\chromium\src\chrome\app\chrome_exe_main_win.cc:350
    #23 0x7ff7bb53d9f3 in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
    #24 0x7ffbfac67033 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180017033)
    #25 0x7ffbfcbe2650 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x180052650)

Address 0x7ec70027d2b4 is a wild pointer inside of access range of size 0x000000000004.
SUMMARY: AddressSanitizer: use-after-poison D:\project\chromium\src\third_party\blink\renderer\core\frame\local_dom_window.cc:2386 in blink::LocalDOMWindow::Trace
Shadow bytes around the buggy address:
  0x7ec70027d000: f7 f7 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x7ec70027d080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f7
  0x7ec70027d100: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d180: f7 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x7ec70027d200: 00 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
=>0x7ec70027d280: f7 f7 f7 f7 f7 f7[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d300: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d380: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d400: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d480: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
  0x7ec70027d500: f7 f7 f7 f7 f7 f7 f7 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb

==71920==ADDITIONAL INFO

==71920==Note: Please include this section with the ASan report.
Task trace:
    #0 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291
    #1 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291
    #2 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291
    #3 0x7ffb6dfeaf23 in gin::V8ToBaseLocation D:\project\chromium\src\gin\converter.cc:291

==71920==END OF ADDITIONAL IN

This is a lot of text, but it follows a fixed shape. The first line is a separator. The second line is ASan announcing the error: a use-after-poison at a particular memory address, with the program counter (pc), base pointer (bp) and stack pointer (sp) at the moment of the fault. The next line says what kind of access it was: a READ of size 4, meaning the program tried to read four bytes, on thread T0. Threads are the parallel streams of execution inside a process; T0 is the main one.

The numbered lines are the stack trace, read from top to bottom. Frame #0 is where the bad read happened: blink::LocalDOMWindow::Trace at local_dom_window.cc:2386. Each following frame is the function that called the one above it. Frames #1 to #7 are the garbage collector's marking machinery: MarkerBase::ProcessWorklistsWithDeadline and AdvanceMarkingWithLimits in cppgc (Chrome's C++ garbage collector), CppHeap::AdvanceTracing, then V8's IncrementalMarking::EmbedderStep, Step and AdvanceAndFinalizeIfComplete, all driven by IncrementalMarkingJob::Task::RunInternal. Frames #8 to #14 are Chrome's task scheduling: a posted task being run by the message loop, which is the loop that keeps taking work items off a queue and executing them. Frames #15 to #23 are process startup: content::RendererMain and the chain that brings up a renderer process, then ChromeMain and the Windows entry point. Frames #24 and #25 are Windows system functions that started the thread.

The top frame is the important one: blink::LocalDOMWindow::Trace at local_dom_window.cc:2386 performs a 4-byte read from an address that ASan has marked as poisoned (f7 in the shadow bytes, which the legend defines as "Poisoned by user"). The read happens on thread T0, the renderer main thread, while the incremental marking job runs. The stack below the top frame is the normal cppgc and V8 marking machinery: MarkerBase::ProcessWorklistsWithDeadline, AdvanceMarkingWithLimits, CppHeap::AdvanceTracing, IncrementalMarking::EmbedderStep, Step, AdvanceAndFinalizeIfComplete, and the IncrementalMarkingJob::Task::RunInternal task that the message loop dispatched. The task trace section points at gin::V8ToBaseLocation in gin/converter.cc:291, repeated four times.

The Shadow bytes block is ASan's map of which memory is safe. ASan keeps one shadow byte for every eight bytes of real memory, and the value of that shadow byte says whether those eight bytes are usable. The legend underneath explains each value: 00 means addressable (safe to use), f7 means poisoned by the program itself, fd means a freed heap region, and so on. The arrow line marks the shadow byte covering the bad address, shown in square brackets, and it is f7, confirming the memory was deliberately poisoned. The Task trace section is extra context ASan prints about the task that was running, here pointing at gin::V8ToBaseLocation, a helper in the gin library that converts V8 values into source locations. The final line, ABORTING, means ASan stopped the process rather than letting it continue with corrupted state.

Root cause

The report does not analyse the underlying bug. What the crash state shows is that the garbage collector's marker reached a LocalDOMWindow whose memory had already been poisoned, and read a field from it during tracing. The marker read a field from a LocalDOMWindow whose memory ASan had marked as poisoned. The report does not identify which Picture in Picture code path drops that reference or how the test case arranges the timing, so the precise lifetime mistake is not stated here.

Impact

The report gives no exploitation analysis. It records a renderer-side memory safety violation (crash type tab) in the Picture in Picture feature, rated high severity by the program. Whether the use-after-free is reachable in a way that allows more than a crash is not discussed in the report.

Fix

The only patch mentioned is patch.diff, applied before building, whose contents are not included.

Variants to test

The report does not propose variants. A reasonable direction, given the crash state, would be to exercise other Picture in Picture entry and exit paths (entering and leaving PiP while media elements are created and torn down, and while garbage collection is under pressure) in an ASan build, looking for the same use-after-poison in blink::LocalDOMWindow::Trace or for other ASan reports from the same test case, since the researcher notes the test case can produce different ASan logs.

Glossary

  • AddressSanitizer (ASan): a debugging tool built into a special compile of a program that checks every memory access and reports the exact source line when one is invalid.
  • API: a defined way for one piece of software to ask another to do something, like a menu of allowed requests.
  • Bisection: searching through the history of code changes to find the exact one that introduced a bug.
  • Blink: Chrome's rendering engine, the part that turns HTML and CSS into the page you see.
  • Bounty: money paid by a company to someone who reports a security bug in its product.
  • Browser process: the main Chrome process that manages windows, tabs and settings, separate from the renderer processes that run pages.
  • CHECK: an assertion in Chrome's code, a test the program makes about itself that aborts if it fails.
  • Commit: a saved snapshot of source code with a unique identifier and a message describing the change.
  • cppgc: Chrome's garbage collector for C++ objects, which finds and reclaims memory no longer in use.
  • CVE: Common Vulnerabilities and Exposures, a public identifier assigned to a known security flaw.
  • Chrome VRP: Chrome Vulnerability Reward Program, Google's scheme that pays researchers for reporting security bugs in Chrome.
  • Fuzzing: feeding a program large numbers of generated inputs to find ones that make it crash or misbehave.
  • Garbage collector: the part of a program that automatically finds objects no longer used and frees their memory.
  • gin: a Chromium library that helps connect V8 JavaScript values with C++ code.
  • gn: the tool that generates build files for Chromium from configuration.
  • Hash: a long fingerprint string that uniquely identifies a commit.
  • Heap: the area of memory where a program stores objects it creates while running.
  • HTML: the language web pages are written in.
  • HTTP: the protocol browsers and servers use to exchange web pages and other resources.
  • Incremental marking: a garbage collection technique that does its work in small slices spread over time instead of one long pause.
  • Loopback address: the address [redacted], meaning this computer itself; traffic to it never leaves the machine.
  • Message loop: the loop in a program that keeps taking work items off a queue and running them.
  • ninja: the tool that actually compiles Chromium's source code into a program.
  • Patch: a file describing changes to source code, applied to a working copy.
  • Picture in Picture (PiP): a Chrome feature that pops a video out into a small floating window that stays visible while you browse other tabs.
  • Poisoned memory: memory that a debugging tool has deliberately marked as off limits, so any access to it is reported.
  • Profile: the directory where Chrome stores bookmarks, history, cookies and settings.
  • Renderer process: the separate process Chrome uses to run a page, kept apart from the rest of the browser for safety.
  • Sandbox: the security boundary that stops a compromised renderer from harming the rest of the system.
  • Shadow bytes: ASan's map recording, for each block of real memory, whether it is safe to use.
  • Stack trace: the list of function calls that led to a particular point in a program, read from the innermost call outwards.
  • stderr: the standard error stream, a channel where programs write error and log output, usually shown in the terminal.
  • Thread: a stream of execution inside a process; a process can have several running in parallel.
  • Tracing: the step in garbage collection where the collector walks from object to object following references to decide what is still reachable.
  • Use after free: a memory safety bug where a program keeps using a piece of memory after it has been freed.
  • Use-after-poison: a memory safety bug where a program reads memory that a debugging tool has deliberately marked as off limits.
  • User activation / user gesture: a click, key press or similar action by the user, which some browser features require before they can run.
  • V8: Chrome's JavaScript engine, the part that runs JavaScript code.
  • Wild pointer: a pointer whose value does not point to a valid object, often because the memory it referred to has been freed or reused.

More by Zhenghang Xiao

View all

10 more disclosed reports, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.