CVE-2026-97932: tracing: Don't dereference trace_event_file in deferred trigger free
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
tracing: Don't dereference trace_event_file in deferred trigger free
The enable_event trigger defers trace_event_put_ref() to the trigger free kthread, but the trace_event_file can already be freed when the instance is removed.
Keep the trace_event_call directly in enable_trigger_data so the deferred free does not access the freed trace_event_file.
The Linux kernel CVE team has assigned CVE-2026-97932 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.2 with commit e091351b38818ef620d27f44f4bfd625f13afbff and fixed in 7.2.7 with commit 67fb91a7f7bb1d958cf9cc249c912bca9b2fc821 Issue introduced in 7.2 with commit e091351b38818ef620d27f44f4bfd625f13afbff and fixed in 7.3-rc3 with commit bcfe2816e6ec46c3f4c58aa4264476665ddb3f69 Issue introduced in 7.1.6 with commit 159fdc3e01dca5fdbc412fcd8b239895733a270d
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-97932
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
kernel/trace/trace.h
kernel/trace/trace_events_trigger.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/67fb91a7f7bb1d958cf9cc249c912bca9b2fc821 https://git.kernel.org/stable/c/bcfe2816e6ec46c3f4c58aa4264476665ddb3f69