# CVE-2026-93164: uprobes/x86: Move optimized uprobe from nop5 to nop10

> 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.21% (percentile 6, 2026-11-28)
- **Published:** 2026-09-17T16:11:57.248Z
- **Modified:** 2026-10-19T10:17:06.650Z

## Who should check

- Anyone running Linux \>= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, \< 7abc9b49ad01a179e893ba137364a560e21b09f8; \>= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, \< 1b3fecd09910040668b752f3377d7218ca5c59ac; \>= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, \< 554ba38456dad8053a1a80afe6ae6da9eff745cc
- Anyone running Linux 6.18

## Description

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

uprobes/x86: Move optimized uprobe from nop5 to nop10

Andrii reported an issue with optimized uprobes \[1\] that can clobber
redzone area with call instruction storing return address on stack
where user code may keep temporary data without adjusting rsp.

Fixing this by moving the optimized uprobes on top of 10-bytes nop
instruction, so we can squeeze another instruction to escape the
redzone area before doing the call, like:

  lea -0x80(%rsp), %rsp
  call tramp

Note the lea instruction is used to adjust the rsp register without
changing the flags.

We use nop10 and following transformation to optimized instructions
above and back as suggested by Peterz \[2\].

Optimize path (int3\_update\_optimize):

  1) Initial state after set\_swbp() installed the uprobe:
      cc 2e 0f 1f 84 00 00 00 00 00

     From offset 0 this is INT3 followed by the tail of the original
     10-byte NOP.

     After a previous unoptimization bytes 5..9 may still contain the
     old call instruction, which remains valid for threads already there.

  2) Rewrite the LEA tail and call displacement:
      cc \[8d 64 24 80 e8 d0 d1 d2 d3\]

     From offset 0 this traps on the uprobe INT3.  Bytes 1..9 are not
     executable entry points while byte 0 is trapped.

  3) Publish the first LEA byte:
      \[48\] 8d 64 24 80 e8 d0 d1 d2 d3

     From offset 0 this is:
        lea -0x80(%rsp), %rsp
        call \<uprobe-trampoline\>

Unoptimize path (int3\_update\_unoptimize):

  1) Initial optimized state:
      48 8d 64 24 80 e8 d0 d1 d2 d3
     Same as 3) above.

  2) Trap new entries before restoring the NOP bytes:
      \[cc\] 8d 64 24 80 e8 d0 d1 d2 d3

     From offset 0 this traps. A thread that had already executed the
     LEA can still reach the intact CALL at offset 5.

  3) Restore bytes 1..4 of the original NOP while keeping byte 0 trapped
     and byte 5 as CALL.
      cc \[2e 0f 1f 84\] e8 d0 d1 d2 d3

     From offset 0 this still traps. Offset 5 is still the CALL for any
     thread that was already past the first LEA byte.

  4) Publish the first byte of the original NOP:
      \[66\] 2e 0f 1f 84 e8 d0 d1 d2 d3

     From offset 0 this is the restored 10-byte NOP; the CALL opcode and
     displacement are now only NOP operands.  Offset 5 still decodes as
     CALL for a thread that was already there.

     Tthere is only a single target uprobe-trampoline for the given nop10
     instruction address, so the CALL instruction will not be changed across
     unoptimization/optimization cycles.
     Therefore, any task that is preempted at the CALL instruction is guaranteed
     to observe that CALL and not anything else.

Note as explained in \[2\] we need to use following nop10:
       PF1   PF2   ESC   NOPL  MOD   SIB   DISP32
NOP10: 0x66, 0x2e, 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00 -- cs nopw 0x00000000(%rax,%rax,1)

which means we need to allow 0x2e prefix which maps to INAT\_PFX\_CS
attribute in is\_prefix\_bad function.

Also changing the uprobe syscall error when called out of uprobe
trampoline to -EPROTO, so we are able to detect the fixed kernel.

The optimized uprobe performance stays the same:

        uprobe-nop     :    3.129 ± 0.013M/s
        uprobe-push    :    3.045 ± 0.006M/s
        uprobe-ret     :    1.095 ± 0.004M/s
  --\>   uprobe-nop10   :    7.170 ± 0.020M/s
        uretprobe-nop  :    2.143 ± 0.021M/s
        uretprobe-push :    2.090 ± 0.000M/s
        uretprobe-ret  :    0.942 ± 0.000M/s
  --\>   uretprobe-nop10:    3.381 ± 0.003M/s
        usdt-nop       :    3.245 ± 0.004M/s
  --\>   usdt-nop10     :    7.256 ± 0.023M/s

\[1\] https://lore.kernel.org/bpf/20260509003146.976844-1-andrii@kernel.org/
\[2\] https://lore.kernel.org/bpf/20260518104306.GU3102624@noisy.programming.kicks-ass.net/\#t

## Affected and fixed versions

- Linux: \>= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, \< 7abc9b49ad01a179e893ba137364a560e21b09f8; \>= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, \< 1b3fecd09910040668b752f3377d7218ca5c59ac; \>= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, \< 554ba38456dad8053a1a80afe6ae6da9eff745cc (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 554ba38456dad8053a1a80afe6ae6da9eff745cc 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-93164. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93164.md
Affected: Linux >= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, < 7abc9b49ad01a179e893ba137364a560e21b09f8; >= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, < 1b3fecd09910040668b752f3377d7218ca5c59ac; >= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, < 554ba38456dad8053a1a80afe6ae6da9eff745cc; Linux 6.18
Fixed in: Linux 7abc9b49ad01a179e893ba137364a560e21b09f8, Linux 1b3fecd09910040668b752f3377d7218ca5c59ac, Linux 554ba38456dad8053a1a80afe6ae6da9eff745cc

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-93164 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, \< 7abc9b49ad01a179e893ba137364a560e21b09f8; \>= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, \< 1b3fecd09910040668b752f3377d7218ca5c59ac; \>= ba2bfc97b4629b10bd8d02b36e04f3932a04cac4, \< 554ba38456dad8053a1a80afe6ae6da9eff745cc; Linux 6.18.

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

Yes. Fixed in Linux 7abc9b49ad01a179e893ba137364a560e21b09f8, Linux 1b3fecd09910040668b752f3377d7218ca5c59ac, Linux 554ba38456dad8053a1a80afe6ae6da9eff745cc. Upgrade Linux to 554ba38456dad8053a1a80afe6ae6da9eff745cc or later.

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

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/7abc9b49ad01a179e893ba137364a560e21b09f8>
- other: <https://git.kernel.org/stable/c/1b3fecd09910040668b752f3377d7218ca5c59ac>
- other: <https://git.kernel.org/stable/c/554ba38456dad8053a1a80afe6ae6da9eff745cc>

## 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-93164>

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