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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-09-25T10:24:15.085Z
- **Modified:** 2026-11-18T12:56:20.727Z

## Who should check

- Anyone running Linux \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 6d6118c17bc791594cbfd9cc4936ee21073b894a; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< a2510fcaad92b09b34574c97e8356234c6a84a9a; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 9379e193826f23876daccb3351fab89c87084ba3; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 68ae584169c7a41fc9bc4677c1d368983cf44b21; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 411c9080a776577664531b4f7d3ee53b7a747ba8; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 178ff2e011e21fbebdf57f5d58a408fe59136d82; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 86b7a239ec6b14a7544200ede85474c6f5526049
- Anyone running Linux 5.4

## 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.

## Affected and fixed versions

- Linux: \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 6d6118c17bc791594cbfd9cc4936ee21073b894a; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< a2510fcaad92b09b34574c97e8356234c6a84a9a; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 9379e193826f23876daccb3351fab89c87084ba3; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 68ae584169c7a41fc9bc4677c1d368983cf44b21; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 411c9080a776577664531b4f7d3ee53b7a747ba8; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 178ff2e011e21fbebdf57f5d58a408fe59136d82; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 86b7a239ec6b14a7544200ede85474c6f5526049 (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- Upgrade Linux to 86b7a239ec6b14a7544200ede85474c6f5526049 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98076. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98076.md
Affected: Linux >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 6d6118c17bc791594cbfd9cc4936ee21073b894a; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < a2510fcaad92b09b34574c97e8356234c6a84a9a; >= ca89bc071d5e4e981dcc52e…
Fixed in: Linux 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494, Linux 6d6118c17bc791594cbfd9cc4936ee21073b894a, Linux 9379e193826f23876daccb3351fab89c87084ba3, Linux 68ae584169c7a41fc9bc4677c1d368983cf44b21, Linux 411c9080a776577664531b4f7d3ee53b7a747ba8, Linux 178ff2e011e21fbebdf57f5d58a408fe59136d82, Linux 86b7a…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98076 being exploited?

There is no confirmed exploitation: CVE-2026-98076 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98076?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98076?

Linux \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 6d6118c17bc791594cbfd9cc4936ee21073b894a; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< a2510fcaad92b09b34574c97e8356234c6a84a9a; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 9379e193826f23876daccb3351fab89c87084ba3; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 68ae584169c7a41fc9bc4677c1d368983cf44b21; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 411c9080a776577664531b4f7d3ee53b7a747ba8; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 178ff2e011e21fbebdf57f5d58a408fe59136d82; \>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, \< 86b7a239ec6b14a7544200ede85474c6f5526049; Linux 5.4.

### Is there a fix for CVE-2026-98076?

Yes. Fixed in Linux 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494, Linux 6d6118c17bc791594cbfd9cc4936ee21073b894a, Linux 9379e193826f23876daccb3351fab89c87084ba3, Linux 68ae584169c7a41fc9bc4677c1d368983cf44b21, Linux 411c9080a776577664531b4f7d3ee53b7a747ba8, Linux 178ff2e011e21fbebdf57f5d58a408fe59136d82, Linux 86b7a239ec6b14a7544200ede85474c6f5526049. Upgrade Linux to 86b7a239ec6b14a7544200ede85474c6f5526049 or later.

### How do I check if I'm affected by CVE-2026-98076?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/38305e1b8b1ec27eef8f2d4e461e3b6c8624d494>
- patch: <https://git.kernel.org/stable/c/6d6118c17bc791594cbfd9cc4936ee21073b894a>
- patch: <https://git.kernel.org/stable/c/a2510fcaad92b09b34574c97e8356234c6a84a9a>
- patch: <https://git.kernel.org/stable/c/9379e193826f23876daccb3351fab89c87084ba3>
- patch: <https://git.kernel.org/stable/c/68ae584169c7a41fc9bc4677c1d368983cf44b21>
- patch: <https://git.kernel.org/stable/c/411c9080a776577664531b4f7d3ee53b7a747ba8>
- patch: <https://git.kernel.org/stable/c/178ff2e011e21fbebdf57f5d58a408fe59136d82>
- patch: <https://git.kernel.org/stable/c/86b7a239ec6b14a7544200ede85474c6f5526049>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98076>

HTML: <https://flawdb.com/CVE-2026-98076> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98076>
