CVE-2026-31890: Inspektor Gadget: Tracing Denial of Service via Event Flooding

Published Mar 12, 2026
·
Updated

Inspektor Gadget is a set of tools and framework for data collection and system inspection on Kubernetes clusters and Linux hosts using eBPF. Prior to 0.50.1, in a situation where the ring-buffer of a gadget is – incidentally or maliciously – already full, the gadget will silently drop events. The include/gadget/buffer.h file contains definitions for the Buffer API that gadgets can use to, among the other things, transfer data from eBPF programs to userspace. For hosts running a modern enough Linux kernel (>= 5.8), this transfer mechanism is based on ring-buffers. The size of the ring-buffer for the gadgets is hard-coded to 256KB. When a gadgetreservebuf fails because of insufficient space, the gadget silently cleans up without producing an alert. The lost count reported by the eBPF operator, when using ring-buffers – the modern choice – is hardcoded to zero. The vulnerability can be used by a malicious event source (e.g. a compromised container) to cause a Denial Of Service, forcing the system to drop events coming from other containers (or the same container). This vulnerability is fixed in 0.50.1.

Affected Software

2 affected components
InspektorGadget<0.50.1
linuxfoundation Inspektor Gadget<0.50.1

Event History

Mar 12, 2026
CVE Published
via MITRE·05:35 PM
Data Sourced
via MITRE·05:35 PM
DescriptionWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeaknessAffected Software
Jul 22, 58183
Event
via NVD·04:34 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-31890?

CVE-2026-31890 has been classified with a high severity due to the potential for denial of service via event flooding.

2

How do I fix CVE-2026-31890?

To mitigate CVE-2026-31890, upgrade Inspektor Gadget to version 0.50.1 or later.

3

What versions of Inspektor Gadget are affected by CVE-2026-31890?

Inspektor Gadget versions prior to 0.50.1 are affected by CVE-2026-31890.

4

What kind of attack does CVE-2026-31890 represent?

CVE-2026-31890 represents a denial of service attack that can occur via event flooding.

5

What is Inspektor Gadget in relation to CVE-2026-31890?

Inspektor Gadget is a set of tools and framework used for data collection and system inspection on Kubernetes clusters and Linux hosts.

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