Skip to content
Access control Advisory Advanced CVE-2026-113327

Missing authorization in Chromecast (CVE-2026-113327)

The Chromecast tracing daemon creates a world-writable Unix socket and accepts connections without checking who is connecting, so any local process that can reach the socket can control system-wide kernel tracing. On Cast Linux ARM devices the GPU process is allowed to connect to such sockets and is not chrooted, so a compromised GPU process could read system-wide trace data and use it as a timing side-channel.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 months

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The Chromecast traced system daemon creates a world-writable AF_UNIX socket without peer authentication, allowing local processes to control kernel tracing. On Cast Linux ARM platforms, the GPU process is permitted by seccomp to connect to these sockets and is not chrooted. This potentially allows a compromised GPU process to access system-wide ftrace data, creating a high-resolution side-channel for cross-process information leaks.

Affected files:

  • chromecast/tracing/tracing_service_main.cc
  • chromecast/tracing/ftrace.cc
  • sandbox/policy/linux/bpf_cros_arm_gpu_policy_linux.cc
  • content/browser/gpu/gpu_process_host.cc
  • chromecast/tracing/system_tracing_common.cc

Estimated timestamp from git blame: 2017-12-01

Summary

A potential sandbox escape exists on Cast Linux ARM devices due to insecure permissions on the traced system daemon's IPC socket. The daemon creates a world-writable socket node and fails to verify the identity of connecting clients. This configuration, combined with the specific seccomp and namespace sandbox configuration of the GPU process on ARM platforms, allows a compromised GPU process to gain unauthorized access to system-wide kernel tracing data.

Root Cause Analysis

In chromecast/tracing/tracing_service_main.cc, the CreateServerSocket function explicitly grants world read/write permissions (mode 0666) to its listening socket:

C++
// chromecast/tracing/tracing_service_main.cc
base::ScopedFD CreateServerSocket() {
  struct sockaddr_un addr = GetSystemTracingSocketAddress(); // "/dev/socket/tracing/tracing"
  // ...
  if (chmod(addr.sun_path, 0666)) // World-writable
    PLOG(WARNING) << "chmod: " << addr.sun_path;
  // ...
}

Furthermore, the AcceptConnection method accepts incoming connections without performing any peer authentication (e.g., via SO_PEERCRED). Because the daemon runs with elevated privileges (typically root or CAP_SYS_ADMIN) to manage system-wide ftrace settings, this allows any process with filesystem access to the socket to control kernel tracing and read the resulting trace buffer.

Exploitation Path from GPU Process

An attacker who has achieved code execution in the GPU process can potentially exploit this because:

  1. Seccomp Policy: The CrosArmGpuProcessPolicy in sandbox/policy/linux/bpf_cros_arm_gpu_policy_linux.cc explicitly allows AF_UNIX socket creation and connect() calls.
  2. Lack of Chroot: On Linux, the GPU process is not currently chrooted (the namespace sandbox is disabled for stability). Consequently, the process can see and connect to the socket node at /dev/socket/tracing/tracing.

Potential Impact

By connecting to the tracing daemon, a compromised GPU process could:

  1. Enable system-wide ftrace events such as sched_switch, which provides microsecond-resolution timing of process execution across the entire system.
  2. Read the resulting trace data via a pipe provided by the daemon.

This constitutes a powerful side-channel for monitoring every process on the device, potentially facilitating keystroke timing inference or other sensitive cross-process information leaks.

Suggested Reproduction Steps

On a Cast Linux ARM device with the traced daemon running, a potential exploitation sequence would be:

  1. From a compromised GPU process, create an AF_UNIX SOCK_SEQPACKET socket.
  2. Connect to /dev/socket/tracing/tracing (this should succeed due to mode 0666).
  3. Send a category string (e.g., "sched") to the daemon to enable tracing.
  4. Receive the read-end of a pipe from the daemon via SCM_RIGHTS.
  5. Trigger the daemon to stop tracing and stream the /sys/kernel/tracing/trace buffer through the pipe.

Suggested Fix

  1. Modify chromecast/tracing/tracing_service_main.cc to use more restrictive permissions on the socket (e.g., 0660) and ensure the socket's group is restricted to trusted system components.
  2. Implement peer authentication in AcceptConnection using SO_PEERCRED to verify that the connecting process is authorized to access system tracing.

Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The tracing daemon sets its listening socket to world read/write permissions and accepts clients without verifying their identity, while the GPU process sandbox still lets it reach that socket.

Impact

A compromised GPU process could enable system-wide tracing and read the results, giving a high-resolution timing side-channel that may allow keystroke timing inference or other cross-process leaks; the report presents this as a potential issue rather than a demonstrated exploit.

What the attacker needed

Code execution in the GPU process; Cast Linux ARM device; tracing daemon running

The fix

The socket permissions should be tightened to a restricted group and the daemon should check connecting peers, for example with SO_PEERCRED, before granting access to system tracing.

How it was found

  1. From a compromised GPU process, create a local Unix socket of the sequenced packet type.
  2. Connect to the tracing daemon's socket path, which should succeed because of the open permissions.
  3. Send a tracing category string to the daemon to switch tracing on.
  4. Receive the read end of a pipe from the daemon as a passed file descriptor.
  5. Ask the daemon to stop tracing and stream the kernel trace buffer through that pipe.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A background service on the device listens on a local socket, which is like a private phone line between programs on the same machine. This service set the line so that any program could call it, and it never asked who was calling, even though it can switch on deep system monitoring. A program that had already broken out of its own restricted area could therefore listen in on timing details about every other program on the device.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.