{"id":"CVE-2026-97443","published":"2026-09-24T16:03:57Z","modified":"2026-09-25T12:44:20Z","title":"perf/ftrace: Fix WARNING in __unregister_ftrace_function","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/ftrace: Fix WARNING in __unregister_ftrace_function\n\nperf_ftrace_function_unregister() unconditionally calls\nunregister_ftrace_function() without checking whether the ftrace_ops\nwas ever successfully registered. This triggers a WARN_ON in\n__unregister_ftrace_function() when the ops doesn't have\nFTRACE_OPS_FL_ENABLED set.\n\nThis can happen during perf_event_alloc() error cleanup when\nperf_trace_destroy() is called via __free_event() on an event whose\nftrace_ops registration failed or was already torn down by\nperf_try_init_event()'s err_destroy path.\n\nThe call path is:\n  perf_event_alloc() error cleanup\n    -> __free_event()\n      -> event->destroy() [tp_perf_event_destroy]\n        -> perf_trace_destroy()\n          -> perf_trace_event_close()\n            -> TRACE_REG_PERF_CLOSE\n              -> perf_ftrace_function_unregister()\n                -> unregister_ftrace_function()\n                  -> __unregister_ftrace_function()\n                    -> WARN_ON(!(ops->flags & FTRACE_OPS_FL_ENABLED))\n\nFix this by checking FTRACE_OPS_FL_ENABLED before attempting to\nunregister. If the ops is not enabled, just free the filter and\nreturn success.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00166,"percentile":0.05792,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/df097713b56ffac5eed32a9be2e7d27ac48d9087","tags":[]},{"url":"https://git.kernel.org/stable/c/7f845820afaad339341c2ae42bc7fdec175df9ea","tags":[]},{"url":"https://git.kernel.org/stable/c/9581123304b23049437324038698af9fb56ee663","tags":[]}],"priority":{"score":1.2,"factors":[{"name":"EPSS percentile","points":1.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7ef5aa081f989ecfecc1df02068a80aebbd3ec31, < df097713b56ffac5eed32a9be2e7d27ac48d9087",">= c70ca298036c58a88686ff388d3d367e9d21acf0, < 7f845820afaad339341c2ae42bc7fdec175df9ea",">= c70ca298036c58a88686ff388d3d367e9d21acf0, < 9581123304b23049437324038698af9fb56ee663","315a50c6b1c6ce191f19f3372935d8e2ed9b53a6","1209b0b29fd472e7dbd2b06544b019dd9f9b7e51",">= 6.12.24, < 6.12.111",">= 6.13.12, < 6.14",">= 6.14.3, < 6.15"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"euvd":{"id":"EUVD-2026-86056","exploited":false,"provenance":"source"}}