cveboard RSS feed

CVE-2026-98076

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

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

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
ca89bc071d5e4e981dcc52e0ca90f4500d332e42affectedgit38305e1b8b1ec27eef8f2d4e461e3b6c8624d494UnavailableNone listed
ca89bc071d5e4e981dcc52e0ca90f4500d332e42affectedgit6d6118c17bc791594cbfd9cc4936ee21073b894aUnavailableNone listed
ca89bc071d5e4e981dcc52e0ca90f4500d332e42affectedgita2510fcaad92b09b34574c97e8356234c6a84a9aUnavailableNone listed
ca89bc071d5e4e981dcc52e0ca90f4500d332e42affectedgit9379e193826f23876daccb3351fab89c87084ba3UnavailableNone listed
ca89bc071d5e4e981dcc52e0ca90f4500d332e42affectedgit68ae584169c7a41fc9bc4677c1d368983cf44b21UnavailableNone listed
ca89bc071d5e4e981dcc52e0ca90f4500d332e42affectedgit411c9080a776577664531b4f7d3ee53b7a747ba8UnavailableNone listed
ca89bc071d5e4e981dcc52e0ca90f4500d332e42affectedgit178ff2e011e21fbebdf57f5d58a408fe59136d82UnavailableNone listed
ca89bc071d5e4e981dcc52e0ca90f4500d332e42affectedgit86b7a239ec6b14a7544200ede85474c6f5526049UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5.4affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver5.4UnavailableNone listed
5.10.271unaffectedsemverUnavailable5.10.*None listed
5.15.222unaffectedsemverUnavailable5.15.*None listed
6.1.189unaffectedsemverUnavailable6.1.*None listed
6.6.158unaffectedsemverUnavailable6.6.*None listed
6.12.111unaffectedsemverUnavailable6.12.*None listed
6.18.53unaffectedsemverUnavailable6.18.*None listed
7.2.7unaffectedsemverUnavailable7.2.*None listed
7.3unaffectedoriginal_commit_for_fixUnavailable*None listed