Skip to main content
Network Thinking Solutions Logo

CVE-2026-98076

Linux kernel: tracing/probes: Fix use-after-free on field name/type of events with multiple probes

All CVEs
CVE-2026-98076Published 9/25/2026

Linux kernel: tracing/probes: Fix use-after-free on field name/type of events with multiple probes

Vendor advisory
CVSS7.8High

Overview

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.

Published
9/25/2026
Last modified
11/18/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.4, < 5.10.271

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.222

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.189

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.158

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.111

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.53

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 7.2.7

Verify advisory

Source
linux kernel
linux
7.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494

Verify advisory

Source
Linux
Linux
≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 6d6118c17bc791594cbfd9cc4936ee21073b894a

Verify advisory

Source
Linux
Linux
≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < a2510fcaad92b09b34574c97e8356234c6a84a9a

Verify advisory

Source
Linux
Linux
≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 9379e193826f23876daccb3351fab89c87084ba3

Verify advisory

Source
Linux
Linux
≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 68ae584169c7a41fc9bc4677c1d368983cf44b21

Verify advisory

Source
Linux
Linux
≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 411c9080a776577664531b4f7d3ee53b7a747ba8

Verify advisory

Source
Linux
Linux
≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 178ff2e011e21fbebdf57f5d58a408fe59136d82

Verify advisory

Source
Linux
Linux
≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 86b7a239ec6b14a7544200ede85474c6f5526049

Verify advisory

Source
Linux
Linux
5.4

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.