VDB

CVE-2026-97443

CVE-2026-97443 PUBLISHED

perf/ftrace: Fix WARNING in __unregister_ftrace_function

Reported by linux · Published September 24, 2026

In the Linux kernel, the following vulnerability has been resolved: perf/ftrace: Fix WARNING in __unregister_ftrace_function perf_ftrace_function_unregister() unconditionally calls unregister_ftrace_function() without checking whether the ftrace_ops was ever successfully registered. This triggers a WARN_ON in __unregister_ftrace_function() when the ops doesn't have FTRACE_OPS_FL_ENABLED set. This can happen during perf_event_alloc() error cleanup when perf_trace_destroy() is called via __free_event() on an event whose ftrace_ops registration failed or was already torn down by perf_try_init_event()'s err_destroy path. The call path is: perf_event_alloc() error cleanup -> __free_event() -> event->destroy() [tp_perf_event_destroy] -> perf_trace_destroy() -> perf_trace_event_close() -> TRACE_REG_PERF_CLOSE -> perf_ftrace_function_unregister() -> unregister_ftrace_function() -> __unregister_ftrace_function() -> WARN_ON(!(ops->flags & FTRACE_OPS_FL_ENABLED)) Fix this by checking FTRACE_OPS_FL_ENABLED before attempting to unregister. If the ops is not enabled, just free the filter and return success.

EPSS 0.17% · 5.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extra-commonAmazon Linux1:6.12.111-136.204.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
python3-perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel-livepatch-6.12.111-136.204Amazon Linux1:1.0-0.amzn2023
kernel-livepatch-6.18.54-121.166Amazon Linux1:1.0-0.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.111-136.204.amzn2023
bpftool6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.111-136.204.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-develAmazon Linux1:6.18.54-121.166.amzn2023
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.111-136.204.amzn2023

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.17%
5.9th percentile

Affected products

VendorProductVersions
LinuxLinux7ef5aa081f989ecfecc1df02068a80aebbd3ec31, c70ca298036c58a88686ff388d3d367e9d21acf0, c70ca298036c58a88686ff388d3d367e9d21acf0
LinuxLinux6.15, 0, 6.12.111
amazon:2023kernel6.12-modules-extra-common0
amazon:2023microvm-kernel6.180
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel6.12-tools-devel0
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-devel0
amazon:2023perf6.180
amazon:2023kernel6.12-tools0
LinuxLinux0, *, *
amazon:2023perf6.120
amazon:2023bpftool6.180
amazon:2023kernel6.120
amazon:2023kernel6.18-headers0
linuxlinux_kernel6.15, 6.13.12, 6.14.3

…and 7 more

Timeline

  • Sep 24, 2026 CVE Published
  • Sep 25, 2026 EPSS Score (6 in total, the first dated here)
  • Sep 25, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97443
vulnetix vdb fixes CVE-2026-97443

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-97443/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›