Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-98076

HIGH 7.8EPSS 4%

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

Mitigation

  • Upgrade Linux to 86b7a239ec6b14a7544200ede85474c6f5526049 or later.

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

Vulnerability facts

Affected
Linux >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 6d6118c17bc791594cbfd9cc4936ee21073b894a; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < a2510fcaad92b09b34574c97e8356234c6a84a9a; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 9379e193826f23876daccb3351fab89c87084ba3; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 68ae584169c7a41fc9bc4677c1d368983cf44b21; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 411c9080a776577664531b4f7d3ee53b7a747ba8; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 178ff2e011e21fbebdf57f5d58a408fe59136d82; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 86b7a239ec6b14a7544200ede85474c6f5526049; Linux 5.4
Fixed in
Linux 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494, Linux 6d6118c17bc791594cbfd9cc4936ee21073b894a, Linux 9379e193826f23876daccb3351fab89c87084ba3, Linux 68ae584169c7a41fc9bc4677c1d368983cf44b21, Linux 411c9080a776577664531b4f7d3ee53b7a747ba8, Linux 178ff2e011e21fbebdf57f5d58a408fe59136d82, Linux 86b7a239ec6b14a7544200ede85474c6f5526049
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
CWE
CWE-416
Published
Modified

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

Package / productAffectedFixedSource
Linux>= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 6d6118c17bc791594cbfd9cc4936ee21073b894a; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < a2510fcaad92b09b34574c97e8356234c6a84a9a; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 9379e193826f23876daccb3351fab89c87084ba3; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 68ae584169c7a41fc9bc4677c1d368983cf44b21; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 411c9080a776577664531b4f7d3ee53b7a747ba8; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 178ff2e011e21fbebdf57f5d58a408fe59136d82; >= ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 86b7a239ec6b14a7544200ede85474c6f5526049—cvelist
Linux5.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors