# CVE-2026-90339: powerpc/syscall: Fix syscall skip handling for seccomp and ptrace

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:08:50.990Z
- **Modified:** 2026-10-19T09:19:27.950Z

## Who should check

- Anyone running Linux \>= bee25f97ad24641df55cb3887eb5bfcb2b9d8fbc, \< 19b54740e2e1102c7d48553d9e0347c1f6af22b0; \>= bee25f97ad24641df55cb3887eb5bfcb2b9d8fbc, \< 69cb2be898be6d5826cacd1a628f6945a24480b6
- Anyone running Linux 7.2

## Description

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

powerpc/syscall: Fix syscall skip handling for seccomp and ptrace

After enabling GENERIC\_ENTRY on PowerPC, syscall\_enter\_from\_user\_mode()
returns -1 as a sentinel to signal that seccomp or ptrace has intercepted
the syscall and already set a return value via syscall\_set\_return\_value().
system\_call\_exception() was not handling this sentinel, and since -1UL
is \>= NR\_syscalls, the code fell into the out-of-range path and returned
-ENOSYS, overwriting the errno already placed in regs-\>gpr\[3\].

The naive fix of checking r0 == -1L before the NR\_syscalls bounds check
is ambiguous: a user legitimately calling syscall(-1) also produces r0 ==
-1L, and a tracer intercepting such a call would have its injected return
value silently discarded.

Fix this by introducing a thread flag that is set whenever
syscall\_set\_return\_value() explicitly updates the return value. In
system\_call\_exception(), check and clear this flag before dispatching
the syscall, and return the preset value directly when it is present.
This ensures that an explicitly supplied return value always suppresses
syscall execution, regardless of the syscall number.

This handles all seccomp actions correctly:

  - SECCOMP\_RET\_ERRNO, SECCOMP\_RET\_TRACE (no tracer), SECCOMP\_RET\_USER\_NOTIF:
    all call syscall\_set\_return\_value(), flag is set, injected value returned.
  - SECCOMP\_RET\_TRAP, SECCOMP\_RET\_KILL: call syscall\_rollback() and deliver
    a signal; flag is not set, but the process is dying so the return value
    is irrelevant.

The fix covers both ppc32 and ppc64 with no \#ifdefs.

## Affected and fixed versions

- Linux: \>= bee25f97ad24641df55cb3887eb5bfcb2b9d8fbc, \< 19b54740e2e1102c7d48553d9e0347c1f6af22b0; \>= bee25f97ad24641df55cb3887eb5bfcb2b9d8fbc, \< 69cb2be898be6d5826cacd1a628f6945a24480b6 (cvelist)
- Linux: 7.2 (cvelist)

## Mitigation

- Upgrade Linux to 69cb2be898be6d5826cacd1a628f6945a24480b6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90339. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90339.md
Affected: Linux >= bee25f97ad24641df55cb3887eb5bfcb2b9d8fbc, < 19b54740e2e1102c7d48553d9e0347c1f6af22b0; >= bee25f97ad24641df55cb3887eb5bfcb2b9d8fbc, < 69cb2be898be6d5826cacd1a628f6945a24480b6; Linux 7.2
Fixed in: Linux 19b54740e2e1102c7d48553d9e0347c1f6af22b0, Linux 69cb2be898be6d5826cacd1a628f6945a24480b6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90339 being exploited?

There is no confirmed exploitation: CVE-2026-90339 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90339?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90339?

Linux \>= bee25f97ad24641df55cb3887eb5bfcb2b9d8fbc, \< 19b54740e2e1102c7d48553d9e0347c1f6af22b0; \>= bee25f97ad24641df55cb3887eb5bfcb2b9d8fbc, \< 69cb2be898be6d5826cacd1a628f6945a24480b6; Linux 7.2.

### Is there a fix for CVE-2026-90339?

Yes. Fixed in Linux 19b54740e2e1102c7d48553d9e0347c1f6af22b0, Linux 69cb2be898be6d5826cacd1a628f6945a24480b6. Upgrade Linux to 69cb2be898be6d5826cacd1a628f6945a24480b6 or later.

### How do I check if I'm affected by CVE-2026-90339?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/19b54740e2e1102c7d48553d9e0347c1f6af22b0>
- other: <https://git.kernel.org/stable/c/69cb2be898be6d5826cacd1a628f6945a24480b6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90339>

HTML: <https://flawdb.com/CVE-2026-90339> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90339>
