CVE-2026-98076Linux Kernel use-after-free
CVSS score
7.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
0.16%
0.16% chance of exploitation in the next 30 days, higher than 5.57% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
How to fix it, step by step
Check whether you're affected
Find every system running Linux Kernel, Linux and compare its version with the affected versions.
Update to a fixed version
- Update Linux Kernel to 5.10.271, 5.15.222, 6.1.189, 6.6.158 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
- git.kernel.org/stable/c/178ff2e011e21fbebdf57f5d58a408fe59136d82
- git.kernel.org/stable/c/38305e1b8b1ec27eef8f2d4e461e3b6c8624d494
- git.kernel.org/stable/c/411c9080a776577664531b4f7d3ee53b7a747ba8
- git.kernel.org/stable/c/68ae584169c7a41fc9bc4677c1d368983cf44b21
- git.kernel.org/stable/c/6d6118c17bc791594cbfd9cc4936ee21073b894a
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Linux Linux Kernel | ≥ 5.4, < 5.10.271 · ≥ 5.11, < 5.15.222 · ≥ 5.16, < 6.1.189 · ≥ 6.2, < 6.6.158 · ≥ 6.7, < 6.12.111 · ≥ 6.13, < 6.18.53 |
| Linux Linux | ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494 · ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 6d6118c17bc791594cbfd9cc4936ee21073b894a · ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < a2510fcaad92b09b34574c97e8356234c6a84a9a · ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 9379e193826f23876daccb3351fab89c87084ba3 · ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 68ae584169c7a41fc9bc4677c1d368983cf44b21 · ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 411c9080a776577664531b4f7d3ee53b7a747ba8 |
Weakness
- CWE-416 use-after-free
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-98076 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-98076?
CVE-2026-98076 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Linux Linux Kernel (≥ 5.4, < 5.10.271; ≥ 5.11, < 5.15.222; ≥ 5.16, < 6.1.189; ≥ 6.2, < 6.6.158; ≥ 6.7, < 6.12.111; ≥ 6.13, < 6.18.53), Linux Linux (≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 38305e1b8b1ec27eef8f2d4e461e3b6c8624d494; ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 6d6118c17bc791594cbfd9cc4936ee21073b894a; ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < a2510fcaad92b09b34574c97e8356234c6a84a9a; ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 9379e193826f23876daccb3351fab89c87084ba3; ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 68ae584169c7a41fc9bc4677c1d368983cf44b21; ≥ ca89bc071d5e4e981dcc52e0ca90f4500d332e42, < 411c9080a776577664531b4f7d3ee53b7a747ba8)
Is there a patch for CVE-2026-98076?
The official record links to vendor advisories or patches; see “What to do” above.
References
- git.kernel.org/stable/c/178ff2e011e21fbebdf57f5d58a408fe59136d82(Patch)
- git.kernel.org/stable/c/38305e1b8b1ec27eef8f2d4e461e3b6c8624d494(Patch)
- git.kernel.org/stable/c/411c9080a776577664531b4f7d3ee53b7a747ba8(Patch)
- git.kernel.org/stable/c/68ae584169c7a41fc9bc4677c1d368983cf44b21(Patch)
- git.kernel.org/stable/c/6d6118c17bc791594cbfd9cc4936ee21073b894a(Patch)
- git.kernel.org/stable/c/86b7a239ec6b14a7544200ede85474c6f5526049(Patch)
- git.kernel.org/stable/c/9379e193826f23876daccb3351fab89c87084ba3(Patch)
- git.kernel.org/stable/c/a2510fcaad92b09b34574c97e8356234c6a84a9a(Patch)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.