CVE-2026-98076
Awaiting Analysis Awaiting Analysis - Queue

Use-After-Free in Linux Kernel Tracing Probes

Vulnerability report for CVE-2026-98076, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-10-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: tracing/probes: Fix use-after-free on field name/type of events with multiple probes The fields of a probe-based dynamic event (kprobe, uprobe, eprobe and fprobe events) are created in traceprobe_define_arg_fields() by handing the probe_arg name/type strings to trace_define_field(), which only stores the pointers without copying. Those strings are owned by the trace_probe and are freed when that probe is removed. An event can have several probes attached. The field list is defined only once, by the first probe that registers the event, but it is kept alive by any surviving sibling probe. Deleting just that first probe by symbol - # primary A: fields are defined from A's args echo 'p:kprobes/ev vfs_read a1=$arg1' > kprobe_events # append B: shares A's event call echo 'p:kprobes/ev vfs_write a1=$arg1' >> kprobe_events # delete only A (matched by symbol), B survives echo '-:kprobes/ev vfs_read' >> kprobe_events frees A's args (trace_probe_cleanup() -> traceprobe_free_probe_arg()), but trace_probe_unlink() keeps the trace_probe_event because the probe list is not empty. The event call stays registered via B while its fields now reference freed memory. Any field lookup then reads it, e.g. echo 'a1 == 1' > events/kprobes/ev/filter BUG: KASAN: slab-use-after-free in strcmp+0xa7/0xb0 Call Trace: strcmp trace_find_event_field parse_pred process_preds create_filter apply_event_filter event_filter_write field->name references parg->name (kstrdup'd, freed with the probe) and, for array arguments, field->type references parg->fmt (kmalloc'd, freed with the probe) - the scalar type otherwise points at the static fmttype rodata, which is safe. Have traceprobe_define_arg_fields() duplicate the name and type strings and anchor the copies on the trace_probe_event, which embeds the event call and outlives every individual probe; trace_probe_event_free() releases them. The reproducer above triggers reliably; the field lookup and the delete both run under event_mutex, so this is a dangling reference after removal rather than a race. The issue was found by the autokbug dynamic kernel fuzzer at Tencent Yunding Lab.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-10-03
Generated
2026-10-15
AI Q&A
2026-09-25
EPSS Evaluated
2026-10-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a use-after-free issue in tracing/probes. When multiple probes are attached to an event, the field names and types are stored as pointers without copying. If the first probe is deleted while others remain, the fields reference freed memory, leading to potential crashes or memory corruption when those fields are accessed later.

Detection Guidance

This vulnerability can be detected by checking for use-after-free errors in the Linux kernel's tracing subsystem. Look for KASAN reports or kernel oops messages indicating slab-use-after-free in strcmp or related functions. Monitor kprobe_events and trace events for unexpected behavior after probe deletions.

Impact Analysis

This vulnerability could allow an attacker with local access to cause a system crash or execute arbitrary code by triggering a use-after-free condition through carefully crafted probe operations. It may also lead to denial-of-service attacks on affected systems.

Compliance Impact

This vulnerability involves a use-after-free flaw in the Linux kernel's tracing subsystem that could lead to memory corruption and potential crashes. While it does not directly impact data protection or privacy controls required by standards like GDPR or HIPAA, such kernel vulnerabilities could indirectly affect compliance by compromising system stability and security, potentially leading to unauthorized access or data breaches if exploited.

Mitigation Strategies

Apply the latest Linux kernel patches that fix this issue. Avoid creating multiple probes on the same event with different arguments. If you must use multiple probes, ensure all probes are removed together to prevent dangling field references.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-98076. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart