CVE-2026-68171: arm64: syscall: Ensure saved x0 is kept in-sync with tracer updates

Published Aug 10, 2026
·
Updated

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

arm64: syscall: Ensure saved x0 is kept in-sync with tracer updates

When seccomp support was originally added to arm64 in a1ae65b21941 ("arm64: add seccomp support"), seccomp was erroneously called before the ptrace syscall-enter-stop and therefore the tracer could trivially manipulate the syscall register state after the seccomp check had passed. This was subsequently fixed in a5cd110cb836 ("arm64/ptrace: run seccomp after ptrace") by moving the seccomp check after the tracer has run. Unfortunately, a decade later, that fix has been reported to be incomplete.

On arm64, both the first argument to a syscall and its eventual return value are allocated to register x0. In order to facilitate syscall restarting and querying of syscall arguments on the syscall exit path, the original value of x0 is stashed in 'struct ptregs::origx0' early during the syscall entry path and is returned for the first argument by syscallgetarguments(). Unlike 32-bit Arm, this stashed value is not directly exposed via ptrace() and so changes to register x0 made by the tracer on a syscall-enter-stop are not reflected in 'origx0'. This means that seccomp, syscall tracepoints and audit can observe a stale value for the register compared to the argument that will be observed by the actual syscall.

Re-sync 'origx0' from x0 on the syscall entry path following a potential ptrace stop (i.e. PTRACEEVENTMSGSYSCALLENTRY or SECCOMPRETTRACE). This behaviour is limited to native tasks (because compat tasks expose 'origr0' to ptrace) where the syscall is not being skipped (because x0 is updated to hold the return value of -ENOSYS in that case).

Affected Software

1 affected component
Linux Kernel

Event History

Aug 10, 2026
CVE Published
via MITRE·11:59 AM
Data Sourced
via MITRE·11:59 AM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68171?

CVE-2026-68171 has a risk score of 37, indicating a significant vulnerability in the Linux kernel.

2

How do I fix CVE-2026-68171?

To fix CVE-2026-68171, update your Linux kernel to the latest patched version that addresses this vulnerability.

3

What systems are affected by CVE-2026-68171?

CVE-2026-68171 affects systems running the Linux kernel with arm64 architecture that utilizes seccomp and ptrace.

4

What impact does CVE-2026-68171 have on system security?

CVE-2026-68171 could potentially allow attackers to bypass security mechanisms in the Linux kernel, leading to unauthorized access or control.

5

When was CVE-2026-68171 published?

CVE-2026-68171 was published on August 10, 2026.

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