{"id":24690,"date":"2026-09-16T20:32:39","date_gmt":"2026-09-16T12:32:39","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90002"},"modified":"2026-09-16T20:32:39","modified_gmt":"2026-09-16T12:32:39","slug":"cve-2026-90002","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90002","title":{"rendered":"CVE-2026-90002 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nftrace: Take trace_ar"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ftrace: Take trace_array reference before accessing its ftrace_ops<\/p>\n<p>The trace instance files set_ftrace_filter and set_ftrace_notrace was<br \/>\nupdated to work with specific trace instances (trace_arrays). The issue is<br \/>\nthat when these files are opened, there is a small race window where it<br \/>\nwill use the ftrace_ops from the inode-&gt;private pointer to get a reference<br \/>\nto the trace_array and then take its reference. The problem is that the<br \/>\nftrace_ops itself could be freed. If the rmdir on the instance happens at<br \/>\nthe same time the set_ftrace_filter file is opened, the rmdir could have<br \/>\nalso freed the ftrace_ops and referencing it will cause a use-after-free<br \/>\nbug and crash the kernel.<\/p>\n<p>Instead, pass in the trace_array as the file private data (NULL for the<br \/>\ntop level instance), and then pass both the trace_array and the ftrace_ops<br \/>\nto the ftrace_regex_open() function. If the trace_array is NULL, then it<br \/>\njust uses the ftrace_ops without the need to take its reference (like<br \/>\nnormal). If the ftrace_ops is NULL, that is only the case for the top<br \/>\nlevel instance and the global_ops can be used.<\/p>\n<p>This allows the trace_array to have its reference incremented before<br \/>\ntouching the ftrace_ops that could also be freed when the instance is.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ftrace: Take trace_array reference before accessing its ftrace_ops<\/p>\n<p>The trace instance files set_ftrace_filter and set_ftrace_notra<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-24690","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/24690","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=24690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}