{"id":28690,"date":"2026-09-25T04:31:35","date_gmt":"2026-09-24T20:31:35","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97443"},"modified":"2026-09-25T04:31:35","modified_gmt":"2026-09-24T20:31:35","slug":"cve-2026-97443","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97443","title":{"rendered":"CVE-2026-97443 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nperf\/ftrace: Fix WARN"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>perf\/ftrace: Fix WARNING in __unregister_ftrace_function<\/p>\n<p>perf_ftrace_function_unregister() unconditionally calls<br \/>\nunregister_ftrace_function() without checking whether the ftrace_ops<br \/>\nwas ever successfully registered. This triggers a WARN_ON in<br \/>\n__unregister_ftrace_function() when the ops doesn&#8217;t have<br \/>\nFTRACE_OPS_FL_ENABLED set.<\/p>\n<p>This can happen during perf_event_alloc() error cleanup when<br \/>\nperf_trace_destroy() is called via __free_event() on an event whose<br \/>\nftrace_ops registration failed or was already torn down by<br \/>\nperf_try_init_event()&#8217;s err_destroy path.<\/p>\n<p>The call path is:<br \/>\n  perf_event_alloc() error cleanup<br \/>\n    -&gt; __free_event()<br \/>\n      -&gt; event-&gt;destroy() [tp_perf_event_destroy]<br \/>\n        -&gt; perf_trace_destroy()<br \/>\n          -&gt; perf_trace_event_close()<br \/>\n            -&gt; TRACE_REG_PERF_CLOSE<br \/>\n              -&gt; perf_ftrace_function_unregister()<br \/>\n                -&gt; unregister_ftrace_function()<br \/>\n                  -&gt; __unregister_ftrace_function()<br \/>\n                    -&gt; WARN_ON(!(ops-&gt;flags &amp; FTRACE_OPS_FL_ENABLED))<\/p>\n<p>Fix this by checking FTRACE_OPS_FL_ENABLED before attempting to<br \/>\nunregister. If the ops is not enabled, just free the filter and<br \/>\nreturn success.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>perf\/ftrace: Fix WARNING in __unregister_ftrace_function<\/p>\n<p>perf_ftrace_function_unregister() unconditionally calls<br \/>\nunregister_ftrace<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-28690","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/28690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}