Use after free in AI (CVE-2024-9954)
A use-after-free vulnerability exists in Chrome's AIManager mojo interface because the browser stores a raw pointer to RenderFrameHost without ensuring its lifetime matches the service. An attacker can trigger the UAF by binding the interface in a child frame, transferring it to the parent, removing the child frame, and then invoking the interface, potentially leading to sandbox escape.
- Fix shipped in 28 days
VULNERABILITY DETAILS
The AIManager mojo interface can be obtained by the renderer. When binding the receiver, the browser will save the corresponding context to the ReceiverSet [0].
void AIManagerKeyedService::AddReceiver(
mojo::PendingReceiver<blink::mojom::AIManager> receiver,
AIContextBoundObjectSet::ReceiverContext context) {
receivers_.Add(this, std::move(receiver), context); // [0]
}
Type definition of context:
using ReceiverContext =
std::variant<content::RenderFrameHost*, base::SupportsUserData*>; // [1]
For requests sent from a regular frame, the context here is actually a raw pointer to RenderFrameHost.
However, there is no code that guarantees the consistency of the lifecycles of AIManagerKeyedService and the iframe. AIManagerKeyedService can completely outlive RenderFrameHost! If the iframe is removed before calling the functionality of AIManagerKeyedService, it will lead to a UAF.
Vulnerability Trigger
An attacker can trigger the UAF with the following steps:
-
Bind the
AIManagerinterface in a child frame. -
Send this interface handle to the parent frame.
-
Remove the child frame from the parent frame.
-
Trigger an IPC call to
AIManagerthat uses the already freedRenderFrameHostobject.
Our provided POC demonstrates these steps in detail. Please refer to the code for specifics.
Exploitability Analysis
We note that this UAF is not yet protected by MiraclePtr (for details, see asan.txt):
MiraclePtr Status: NOT PROTECTED
RenderFrameHost UAF is a known vulnerability pattern that is frequently exploited to achieve sandbox escape. For specific examples, refer to case 1 and case 2.
At least on Windows, using our provided POC, it's easy to achieve full control of RenderFrameHost. Below is the crash site displayed by windbg; for a detailed backtrace, see windbg.txt.
0:046> g
(3578.20cc): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** WARNING: Unable to verify checksum for C:\Users\dalao\AppData\Local\Chromium\Application\130.0.6712.0\base.dll
base!absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<const void *,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > >,absl::container_internal::HashEq<const void *,void>::Hash,absl::container_internal::HashEq<const void *,void>::Eq,std::__Cr::allocator<std::__Cr::pair<const void *const,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > > > >::fits_in_soo [inlined in base!absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<const void *,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > >,absl::container_internal::HashEq<const void *,void>::Hash,absl::container_internal::HashEq<const void *,void>::Eq,std::__Cr::allocator<std::__Cr::pair<const void *const,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > > > >::find<const void *>+0x23]:
00007ffd`5e3fb0c3 48833901 cmp qword ptr [rcx],1 ds:41414141`41414141=????????????????
We believe this vulnerability has extremely high exploitability, is stable, and easy to trigger. We recommend that the Chrome team fix it promptly.
BISECTION
Introduced by https://chromium.googlesource.com/chromium/src/+/d37f2ff9881443eca070192a005b9853e8a3bf74
VERSION
Chrome Version: 130.0.6712.0, HEAD + stable
Operating System: All
REPRODUCTION CASE
Host poc files on an HTTP server.
$ python copy_mojo_js_bindings.py
$ python -m http.server
$ ./chrome --enable-blink-features=MojoJS,MojoJSTest 'http://localhost:8000/poc.html'
CRASH INFORMATION
Type of crash: browser
Crash log: see asan.txt and windbg.txt
CREDIT INFORMATION
Reporter credit: DARKNAVY(@DarkNavyOrg)
Context
This report describes a use after free (UAF) in Google Chrome, tracked as CVE-2024-9954, in the browser's AI component. The affected asset is named simply as AI in the report metadata, and the vulnerable interface is the AIManager mojo interface. The report was filed through the Chrome VRP by DARKNAVY (@DarkNavyOrg), rated high severity, and disclosed on 2024-10-15 with a bounty of 36,000 USD. The report itself is an advisory-style write-up: it explains the lifetime problem, gives a four-step trigger, and points to a proof of concept and crash logs rather than reproducing them inline.
The report does not describe what the AI feature does from a user's perspective. What it does say is that the renderer can obtain the AIManager mojo interface, and that the browser side keeps per-receiver context in a ReceiverSet. That context is what later goes stale.
Setup
The report lists the following preconditions and environment:
- Chrome Version: 130.0.6712.0, HEAD + stable.
- Operating System: All.
- The proof of concept is served over HTTP and run with Blink's MojoJS test bindings enabled.
- The crash was observed on Windows, where the report says full control of
RenderFrameHostwas easy to achieve with the provided POC. - The report references two supporting files,
asan.txtandwindbg.txt, which are not reproduced in the text given here. It also references a POC file,poc.html, whose contents are not included.
The reproduction commands are given exactly as follows:
$ python copy_mojo_js_bindings.py
$ python -m http.server
$ ./chrome --enable-blink-features=MojoJS,MojoJSTest 'http://localhost:8000/poc.html'
The second serves the POC directory over HTTP on port 8000.
Finding it
The researcher's starting point is the AIManagerKeyedService::AddReceiver function. When the renderer binds a receiver for the AIManager interface, the browser stores the associated context alongside the receiver in a ReceiverSet:
void AIManagerKeyedService::AddReceiver(
mojo::PendingReceiver<blink::mojom::AIManager> receiver,
AIContextBoundObjectSet::ReceiverContext context) {
receivers_.Add(this, std::move(receiver), context); // [0]
}
The context type is a variant of two raw pointer types:
using ReceiverContext =
std::variant<content::RenderFrameHost*, base::SupportsUserData*>; // [1]
For requests sent from a regular frame, the report states that the context is in practice a raw pointer to RenderFrameHost. The problem the researcher identifies is that nothing guarantees the lifecycles of AIManagerKeyedService and the iframe stay consistent. In the report's words, AIManagerKeyedService can completely outlive RenderFrameHost. If the iframe is removed before the functionality of AIManagerKeyedService is called, the stored pointer is used after the object it points to has been freed, producing a UAF.
The report cites two source locations for the code above: chrome/browser/ai/ai_manager_keyed_service.cc line 308 and chrome/browser/ai/ai_context_bound_object_set.h line 27, both at revision [redacted].
Exploitation
The report describes the trigger in four steps. It does not include the POC source, so the steps below are the researcher's description, not reconstructed code.
Step 1: Bind the interface in a child frame
The attacker binds the AIManager interface from inside a child frame. At this point the browser records the child frame's RenderFrameHost as the receiver context.
Step 2: Send the interface handle to the parent frame
The interface handle is passed from the child frame to the parent frame. The receiver remains registered in the browser with the original child frame's RenderFrameHost as its context.
Step 3: Remove the child frame
The parent frame removes the child frame. The child frame's RenderFrameHost is destroyed, but the AIManagerKeyedService and its receiver set entry survive, still holding the now dangling raw pointer.
Step 4: Trigger an IPC call that uses the freed object
The attacker triggers an IPC call to AIManager that reaches code using the already freed RenderFrameHost. Because the pointer is stale, this is a use after free.
The report says the provided POC demonstrates these steps in detail and directs readers to the code for specifics. The POC itself is not part of the text supplied here.
Root cause
The mistake is a lifetime mismatch between a keyed service and the frame it stores a pointer to. AIManagerKeyedService is a browser-side service whose lifetime is not tied to any individual iframe, yet its receiver context is a raw content::RenderFrameHost* for regular frames. The ReceiverSet keeps that pointer for as long as the receiver is bound, and nothing in the code shown guarantees the pointer is cleared or invalidated when the frame goes away. Removing the iframe therefore leaves a dangling pointer that a later AIManager call will dereference.
The report notes that the UAF is not yet protected by MiraclePtr. The relevant line from asan.txt is quoted as:
MiraclePtr Status: NOT PROTECTED
That means the UAF is not yet protected by MiraclePtr. The report does not say why the allocation was outside MiraclePtr coverage, only that it was.
Impact
The report frames the impact in terms of sandbox escape. It states that RenderFrameHost UAF is a known vulnerability pattern frequently exploited to achieve sandbox escape, and cites two public examples: Chromium issue 40057346 and a THEORI blog post titled "Cleanly escaping the Chrome sandbox".
On Windows, the researcher says that with the provided POC it is easy to achieve full control of RenderFrameHost. The crash site shown from WinDbg is:
0:046> g
(3578.20cc): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** WARNING: Unable to verify checksum for C:\Users\[redacted]\AppData\Local\Chromium\Application\130.0.6712.0\base.dll
base!absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<const void *,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > >,absl::container_internal::HashEq<const void *,void>::Hash,absl::container_internal::HashEq<const void *,void>::Eq,std::__Cr::allocator<std::__Cr::pair<const void *const,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > > > >::fits_in_soo [inlined in base!absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<const void *,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > >,absl::container_internal::HashEq<const void *,void>::Hash,absl::container_internal::HashEq<const void *,void>::Eq,std::__Cr::allocator<std::__Cr::pair<const void *const,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > > > >::find<const void *>+0x23]:
00007ffd`5e3fb0c3 48833901 cmp qword ptr [rcx],1 ds:41414141`41414141=????????????????
The faulting instruction reads through rcx, and the address being dereferenced is 4141414141414141. The full backtrace is said to be in windbg.txt`, which is not included here.
The researcher's own assessment is that the vulnerability has extremely high exploitability, is stable, and is easy to trigger, and recommends that the Chrome team fix it promptly.
Fix
It only recommends that the Chrome team address the issue promptly. The metadata records the report as disclosed on 2024-10-15, but the supplied text contains no patch, commit or mitigation details.
Variants to test
The report gives a bisection result, which is useful for anyone auditing similar code:
- Introduced by
https://chromium.googlesource.com/chromium/src/+/[redacted].
Concrete things to try on other targets, each with what a positive result looks like:
- Look for other mojo interfaces whose receiver context is a raw
RenderFrameHost*or another raw frame-scoped pointer stored in aReceiverSetor similar map. A positive result is a code path where the service can outlive the frame and a later call dereferences the stored pointer. - Check whether the interface handle can be moved between frames, as in step 2 here. A positive result is a handle bound in one frame and used after that frame is removed.
- Check whether the object is covered by MiraclePtr. A positive result is a
MiraclePtr Status: NOT PROTECTEDline in the ASan output for the relevant allocation. - Reproduce the crash under ASan and look for a faulting address built from a repeated byte pattern such as
41414141, which indicates the freed memory was reallocated with attacker-controlled content. - Test on Windows as well as other platforms, since the report says the Windows POC gave easy control of
RenderFrameHost; a positive result is a controlled read or write through the stale pointer rather than a plain crash.
Each of these should be treated as a hypothesis to confirm against the actual code and crash output, not as a claim made by this report.
What happened, in plain words
A security researcher found a bug in Google Chrome, the web browser. The bug is in a part of Chrome that handles artificial intelligence (AI) features. The bug is called a use after free (UAF). In simple terms, it means the browser kept a note pointing to a piece of memory, then that memory was freed (given back to the system), and later the browser used the note anyway. Using something after it has been freed is dangerous because the memory might now contain something else, possibly something an attacker controls.
The researcher reported the bug through Chrome's Vulnerability Reward Program (VRP), a scheme that pays people for finding and reporting security problems. The report was rated high severity and a bounty of 36,000 USD was paid. The bug was disclosed on 2024-10-15 and is tracked as CVE-2024-9954. The researcher is credited as DARKNAVY (@DarkNavyOrg).
The report is an advisory: it explains the lifetime problem, gives a four-step way to trigger the bug, and points to a proof of concept (POC) and crash logs rather than including them in full. The report does not describe what the AI feature does from a user's point of view. It only says that the renderer (the part of Chrome that displays web pages) can obtain an interface called AIManager, and that the browser side keeps some context for each connection to that interface. That context is what later becomes stale.
Setup
The report lists these preconditions and environment:
- Chrome Version: 130.0.6712.0, HEAD + stable.
- Operating System: All.
- The proof of concept is served over HTTP and run with Blink's MojoJS test bindings enabled.
- The crash was observed on Windows, where the report says full control of
RenderFrameHostwas easy to achieve with the provided POC. - The report references two supporting files,
asan.txtandwindbg.txt, which are not reproduced in the text given here. It also references a POC file,poc.html, whose contents are not included.
The reproduction commands are given exactly as follows:
$ python copy_mojo_js_bindings.py
$ python -m http.server
$ ./chrome --enable-blink-features=MojoJS,MojoJSTest 'http://localhost:8000/poc.html'
Line by line:
$ python copy_mojo_js_bindings.pyruns a Python script that prepares the mojo JavaScript bindings needed by the page. Mojo is Chrome's internal system for communication between different parts of the browser. The bindings are JavaScript files that let a web page talk to those internal parts. This step is needed because the POC uses those bindings.$ python -m http.serverstarts a simple web server that serves files from the current directory over HTTP on port 8000. This makes the POC files available to the browser athttp://localhost:8000/. The reason is to host the POC files so Chrome can load them like a normal web page.$ ./chrome --enable-blink-features=MojoJS,MojoJSTest 'http://localhost:8000/poc.html'launches Chrome with two features enabled:MojoJSandMojoJSTest. These features let the page construct and use mojo interfaces directly from JavaScript. Normally web pages cannot do this; it is a testing feature. The command then loads the POC page from localhost. The reason is to run the POC in a browser that allows the necessary low-level access.
Finding it
The researcher's starting point is a function called AIManagerKeyedService::AddReceiver. When the renderer binds a receiver for the AIManager interface, the browser stores the associated context alongside the receiver in a ReceiverSet. Here is the code:
void AIManagerKeyedService::AddReceiver(
mojo::PendingReceiver<blink::mojom::AIManager> receiver,
AIContextBoundObjectSet::ReceiverContext context) {
receivers_.Add(this, std::move(receiver), context); // [0]
}
Line by line:
void AIManagerKeyedService::AddReceiver(starts the definition of a function namedAddReceiverthat belongs to the classAIManagerKeyedService. It returns nothing (void).mojo::PendingReceiver<blink::mojom::AIManager> receiver,is the first parameter: a pending receiver for theAIManagerinterface. In mojo, a receiver is the endpoint that receives calls. "Pending" means it is not yet connected.AIContextBoundObjectSet::ReceiverContext context) {is the second parameter: a context object of typeReceiverContextdefined inAIContextBoundObjectSet. This context is extra information stored with the receiver.receivers_.Add(this, std::move(receiver), context); // [0]adds the receiver to a collection calledreceivers_, passingthis(the service object), the receiver (moved, meaning ownership is transferred), and the context. The comment// [0]is a reference marker used in the report to point to a source location.
The context type is a variant of two raw pointer types:
using ReceiverContext =
std::variant<content::RenderFrameHost*, base::SupportsUserData*>; // [1]
Line by line:
using ReceiverContext =defines a type alias namedReceiverContext.std::variant<content::RenderFrameHost*, base::SupportsUserData*>; // [1]means the context can hold either a raw pointer to acontent::RenderFrameHostor a raw pointer to abase::SupportsUserData. A variant is a type that can hold one of several alternatives. A raw pointer is just a memory address; it does not manage the lifetime of the object it points to. The comment// [1]is another reference marker.
For requests sent from a regular frame, the report states that the context is in practice a raw pointer to RenderFrameHost. A frame is a part of a web page; a child frame (iframe) is a page embedded inside another page. RenderFrameHost is Chrome's internal object that represents a frame in the browser process. The problem the researcher identifies is that nothing guarantees the lifecycles of AIManagerKeyedService and the iframe stay consistent. In the report's words, AIManagerKeyedService can completely outlive RenderFrameHost. If the iframe is removed before the functionality of AIManagerKeyedService is called, the stored pointer is used after the object it points to has been freed, producing a UAF.
The report cites two source locations for the code above: chrome/browser/ai/ai_manager_keyed_service.cc line 308 and chrome/browser/ai/ai_context_bound_object_set.h line 27, both at revision [redacted].
Exploitation
The report describes the trigger in four steps. It does not include the POC source, so the steps below are the researcher's description, not reconstructed code.
Step 1: Bind the interface in a child frame
The attacker binds the AIManager interface from inside a child frame. At this point the browser records the child frame's RenderFrameHost as the receiver context.
Step 2: Send the interface handle to the parent frame
The interface handle is passed from the child frame to the parent frame. The receiver remains registered in the browser with the original child frame's RenderFrameHost as its context.
Step 3: Remove the child frame
The parent frame removes the child frame. The child frame's RenderFrameHost is destroyed, but the AIManagerKeyedService and its receiver set entry survive, still holding the now dangling raw pointer. A dangling pointer is a pointer to memory that has been freed.
Step 4: Trigger an IPC call that uses the freed object
The attacker triggers an IPC call to AIManager that reaches code using the already freed RenderFrameHost. IPC stands for inter-process communication, the way different parts of Chrome talk to each other. Because the pointer is stale, this is a use after free.
The report says the provided POC demonstrates these steps in detail and directs readers to the code for specifics. The POC itself is not part of the text supplied here.
Root cause
The mistake is a lifetime mismatch between a keyed service and the frame it stores a pointer to. AIManagerKeyedService is a browser-side service whose lifetime is not tied to any individual iframe, yet its receiver context is a raw content::RenderFrameHost* for regular frames. The ReceiverSet keeps that pointer for as long as the receiver is bound, and nothing in the code shown guarantees the pointer is cleared or invalidated when the frame goes away. Removing the iframe therefore leaves a dangling pointer that a later AIManager call will dereference. Dereference means to access the memory the pointer points to.
The report notes that the UAF is not yet protected by MiraclePtr. MiraclePtr is a Chrome technology that makes some use-after-free bugs harmless by using smart pointers that detect when the object is gone. The relevant line from asan.txt is quoted as:
MiraclePtr Status: NOT PROTECTED
This means the UAF is not yet protected by MiraclePtr. The report does not say why the allocation was outside MiraclePtr coverage, only that it was.
Impact
The report frames the impact in terms of sandbox escape. A sandbox is a security mechanism that restricts what code can do, so that even if an attacker compromises one part (like the renderer), they cannot take over the whole system. Sandbox escape means breaking out of that restriction. The report states that RenderFrameHost UAF is a known vulnerability pattern frequently exploited to achieve sandbox escape, and cites two public examples: Chromium issue 40057346 and a THEORI blog post titled "Cleanly escaping the Chrome sandbox".
On Windows, the researcher says that with the provided POC it is easy to achieve full control of RenderFrameHost. The crash site shown from WinDbg is:
0:046> g
(3578.20cc): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** WARNING: Unable to verify checksum for C:\Users\[redacted]\AppData\Local\Chromium\Application\130.0.6712.0\base.dll
base!absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<const void *,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > >,absl::container_internal::HashEq<const void *,void>::Hash,absl::container_internal::HashEq<const void *,void>::Eq,std::__Cr::allocator<std::__Cr::pair<const void *const,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > > > >::fits_in_soo [inlined in base!absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<const void *,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > >,absl::container_internal::HashEq<const void *,void>::Hash,absl::container_internal::HashEq<const void *,void>::Eq,std::__Cr::allocator<std::__Cr::pair<const void *const,std::__Cr::unique_ptr<base::SupportsUserData::Data,std::__Cr::default_delete<base::SupportsUserData::Data> > > > >::find<const void *>+0x23]:
00007ffd`5e3fb0c3 48833901 cmp qword ptr [rcx],1 ds:41414141`41414141=????????????????
Line by line:
0:046> gis a WinDbg command prompt wheregmeans "go", i.e. continue execution.(3578.20cc): Access violation - code c0000005 (first chance)reports an access violation exception with code c0000005, which is the Windows code for an invalid memory access. "First chance" means the debugger gets a chance to handle it before the program does.First chance exceptions are reported before any exception handling.explains that first-chance exceptions are shown before any handler runs.This exception may be expected and handled.is a standard WinDbg note.*** WARNING: Unable to verify checksum for C:\Users\[redacted]\AppData\Local\Chromium\Application\130.0.6712.0\base.dllis a warning about not being able to verify the checksum of a DLL file. The path has been redacted to remove a username.- The long line starting with
base!absl::container_internal::raw_hash_set<...>is the name of the function where the crash occurred, with template parameters. It is a hash set from the absl library, used inside Chrome's base library. 00007ffd5e3fb0c3 48833901 cmp qword ptr [rcx],1 ds:4141414141414141=????????????????is the faulting instruction.cmpcompares.qword ptr [rcx]means it reads a 64-bit value from the memory address stored in the registerrcx. Theds:4141414141414141shows the address being read is0x4141414141414141, which is the byte0x41(the letter 'A') repeated eight times. This pattern is a classic sign that the attacker has filled the freed memory with a chosen byte, here 'A'. The????????????????` indicates the memory could not be read.
The faulting instruction reads through rcx, and the address being dereferenced is 4141414141414141. The full backtrace is said to be in windbg.txt`, which is not included here.
The researcher's own assessment is that the vulnerability has extremely high exploitability, is stable, and is easy to trigger, and recommends that the Chrome team fix it promptly.
Fix
It only recommends that the Chrome team address the issue promptly. The metadata records the report as disclosed on 2024-10-15, but the supplied text contains no patch, commit or mitigation details.
Variants to test
The report gives a bisection result, which is useful for anyone auditing similar code. Bisection means finding the exact code change that introduced the bug. The result is:
- Introduced by
https://chromium.googlesource.com/chromium/src/+/[redacted].
Concrete things to try on other targets, each with what a positive result looks like:
- Look for other mojo interfaces whose receiver context is a raw
RenderFrameHost*or another raw frame-scoped pointer stored in aReceiverSetor similar map. A positive result is a code path where the service can outlive the frame and a later call dereferences the stored pointer. - Check whether the interface handle can be moved between frames, as in step 2 here. A positive result is a handle bound in one frame and used after that frame is removed.
- Check whether the object is covered by MiraclePtr. A positive result is a
MiraclePtr Status: NOT PROTECTEDline in the ASan output for the relevant allocation. ASan stands for AddressSanitizer, a tool that detects memory errors. - Reproduce the crash under ASan and look for a faulting address built from a repeated byte pattern such as
41414141, which indicates the freed memory was reallocated with attacker-controlled content. - Test on Windows as well as other platforms, since the report says the Windows POC gave easy control of
RenderFrameHost; a positive result is a controlled read or write through the stale pointer rather than a plain crash.
Each of these should be treated as a hypothesis to confirm against the actual code and crash output, not as a claim made by this report.
Glossary
- Use after free (UAF): A bug where a program uses memory after it has been freed, which can lead to crashes or attacker control.
- CVE: Common Vulnerabilities and Exposures, a unique identifier for a publicly known security vulnerability.
- Chrome VRP: Chrome Vulnerability Reward Program, a scheme that pays researchers for reporting security bugs in Chrome.
- Bounty: A monetary reward paid for finding and reporting a vulnerability.
- Renderer: The part of a browser that renders web pages; it runs in a sandbox for security.
- Mojo: Chrome's inter-process communication system that lets different parts of the browser talk to each other.
- Interface: In mojo, a set of methods that one part of the browser can call on another.
- Receiver: The endpoint that receives calls on a mojo interface.
- ReceiverSet: A collection that keeps track of receivers and associated context.
- Context: Extra information stored alongside a receiver, here a pointer to a frame or other object.
- Raw pointer: A memory address that does not manage the lifetime of the object it points to.
- Variant: A type that can hold one of several alternatives.
- RenderFrameHost: Chrome's internal object representing a frame in the browser process.
- Frame: A part of a web page; a child frame (iframe) is embedded inside another page.
- IPC: Inter-process communication, the mechanism processes use to exchange messages.
- Dangling pointer: A pointer to memory that has been freed.
- Dereference: To access the memory that a pointer points to.
- MiraclePtr: A Chrome technology that makes some use-after-free bugs harmless by using checked pointers.
- ASan: AddressSanitizer, a tool that detects memory errors such as use after free.
- Sandbox: A security mechanism that restricts what code can do to limit damage from exploits.
- Sandbox escape: Breaking out of the sandbox to gain more control over the system.
- WinDbg: A debugger for Windows used to analyse crashes.
- Bisection: Finding the exact code change that introduced a bug by testing revisions.
- Proof of concept (POC): A demonstration that a vulnerability can be triggered.
- HEAD: The latest development version of the code.
- Stable: The stable release channel of Chrome.
- Blink: The rendering engine used by Chrome.
- MojoJS: A feature that lets JavaScript use mojo interfaces directly, intended for testing.
- MojoJSTest: A related feature for testing mojo in JavaScript.
- Keyed service: A service in Chrome that is tied to a profile or context and managed by a key.
- Access violation: A Windows error when a program tries to access memory it should not.
- Checksum: A value used to verify the integrity of a file.
- DLL: Dynamic Link Library, a file containing code that programs can use.
- absl: Abseil, a collection of C++ libraries used by Chrome.
- Hash set: A data structure that stores unique elements using a hash function.
- Register: A small, fast storage location in a CPU.
- 0x41: The hexadecimal value for the ASCII character 'A'.
- ASan output: The report from AddressSanitizer when it detects an error.