CVE-2026-68174
tracing: Fix union collision of module and refcnt for dynamic events
Reported by linux · Published August 10, 2026
In the Linux kernel, the following vulnerability has been resolved: tracing: Fix union collision of module and refcnt for dynamic events In 'struct trace_event_call', the 'module' pointer and the 'refcnt' atomic variable share the same memory space in a union. For dynamic events, the union member is 'refcnt', which acts as an active reference counter. When a dynamic event (such as kprobe, uprobe, fprobe, eprobe, or wprobe) has a non-zero reference count (e.g. due to active event triggers or perf attachments), its 'call->module' evaluates to a small non-zero integer instead of NULL. When filtering or setting events for a specific module (e.g., writing ':mod:<module>' to 'set_event'), the code in '__ftrace_set_clr_event_nolock()' and 'update_event_fields()' reads 'call->module' directly without checking whether the event is dynamic. This causes the kernel to treat the small integer (refcnt) as a 'struct module' pointer, leading to a NULL/invalid pointer dereference (Oops) when dereferencing the module name. Fix this by ensuring that the 'TRACE_EVENT_FL_DYNAMIC' flag is checked before treating 'call->module' as a valid pointer in these code paths.
EPSS 0.20% · 10.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| microvm-kernel6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| Linux | Linux | b4eb07bde606c2096b24252be589e735eff6d413, 6.14, 43a23dfe0024afd3d2b0232e987d0292919a9b24 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4c86bc531e60900053384867c082675bba82c29f, 4c86bc531e60900053384867c082675bba82c29f, 4c86bc531e60900053384867c082675bba82c29f |
| Linux | Linux | 6.14, 0, 6.18.42 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| Linux | Linux | 7.2, 4c86bc531e60900053384867c082675bba82c29f, 4c86bc531e60900053384867c082675bba82c29f |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| linux | linux_kernel | 6.14, 6.14, 6.14 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.44-99.149 | 0 |
Timeline
- Aug 10, 2026 CVE Published
- Aug 11, 2026 Coalition ESS Score
- Aug 16, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (14 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68174
vulnetix vdb fixes CVE-2026-68174
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68174/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart