Skip to content
OpenAdvisories
Low · 2.9 CVE-2026-44778 EUVD-2026-78938GHSA-7cfq-5mhv-jrp9GO-2026-5214

Inspektor Gadget: Unprivileged container can crash USDT note parser via crafted ELF

Published Sep 15, 2026 · Updated Sep 17, 2026 · Assigned by GitHub_M

Description

Inspektor Gadget is a set of tools and framework for data collection and system inspection on Kubernetes clusters and Linux hosts using eBPF. From 0.28.0 until 0.53.1, the USDT note parser in pkg/uprobetracer/usdt.go can allow an unprivileged container to crash or exhaust the memory of the privileged Inspektor Gadget process when a custom gadget containing a SEC("usdt/...") eBPF section attaches to a crafted ELF binary. The getUsdtInfo() function reads the .note.stapsdt section without validating that DescSize is large enough for three address fields, allowing an out-of-bounds slice operation to panic, and it uses untrusted NameSize and DescSize values for allocations that can consume gigabytes of memory. The parser also invokes debug/elf without panic recovery, allowing other malformed ELF structures to terminate the process. No gadget shipped by Inspektor Gadget uses USDT probes, so only deployments using custom USDT gadgets are affected, and the demonstrated impact is denial of service rather than code execution or privilege escalation. This issue is fixed in version 0.53.1.

Affected products

VendorProductAffectedFixed
inspektor-gadget inspektor-gadget >= 0.28.0, < 0.53.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/inspektor-gadget/inspektor-gadget >= 0.28.0, < 0.53.1 0.53.1 GHSA-7cfq-5mhv-jrp9

Advisories 1

References