CVE-2026-89603: entry: Fix seccomp bypass after ptrace with TSYNC

Published Sep 11, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

entry: Fix seccomp bypass after ptrace with TSYNC

Sashiko review pointed out the following issue.

If a thread is stopped in syscalltraceenter() for ptrace, another thread can install a seccomp filter with SECCOMPFILTERFLAGTSYNC (e.g., via seccompattachfilter()). This will successfully set SYSCALLWORKSECCOMP on the stopped thread, but syscalltraceenter() evaluates a cached 'work' variable sampled on entry. Consequently, the subsequent check for SYSCALLWORKSECCOMP misses the newly assigned flag, and the filter is silently bypassed.

This race condition could allow an unprivileged process to execute a prohibited system call (e.g., execve) that the newly installed filter was intended to block, especially since the tracer might have modified the system call number during the ptrace stop.

Fix this by re-reading the syscallwork flags after ptrace handling, so that any new SYSCALLWORKSECCOMP flag set by another thread via TSYNC during the ptrace stop is observed before the subsequent seccomp check.

Affected Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch entry: Fix seccomp bypass after ptrace with TSYNC
  2. Compensating control

    For systems where this issue is present, avoid using SECCOMP_FILTER_FLAG_TSYNC with seccomp filters (it can allow a TSYNC race with ptrace stop to bypass the intended blocking of prohibited system calls such as execve).

Event History

Sep 11, 2026
CVE Published
via MITRE·07:45 PM
Data Sourced
via MITRE·07:45 PM
Description

Frequently Asked Questions

1

What conditions are required for exploitation?

A thread must be stopped in syscall_trace_enter() for ptrace while another thread installs a seccomp filter using SECCOMP_FILTER_FLAG_TSYNC. The stopped thread can then miss the newly applied seccomp work flag and execute a system call the filter was meant to prohibit.

2

Who can exploit this issue?

The description states that an unprivileged process could exploit the race. Exploitation depends on coordinating ptrace handling and a thread-synchronized seccomp filter installation within the process.

3

How can I tell whether a system is exposed?

Exposure depends on whether the running Linux kernel includes the fix that re-reads syscall_work flags after ptrace handling. Systems using ptrace together with seccomp filters installed via SECCOMP_FILTER_FLAG_TSYNC are the relevant configurations to review.

4

What is the practical impact of a successful race?

A system call prohibited by a newly installed seccomp filter can be executed without the filter being applied to that call. The description specifically identifies execve as an example, particularly when a tracer changes the system call number during the ptrace stop.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203