{"id":29079,"date":"2026-09-25T20:31:49","date_gmt":"2026-09-25T12:31:49","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97923"},"modified":"2026-09-25T20:31:49","modified_gmt":"2026-09-25T12:31:49","slug":"cve-2026-97923","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97923","title":{"rendered":"CVE-2026-97923 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Free histogr"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>tracing: Free histogram the var ref when its initialization fails<\/p>\n<p>create_var_ref() allocates a VAR_REF hist_field and then calls<br \/>\ninit_var_ref() to fill it in. When that fails the field is leaked.<\/p>\n<p>commit 656fe2ba85e8 (&#8220;tracing: Use hist trigger&#8217;s var_ref array to destroy<br \/>\nvar_refs&#8221;) made destroy_hist_field() return early for<br \/>\nHIST_FIELD_FL_VAR_REF, since var refs are freed by walking the trigger&#8217;s<br \/>\nvar_refs[] array instead. create_var_ref() adds the field to that array<br \/>\nonly after init_var_ref() has succeeded, so on this path the field is in<br \/>\nneither place and nothing frees it. The call was correct when it was<br \/>\nwritten, before var refs were taken out of destroy_hist_field().<\/p>\n<p>init_var_ref() cannot free it either. The caller owns the field, so<br \/>\ninit_var_ref() undoes only its own string allocations and leaves the<br \/>\nfield alone. Freeing it there would leave create_var_ref() passing freed<br \/>\nmemory to destroy_hist_field(), which reads its flags.<\/p>\n<p>Call __destroy_hist_field(), which frees the field without consulting<br \/>\nthe flag.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>tracing: Free histogram the var ref when its initialization fails<\/p>\n<p>create_var_ref() allocates a VAR_REF hist_field and then calls<br \/>\ni<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29079","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29079","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=29079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}