Skip to content
Memory corruption Advisory Advanced CVE-2025-12438

Use after free in Ozone (CVE-2025-12438)

A heap-use-after-free occurs in the Wayland client library when Chrome closes, because the WaylandConnection and its display object may be destroyed before the WaylandScreen that holds a proxy pointer to it. An attacker could potentially trigger a crash, but the report does not demonstrate exploitation beyond a crash.

Wei Yuan Follow

Originally disclosed on Chrome VRP

Bounty$1,000 Medium View original
  • Fix shipped in 3 months

Steps to reproduce the problem

The crash occasionally occurs in my fuzzing system and there is currently no stable reproduction case. You can refer to the RCA to fix the issue.

Problem Description

BISECT https://chromium-review.googlesource.com/c/chromium/src/+/3008414

RCA

  1. When Chrome opens on Ubuntu, a ui::WaylandConnection object is created, and display_ is initialized in WaylandConnection::Initialize().
bool WaylandConnection::Initialize(bool use_threaded_polling) {
  ...
  display_.reset(wl_display_connect(nullptr));      // [1]
  if (!display_) {
    PLOG(ERROR) << "Failed to connect to Wayland display";
    return false;
  }
  ...
}

https://source.chromium.org/chromium/chromium/src/+/main:ui/ozone/platform/wayland/host/wayland_connection.cc;l=195;drc=5c47d5e475326944a7be161b049c73c831cb830e;bpv=1;bpt=1

  1. When a screen saver view is created and suspended, a WaylandScreen object is also created and owned by that view.

The idle_inhibitor_ member of WaylandScreen will be initialized, holding a proxy pointer to ui::WaylandConnection's zwp_idle_inhibit_manager. This proxy pointer will be used in Wayland to interact with the display in [1].

bool WaylandScreen::SetScreenSaverSuspended(bool suspend) {
  if (!connection_->zwp_idle_inhibit_manager())
    return false;

  if (suspend) {
    ...
    idle_inhibitor_ = connection_->zwp_idle_inhibit_manager()->CreateInhibitor(
        current_window->root_surface()->surface());     // [2]
  } else {
    idle_inhibitor_.reset();
  }

  return true;
}

https://source.chromium.org/chromium/chromium/src/+/main:ui/ozone/platform/wayland/host/wayland_screen.cc;l=451;drc=5c47d5e475326944a7be161b049c73c831cb830e;bpv=1;bpt=1

  1. If the above two conditions are met, when Chrome closes, the WaylandConnection and its display_ (which points to a

wl_display) may be destroyed before ChromeBrowserMainExtraPartsViews. As a result, a heap-use-after-free will occur when the WaylandScreen is destroyed and try to interact the display object [3].

WL_EXPORT struct wl_proxy *
wl_proxy_marshal_array_flags(struct wl_proxy *proxy, uint32_t opcode,
			     const struct wl_interface *interface, uint32_t version,
			     uint32_t flags, union wl_argument *args)
{
    ...
	if (proxy->display->last_error) {       // [3]
		goto err_unlock;
	}
    ...
}

https://source.chromium.org/chromium/chromium/src/+/main:third_party/wayland/src/src/wayland-client.c;l=911;drc=5c47d5e475326944a7be161b049c73c831cb830e;bpv=1;bpt=1

Summary

heap-use-after-free in wl_proxy_marshal_array_flags

Custom Questions

Type of crash:

browser

Crash state:

heap-use-after-free

Reporter credit:

V0

Additional Data

Category: Security
Chrome Channel: Stable
Regression: N/A \

The original report as published on the Chromium issue tracker, by Wei Yuan of MoyunSec VLab. 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. 5 min read.

Context

This is a Chrome VRP report about a use-after-free in Ozone, Chrome's platform abstraction layer. The affected component is the Wayland backend of Ozone, which is what Chrome uses to talk to the display server on Linux systems running a Wayland compositor. The report was filed by Wei Yuan of MoyunSec VLab, rated medium severity, and paid a bounty of 1000.00 USD. It was disclosed on 2025-10-28 and tracked as CVE-2025-12438.

The crash is a heap-use-after-free inside wl_proxy_marshal_array_flags, a function in the bundled Wayland client library. The report is an advisory-style write-up: it gives a root cause analysis rather than a reproducible proof of concept, and it says so up front.

Setup

The report does not describe a specific test environment beyond the platform: the issue occurs when Chrome opens on Ubuntu. The crash was found by fuzzing rather than by manual testing. The reporter states that it occurs occasionally in their fuzzing system and that there is currently no stable reproduction case, so the RCA is offered as the basis for a fix.

No accounts, roles, tool versions or special configuration are given. The relevant build is the Stable channel, and the report marks regression as N/A.

Finding it

The reporter observed a crash with the state heap-use-after-free in wl_proxy_marshal_array_flags, classified as a browser crash. Because there was no stable reproduction, the work went into identifying the lifetime problem in the code. The report includes a bisect reference pointing at a Chromium change:

Text
https://chromium-review.googlesource.com/c/chromium/src/+/3008414

The rest of the report is the root cause analysis, which traces the ownership of two objects, ui::WaylandConnection and WaylandScreen, and shows how their destruction order can leave a dangling pointer into the Wayland display.

Exploitation

The report does not provide an exploitation path, only the sequence of conditions that produces the crash. The steps below follow the RCA.

Step 1: the connection owns the display

When Chrome opens on Ubuntu, a ui::WaylandConnection object is created, and its display_ member is initialised in WaylandConnection::Initialize():

Text
bool WaylandConnection::Initialize(bool use_threaded_polling) {
  ...
  display_.reset(wl_display_connect(nullptr));      // [1]
  if (!display_) {
    PLOG(ERROR) << "Failed to connect to Wayland display";
    return false;
  }
  ...
}

The call to wl_display_connect(nullptr) returns a wl_display pointer, which is stored in display_. This is the connection to the Wayland display server, and every proxy object created through the connection ultimately refers back to it. The report links the code at ui/ozone/platform/wayland/host/wayland_connection.cc.

Step 2: the screen holds a proxy tied to the connection

When a screen saver view is created and suspended, a WaylandScreen object is also created and owned by that view. Its idle_inhibitor_ member is initialised, holding a proxy pointer to the zwp_idle_inhibit_manager of ui::WaylandConnection. That proxy is what Wayland uses to interact with the display from step 1.

Text
bool WaylandScreen::SetScreenSaverSuspended(bool suspend) {
  if (!connection_->zwp_idle_inhibit_manager())
    return false;

  if (suspend) {
    ...
    idle_inhibitor_ = connection_->zwp_idle_inhibit_manager()->CreateInhibitor(
        current_window->root_surface()->surface());     // [2]
  } else {
    idle_inhibitor_.reset();
  }

  return true;
}

CreateInhibitor builds a new Wayland proxy from the manager, and that proxy keeps a reference to the display. The report links the code at ui/ozone/platform/wayland/host/wayland_screen.cc.

Step 3: destruction order leaves a dangling display

If both conditions above are met, then when Chrome closes, WaylandConnection and its display_ (which points to a wl_display) may be destroyed before ChromeBrowserMainExtraPartsViews. The WaylandScreen is then destroyed afterwards and tries to interact with the display object, which has already been freed. The result is a heap-use-after-free.

The crash surfaces in the Wayland client library, in wl_proxy_marshal_array_flags:

Text
WL_EXPORT struct wl_proxy *
wl_proxy_marshal_array_flags(struct wl_proxy *proxy, uint32_t opcode,
			     const struct wl_interface *interface, uint32_t version,
			     uint32_t flags, union wl_argument *args)
{
    ...
	if (proxy->display->last_error) {       // [3]
		goto err_unlock;
	}
    ...
}

The dereference of proxy->display->last_error is where the freed wl_display is read. The report links the code at third_party/wayland/src/src/wayland-client.c.

Root cause

The bug is an object lifetime problem across two components that do not coordinate their teardown. WaylandConnection owns the wl_display, while WaylandScreen owns an idle inhibitor proxy that was created through the connection's idle inhibit manager and therefore points back at that display. Nothing in the report shows a mechanism that guarantees the screen and its proxy are torn down before the connection and the display.

When the ordering goes the wrong way at shutdown, the proxy outlives the display it references. Any later marshal call on that proxy, such as the one made while the screen is being destroyed, reads proxy->display->last_error from freed memory. The Wayland client library has no way to detect this: it trusts that a proxy's display pointer is valid for the lifetime of the proxy. The report does not describe any existing defence that would have caught the ordering problem; the crash was found by fuzzing and occurs occasionally.

Impact

The report classifies the crash as a browser crash and the weakness as a use-after-free, with medium severity. The conditions are narrow: Chrome must be running on Ubuntu with the Wayland backend, a screen saver view must have been created and suspended so that a WaylandScreen with an idle inhibitor exists, and the shutdown ordering must put the destruction of WaylandConnection before that of ChromeBrowserMainExtraPartsViews. The report does not demonstrate control over the freed memory or any path beyond the crash itself, and it gives no evidence of exploitability.

Fix

It points to the bisect commit and provides the RCA so that the lifetime issue can be fixed.

Variants to test

  1. Other Ozone backends with similar ownership splits: look for objects that hold proxies or handles into a connection object owned elsewhere, and check whether teardown order is enforced. A positive result is a crash or sanitizer report during shutdown when the connection is destroyed first.
  2. Other Wayland protocol objects created lazily from a manager on the connection, such as inhibitors, decorations or pointer constraints. Create one, keep it alive, then shut down and watch for a read of freed display state in the client library.
  3. Screen saver and idle inhibition paths on other platforms: check whether the platform screen object outlives the connection that created its proxies. A positive result is a use-after-free report in the platform or client library code at exit.
  4. Repeated open and close cycles under fuzzing with a suspended screen saver view, since the report notes the crash is intermittent. A positive result is a non-deterministic heap-use-after-free in wl_proxy_marshal_array_flags or an equivalent marshal function.

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. 17 min read.

What happened, in plain words

Chrome can run on Linux in two different ways. One way is the older X11 system, and the other is a newer system called Wayland. To talk to Wayland, Chrome uses a piece of its own code called Ozone, and inside Ozone there is a Wayland-specific part. This report is about a bug in that part.

The bug is a use-after-free. Imagine you borrow a library book, write down the shelf number, return the book, and then later walk to that shelf expecting the book to be there. The shelf number is still written on your note, but the book is gone. In a computer, a program can hold the address of a piece of memory, the memory can be handed back to the system (freed), and then the program can still read or write through the old address. That is a use-after-free, and it is dangerous because the memory may already belong to something else.

In this case, two Chrome objects are involved. One is the connection to the Wayland display server, which owns a core Wayland object called the display. The other is a screen object, which holds a small Wayland object (an idle inhibitor) that points back at that display. When Chrome shuts down, the connection and its display can be destroyed first, and the screen object is destroyed afterwards. When the screen object is cleaned up, it tries to use the display that no longer exists, and the program reads freed memory.

The reporter found this by running an automated crash-finding tool (fuzzing) rather than by hand, and says the crash only happens occasionally, with no stable way to reproduce it. So the report is not a step-by-step attack; it is an explanation of why the crash happens, offered so that the Chrome team can fix it. The report was filed by Wei Yuan of MoyunSec VLab, rated medium severity, paid a bounty of 1000.00 USD, disclosed on 2025-10-28, and tracked as CVE-2025-12438.

Context

This is a Chrome VRP report. VRP stands for Vulnerability Reward Program: a scheme where outside researchers report security bugs to a vendor and can receive money if the report is valid. The report is about a use-after-free in Ozone. Ozone is Chrome's platform abstraction layer: a layer of code that hides the differences between operating systems and display systems, so the rest of Chrome can draw windows and receive input without knowing whether it is running on Windows, macOS, X11 or Wayland.

The affected component is the Wayland backend of Ozone. A backend is the part of an abstraction layer that is written for one specific system. The Wayland backend is what Chrome uses to talk to the display server on Linux systems running a Wayland compositor. A display server is the program that manages windows, drawing and input on your screen; a compositor is the Wayland-style display server that also combines the windows into the final picture you see.

The crash is a heap-use-after-free inside wl_proxy_marshal_array_flags, a function in the bundled Wayland client library. The heap is the area of memory a program uses for objects it creates while running, as opposed to fixed-size memory reserved at compile time. The Wayland client library is the code that lets a program (the client) talk to the Wayland display server; Chrome bundles a copy of it rather than relying on the one installed on the system. A function is a named block of code that does one job; this one's job is to package up a request and send it to the display server.

The report is an advisory-style write-up: it gives a root cause analysis (RCA), meaning an explanation of the underlying cause, rather than a reproducible proof of concept (a set of steps that reliably triggers the bug). It says so up front.

Setup

The report does not describe a specific test environment beyond the platform: the issue occurs when Chrome opens on Ubuntu. Ubuntu is a Linux distribution, and recent versions of it can run the Wayland display system.

The crash was found by fuzzing rather than by manual testing. Fuzzing means feeding a program huge numbers of automatically generated or automatically varied inputs and watching for crashes, in the hope of hitting unusual code paths that a human tester would not think to try. The reporter states that the crash occurs occasionally in their fuzzing system and that there is currently no stable reproduction case, so the RCA is offered as the basis for a fix.

No accounts, roles, tool versions or special configuration are given. The relevant build is the Stable channel, meaning the normal release version that ordinary users run, not a beta or developer build. The report marks regression as N/A: a regression is a bug that was introduced by a change which used to work, and N/A here means the report does not claim to identify one.

Finding it

The reporter observed a crash with the state heap-use-after-free in wl_proxy_marshal_array_flags, classified as a browser crash. In other words, the crash was classified as a browser crash, and the crash state named that function and that kind of memory error.

Because there was no stable reproduction, the work went into identifying the lifetime problem in the code. Lifetime here means how long an object exists: when it is created, who owns it, and when it is destroyed. Many memory bugs are really lifetime bugs, where one part of a program assumes an object is still alive after another part has thrown it away.

The report includes a bisect reference pointing at a Chromium change:

Text
https://chromium-review.googlesource.com/c/chromium/src/+/3008414

A bisect is a technique for finding the change that introduced a bug: you take a range of code changes, test the middle one, and keep halving the range until you land on the guilty change. The link above points to a specific change in Chromium's code review system, which is where Chrome developers propose, discuss and merge code changes. The report gives the link without further comment, so it is a pointer for the reader to follow rather than something explained in the text.

The rest of the report is the root cause analysis, which traces the ownership of two objects, ui::WaylandConnection and WaylandScreen, and shows how their destruction order can leave a dangling pointer into the Wayland display. A dangling pointer is a stored address that used to point at a valid object but now points at memory that has been freed or reused.

Exploitation

The report does not provide an exploitation path, only the sequence of conditions that produces the crash. Exploitation means turning a bug into something an attacker can control, such as running their own code or reading data they should not see. Here the report stops at the crash. The steps below follow the RCA.

Step 1: the connection owns the display

When Chrome opens on Ubuntu, a ui::WaylandConnection object is created, and its display_ member is initialised in WaylandConnection::Initialize():

Text
bool WaylandConnection::Initialize(bool use_threaded_polling) {
  ...
  display_.reset(wl_display_connect(nullptr));      // [1]
  if (!display_) {
    PLOG(ERROR) << "Failed to connect to Wayland display";
    return false;
  }
  ...
}

Line by line, in plain words:

  • bool WaylandConnection::Initialize(bool use_threaded_polling) { starts a function called Initialize that belongs to the WaylandConnection class. A class is a blueprint for an object, bundling data and the functions that work on it. The function takes one true/false setting, use_threaded_polling, which controls whether the connection uses a background thread for some of its work. It returns bool, meaning true or false to say whether setup succeeded.
  • ... stands for code the report leaves out because it is not relevant to the bug.
  • display_.reset(wl_display_connect(nullptr)); is the important line, marked [1]. wl_display_connect is a Wayland client library function that opens a connection to the display server and returns a handle to a wl_display object. Passing nullptr means "use the default display", that is, whatever display the environment points at, rather than a named one. display_ is the member of the connection object that stores this handle, and .reset(...) is a smart-pointer operation: it takes ownership of the returned handle and, importantly, will free the old value if there was one. So after this line, the connection object owns the display handle.
  • if (!display_) { checks whether the handle is empty, which would mean the connection attempt failed.
  • PLOG(ERROR) << "Failed to connect to Wayland display"; writes an error message to the log. PLOG is a logging macro that also records the system error code, which is useful when a call like connecting to a display fails.
  • return false; tells the caller that initialisation did not succeed.
  • The closing } ends the function.

This is the connection to the Wayland display server, and every proxy object created through the connection ultimately refers back to it. A proxy in Wayland is a local stand-in for an object that lives in the display server: your program calls functions on the proxy, and the library turns those calls into messages sent over the connection. The report links the code at ui/ozone/platform/wayland/host/wayland_connection.cc.

Step 2: the screen holds a proxy tied to the connection

When a screen saver view is created and suspended, a WaylandScreen object is also created and owned by that view. A screen saver view here is Chrome's way of reacting when the screen saver or screen blanking kicks in; suspending it means telling the system "do not blank the screen right now", for example because video is playing. Its idle_inhibitor_ member is initialised, holding a proxy pointer to the zwp_idle_inhibit_manager of ui::WaylandConnection. An idle inhibitor is exactly that: a Wayland object that asks the display server to stay awake. A manager in Wayland is an object whose job is to create other objects; the idle inhibit manager creates inhibitors. That proxy is what Wayland uses to interact with the display from step 1.

Text
bool WaylandScreen::SetScreenSaverSuspended(bool suspend) {
  if (!connection_->zwp_idle_inhibit_manager())
    return false;

  if (suspend) {
    ...
    idle_inhibitor_ = connection_->zwp_idle_inhibit_manager()->CreateInhibitor(
        current_window->root_surface()->surface());     // [2]
  } else {
    idle_inhibitor_.reset();
  }

  return true;
}

Line by line:

  • bool WaylandScreen::SetScreenSaverSuspended(bool suspend) { starts a function on the WaylandScreen class that turns screen saver suspension on or off. The parameter suspend is true when we want to suspend the screen saver and false when we want to release it. It returns true or false for success.
  • if (!connection_->zwp_idle_inhibit_manager()) checks whether the connection has an idle inhibit manager at all. connection_ is the screen's pointer to the WaylandConnection; the -> means "look inside the object this pointer refers to". If the display server does not offer this feature, the manager will be empty.
  • return false; gives up if there is no manager, because there is nothing to create an inhibitor with.
  • if (suspend) { handles the "please stay awake" case.
  • ... is omitted code.
  • idle_inhibitor_ = connection_->zwp_idle_inhibit_manager()->CreateInhibitor( is the important line, marked [2]. It asks the manager to create a new inhibitor and stores the result in the screen's idle_inhibitor_ member. The argument on the next line, current_window->root_surface()->surface());, says which window's surface the inhibitor applies to. A surface in Wayland is the thing that can be drawn on and shown; the root surface is the top-level one for the window.
  • } else { handles the "you may sleep again" case.
  • idle_inhibitor_.reset(); throws the inhibitor away, which tells the display server it no longer needs to stay awake.
  • return true; reports success.
  • The closing } ends the function.

CreateInhibitor builds a new Wayland proxy from the manager, and that proxy keeps a reference to the display. The report links the code at ui/ozone/platform/wayland/host/wayland_screen.cc.

Step 3: destruction order leaves a dangling display

If both conditions above are met, then when Chrome closes, WaylandConnection and its display_ (which points to a wl_display) may be destroyed before ChromeBrowserMainExtraPartsViews. ChromeBrowserMainExtraPartsViews is a Chrome object that is part of the browser's start-up and shutdown machinery for the user interface; the name is long, but the point is simply that it is another object with its own place in the shutdown sequence. The WaylandScreen is then destroyed afterwards and tries to interact with the display object, which has already been freed. The result is a heap-use-after-free.

The crash surfaces in the Wayland client library, in wl_proxy_marshal_array_flags:

Text
WL_EXPORT struct wl_proxy *
wl_proxy_marshal_array_flags(struct wl_proxy *proxy, uint32_t opcode,
			     const struct wl_interface *interface, uint32_t version,
			     uint32_t flags, union wl_argument *args)
{
    ...
	if (proxy->display->last_error) {       // [3]
		goto err_unlock;
	}
    ...
}

Line by line:

  • WL_EXPORT struct wl_proxy * says this function is exported from the library (so other code can call it) and that it returns a pointer to a struct wl_proxy. A struct is a bundle of related data fields under one name, and a pointer is a value that holds the address of something in memory.
  • wl_proxy_marshal_array_flags(struct wl_proxy *proxy, uint32_t opcode, begins the function. Marshalling means packing a function call and its arguments into the byte format that can be sent over the connection. The first parameter, proxy, is the local stand-in object whose request is being sent. opcode is a number identifying which request it is, like a menu number. uint32_t is an unsigned 32-bit integer type.
  • const struct wl_interface *interface, uint32_t version, passes a description of the object's interface (what requests and events it has) and the protocol version in use.
  • uint32_t flags, union wl_argument *args) passes some option flags and a pointer to the array of arguments. A union is a type that can hold one of several different types in the same memory space.
  • { opens the function body.
  • ... is omitted code.
  • if (proxy->display->last_error) { is the important line, marked [3]. It follows the proxy's display pointer to the display object and reads its last_error field, to check whether the connection has already recorded an error. This is the read that touches freed memory when the display has already been destroyed.
  • goto err_unlock; jumps to error handling if an error was recorded. goto is a jump to a labelled point in the same function.
  • ... is omitted code.
  • The closing } ends the function.

The dereference of proxy->display->last_error is where the freed wl_display is read. The report links the code at third_party/wayland/src/src/wayland-client.c.

Root cause

The bug is an object lifetime problem across two components that do not coordinate their teardown. Teardown is the process of cleaning up and destroying objects when a program shuts down or a feature is switched off. WaylandConnection owns the wl_display, while WaylandScreen owns an idle inhibitor proxy that was created through the connection's idle inhibit manager and therefore points back at that display. Nothing in the report shows a mechanism that guarantees the screen and its proxy are torn down before the connection and the display.

When the ordering goes the wrong way at shutdown, the proxy outlives the display it references. Any later marshal call on that proxy, such as the one made while the screen is being destroyed, reads proxy->display->last_error from freed memory. The Wayland client library has no way to detect this: it trusts that a proxy's display pointer is valid for the lifetime of the proxy. The report does not describe any existing defence that would have caught the ordering problem; the crash was found by fuzzing and occurs occasionally.

Impact

The report classifies the crash as a browser crash and the weakness as a use-after-free, with medium severity. Severity is a rough rating of how serious a bug is, and medium sits in the middle of the usual low, medium, high and critical scale. The conditions are narrow: Chrome must be running on Ubuntu with the Wayland backend, a screen saver view must have been created and suspended so that a WaylandScreen with an idle inhibitor exists, and the shutdown ordering must put the destruction of WaylandConnection before that of ChromeBrowserMainExtraPartsViews. The report does not demonstrate control over the freed memory or any path beyond the crash itself, and it gives no evidence of exploitability.

Fix

A patch is the code change that fixes a bug. It points to the bisect commit and provides the RCA so that the lifetime issue can be fixed.

Variants to test

These are suggestions for where else the same kind of mistake might appear. A variant is a different bug that shares the same underlying pattern.

  1. Other Ozone backends with similar ownership splits: look for objects that hold proxies or handles into a connection object owned elsewhere, and check whether teardown order is enforced. A positive result is a crash or sanitizer report during shutdown when the connection is destroyed first. A sanitizer is a tool built into a debug build of a program that watches memory accesses and reports mistakes like use-after-free as soon as they happen.
  2. Other Wayland protocol objects created lazily from a manager on the connection, such as inhibitors, decorations or pointer constraints. Lazily means created only when first needed, rather than at start-up. Create one, keep it alive, then shut down and watch for a read of freed display state in the client library.
  3. Screen saver and idle inhibition paths on other platforms: check whether the platform screen object outlives the connection that created its proxies. A positive result is a use-after-free report in the platform or client library code at exit.
  4. Repeated open and close cycles under fuzzing with a suspended screen saver view, since the report notes the crash is intermittent. A positive result is a non-deterministic heap-use-after-free in wl_proxy_marshal_array_flags or an equivalent marshal function. Non-deterministic means it does not happen reliably on every attempt.

Glossary

  • API: an agreed set of functions and data that one piece of software offers to another so they can talk to each other.
  • Backend: the part of an abstraction layer written for one specific system, such as Wayland or X11.
  • Bisect: a technique for finding the code change that introduced a bug by repeatedly halving a range of changes and testing the middle one.
  • Bounty: money paid by a vendor to a researcher for a valid security report.
  • Browser crash: the whole browser process stopping unexpectedly, usually because it hit an unrecoverable error.
  • Chrome VRP: Chrome's Vulnerability Reward Program, which pays researchers for security bugs.
  • Class: a blueprint for an object, bundling data and the functions that work on it.
  • Compositor: a display server that manages windows and combines them into the final picture, in the Wayland style.
  • Connection: an open channel between a client program and a display server.
  • CVE: a public identifier for a known security vulnerability, so people can refer to it unambiguously.
  • Dangling pointer: a stored address that used to point at a valid object but now points at freed or reused memory.
  • Display server: the program that manages windows, drawing and input on your screen.
  • Exploitation: turning a bug into something an attacker can control, such as running their own code.
  • Flags: option settings passed to a function to change how it behaves.
  • Freed: memory that a program has handed back to the system and must no longer use.
  • Function: a named block of code that performs one job.
  • Fuzzing: feeding a program large numbers of automatically generated or varied inputs to find crashes.
  • Heap: the area of memory a program uses for objects it creates while running.
  • Heap-use-after-free: a memory error where a program reads or writes heap memory after it has been freed.
  • Idle inhibitor: a Wayland object that asks the display server not to blank or sleep the screen.
  • Interface: a description of what requests and events an object supports.
  • Lazily: created only when first needed, rather than at start-up.
  • Lifetime: how long an object exists, from creation to destruction.
  • Manager: in Wayland, an object whose job is to create other objects.
  • Marshalling: packing a function call and its arguments into the byte format sent over a connection.
  • Medium severity: a middle rating on the usual low, medium, high and critical scale for how serious a bug is.
  • Member: a piece of data or a function that belongs to a class or object.
  • Non-deterministic: not happening reliably on every attempt.
  • Ozone: Chrome's platform abstraction layer, which hides differences between operating systems and display systems.
  • Patch: the code change that fixes a bug.
  • Pointer: a value that holds the address of something in memory.
  • Proof of concept: a set of steps or code that reliably demonstrates a bug.
  • Proxy: a local stand-in for an object that lives in another process, such as the display server.
  • RCA (root cause analysis): an explanation of the underlying cause of a bug, rather than just its symptoms.
  • Regression: a bug introduced by a change, where something that used to work now fails.
  • Sanitizer: a tool in a debug build that watches memory accesses and reports mistakes as they happen.
  • Screen saver view: Chrome's component that reacts when the screen saver or screen blanking is active.
  • Severity: a rough rating of how serious a bug is.
  • Stable channel: the normal release version of Chrome that ordinary users run.
  • Struct: a bundle of related data fields under one name.
  • Surface: in Wayland, the thing that can be drawn on and shown on screen.
  • Teardown: the process of cleaning up and destroying objects at shutdown or when a feature is switched off.
  • Union: a type that can hold one of several different types in the same memory space.
  • Use-after-free: a memory error where a program uses memory after it has been freed.
  • Variant: a different bug that shares the same underlying pattern.
  • Wayland: a display system used on Linux, where client programs talk to a compositor.
  • Wayland client library: the code that lets a program talk to the Wayland display server.
  • X11: the older display system used on Linux, which Wayland is gradually replacing.

More by Wei Yuan

View all

3 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.