{"id":"CVE-2026-68174","published":"2026-08-10T11:59:44Z","modified":"2026-08-17T05:00:15Z","title":"tracing: Fix union collision of module and refcnt for dynamic events","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Fix union collision of module and refcnt for dynamic events\n\nIn 'struct trace_event_call', the 'module' pointer and the 'refcnt'\natomic variable share the same memory space in a union. For dynamic\nevents, the union member is 'refcnt', which acts as an active\nreference counter.\n\nWhen a dynamic event (such as kprobe, uprobe, fprobe, eprobe, or\nwprobe) has a non-zero reference count (e.g. due to active event\ntriggers or perf attachments), its 'call->module' evaluates to a\nsmall non-zero integer instead of NULL.\n\nWhen filtering or setting events for a specific module (e.g., writing\n':mod:<module>' to 'set_event'), the code in\n'__ftrace_set_clr_event_nolock()' and 'update_event_fields()' reads\n'call->module' directly without checking whether the event is dynamic.\nThis causes the kernel to treat the small integer (refcnt) as a\n'struct module' pointer, leading to a NULL/invalid pointer dereference\n(Oops) when dereferencing the module name.\n\nFix this by ensuring that the 'TRACE_EVENT_FL_DYNAMIC' flag is checked\nbefore treating 'call->module' as a valid pointer in these code paths.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00203,"percentile":0.1037,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b6a4575f22925da7e6aa00171e9fc0e5029c0bc9","tags":[]},{"url":"https://git.kernel.org/stable/c/43a23dfe0024afd3d2b0232e987d0292919a9b24","tags":[]},{"url":"https://git.kernel.org/stable/c/b4eb07bde606c2096b24252be589e735eff6d413","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.07}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4c86bc531e60900053384867c082675bba82c29f, < b6a4575f22925da7e6aa00171e9fc0e5029c0bc9",">= 4c86bc531e60900053384867c082675bba82c29f, < 43a23dfe0024afd3d2b0232e987d0292919a9b24",">= 4c86bc531e60900053384867c082675bba82c29f, < b4eb07bde606c2096b24252be589e735eff6d413"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2026-55275","exploited":false,"provenance":"source"}}