<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/what-s-new-in-tetragon-v1-8-stateful-policies-uprobe-function-replacement-and-more--crjt15vp7" -->

---
title: What's New in Tetragon v1.8: Stateful Policies, Uprobe...
description: Tetragon v1.8 is the largest release in the project's history, built by over 50 contributors including 30 newcomers. It adds stateful policies that let one...
canonical: https://daily.dev/posts/what-s-new-in-tetragon-v1-8-stateful-policies-uprobe-function-replacement-and-more--crjt15vp7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: What's New in Tetragon v1.8: Stateful Policies, Uprobe Function Replacement, and more! | daily.dev
og:description: Tetragon v1.8 is the largest release in the project's history, built by over 50 contributors including 30 newcomers. It adds stateful policies that let one...
og:url: https://daily.dev/posts/what-s-new-in-tetragon-v1-8-stateful-policies-uprobe-function-replacement-and-more--crjt15vp7
og:image: https://api.daily.dev/og/posts/crjT15VP7.png
og:image:alt: What's New in Tetragon v1.8: Stateful Policies, Uprobe Function Replacement, and more!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# What's New in Tetragon v1.8: Stateful Policies, Uprobe Function Replacement, and more!

**[cilium](https://daily.dev/sources/cilium)** · 15 min read · 0 upvotes · 0 comments

## Summary

Tetragon v1.8 is the largest release in the project's history, built by over 50 contributors including 30 newcomers. It adds stateful policies that let one eBPF event change how later events are enforced, plus a matchCmdArgs selector for filtering on command-line arguments. Uprobe runtime function replacement lets teams redirect user-space function calls without restarting the app, and matchUserCallers filters Uprobes by call stack. Other additions include source-isolated policy domains, workload-scoped selectors, per-node policy loading, and persistent gRPC policies. In a single prefix match test, selector programs were 41 to 58% smaller and the policy loaded about 14% faster, while event processing CPU time dropped roughly 27%.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://isovalent.com/blog/post/tetragon-v1.8-release>

## Questions this post answers

### What does Tetragon's new stateful policies feature in v1.8 actually do?

Stateful policies let one event change how later events are handled, acting like a policy-wide if-else statement. A hook updates a named state variable under spec.state using the UpdateState action (Set or Delete), and any selector can then check it with matchStates using Equal or NotEqual. The state lives in the kernel and applies on the very next event, with no round trip to userspace or policy reload.

_Teams designing eBPF-based detection rules can track Tetragon releases like this on daily.dev._

### How does Tetragon's matchUserCallers selector filter Uprobes by call stack?

The matchUserCallers selector in Tetragon v1.8 makes a Uprobe trigger only when a specified function appears among its callers, instead of firing on every call. It can match a function directly or search further back through the call chain, checking a specific stack position or the 15 most recent frames. The application and libraries involved must be compiled with frame pointers for Tetragon to trace the call origin.

_Engineers cutting noise from shared-function instrumentation can follow eBPF tooling updates like this on daily.dev._

### What are the requirements for Tetragon's uprobe runtime function replacement feature?

Shared-library replacement via sopath is experimental and requires Linux 6.18 or later plus an application dynamically linked against glibc 2.34 or later. The replacement function must have exactly the same signature as the original, since Tetragon cannot verify compatibility and a mismatch can crash the process. This extends the existing Override action, which previously could only change a function's return value.

_Teams patching live services without restarts can keep tabs on eBPF features like this via daily.dev._

## Similar posts on daily.dev

- [Tetragon 1.7: Precision filtering, richer context, and better performance](https://daily.dev/posts/tetragon-1-7-precision-filtering-richer-context-and-better-performance-qeeouvzsb) · Isovalent · 7 upvotes · 0 comments
- [Tetragon: An End-of-Year 2025 Reflection](https://daily.dev/posts/tetragon-an-end-of-year-2025-reflection-lwlnlnbli) · cilium · 1 upvotes · 0 comments
- [How eBPF Empowers Developers to Observe Inside the Linux Kernel in a Safe and Unintrusive Way](https://daily.dev/posts/how-ebpf-empowers-developers-to-observe-inside-the-linux-kernel-in-a-safe-and-unintrusive-way-jhmpnwjer) · InfoQ · 0 upvotes · 0 comments
- [Kubernetes Runtime Security : The Guide](https://daily.dev/posts/kubernetes-runtime-security-the-guide-frxt8zpgj) · cilium · 8 upvotes · 0 comments
- [Splunk and Isovalent Runtime Security: Protecting the Platform Behind Splunk](https://daily.dev/posts/splunk-and-isovalent-runtime-security-protecting-the-platform-behind-splunk-sufclji47) · Isovalent · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#linux](https://daily.dev/tags/linux), [#kubernetes](https://daily.dev/tags/kubernetes), [#cilium](https://daily.dev/tags/cilium)

[View this post on daily.dev](https://daily.dev/posts/what-s-new-in-tetragon-v1-8-stateful-policies-uprobe-function-replacement-and-more--crjt15vp7)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"What's New in Tetragon v1.8: Stateful Policies, Uprobe Function Replacement, and more!","url":"https://daily.dev/posts/what-s-new-in-tetragon-v1-8-stateful-policies-uprobe-function-replacement-and-more--crjt15vp7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/what-s-new-in-tetragon-v1-8-stateful-policies-uprobe-function-replacement-and-more--crjt15vp7"},"datePublished":"2026-11-18T23:13:59.612Z","dateModified":"2026-11-18T23:21:04.319Z","description":"Tetragon v1.8 is the largest release in the project's history, built by over 50 contributors including 30 newcomers. It adds stateful policies that let one...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cc267d377cab29ab08972a8caa57c5b6?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cc267d377cab29ab08972a8caa57c5b6?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"cilium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"cilium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/95777db1b3254a14a54686a789654d5a","url":"https://daily.dev/sources/cilium"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/what-s-new-in-tetragon-v1-8-stateful-policies-uprobe-function-replacement-and-more--crjt15vp7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,linux,kubernetes,cilium","timeRequired":"PT15M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"cilium","item":"https://daily.dev/sources/cilium"},{"@type":"ListItem","position":3,"name":"What's New in Tetragon v1.8: Stateful Policies, Uprobe Function Replacement, and more!"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/what-s-new-in-tetragon-v1-8-stateful-policies-uprobe-function-replacement-and-more--crjt15vp7#faq","mainEntity":[{"@type":"Question","name":"What does Tetragon's new stateful policies feature in v1.8 actually do?","acceptedAnswer":{"@type":"Answer","text":"Stateful policies let one event change how later events are handled, acting like a policy-wide if-else statement. A hook updates a named state variable under spec.state using the UpdateState action (Set or Delete), and any selector can then check it with matchStates using Equal or NotEqual. The state lives in the kernel and applies on the very next event, with no round trip to userspace or policy reload. Teams designing eBPF-based detection rules can track Tetragon releases like this on daily.dev."}},{"@type":"Question","name":"How does Tetragon's matchUserCallers selector filter Uprobes by call stack?","acceptedAnswer":{"@type":"Answer","text":"The matchUserCallers selector in Tetragon v1.8 makes a Uprobe trigger only when a specified function appears among its callers, instead of firing on every call. It can match a function directly or search further back through the call chain, checking a specific stack position or the 15 most recent frames. The application and libraries involved must be compiled with frame pointers for Tetragon to trace the call origin. Engineers cutting noise from shared-function instrumentation can follow eBPF tooling updates like this on daily.dev."}},{"@type":"Question","name":"What are the requirements for Tetragon's uprobe runtime function replacement feature?","acceptedAnswer":{"@type":"Answer","text":"Shared-library replacement via sopath is experimental and requires Linux 6.18 or later plus an application dynamically linked against glibc 2.34 or later. The replacement function must have exactly the same signature as the original, since Tetragon cannot verify compatibility and a mismatch can crash the process. This extends the existing Override action, which previously could only change a function's return value. Teams patching live services without restarts can keep tabs on eBPF features like this via daily.dev."}}]}
```

