{"id":29078,"date":"2026-09-25T20:31:49","date_gmt":"2026-09-25T12:31:49","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97922"},"modified":"2026-09-25T20:31:49","modified_gmt":"2026-09-25T12:31:49","slug":"cve-2026-97922","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97922","title":{"rendered":"CVE-2026-97922 &#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 var refs regardless of how often they are referenced<\/p>\n<p>Using the same variable three or more times in one hist trigger leaks the<br \/>\nvariable reference and its strings when the trigger is removed.<\/p>\n<p>commit 656fe2ba85e8 (&#8220;tracing: Use hist trigger&#8217;s var_ref array to destroy<br \/>\nvar_refs&#8221;) made a trigger&#8217;s var_refs[] array the only owner of a var ref:<br \/>\ndestroy_hist_field() returns early for HIST_FIELD_FL_VAR_REF, so the field<br \/>\nexpressions never destroy one. One entry, freed once, no count needed.<\/p>\n<p>commit 8bcebc77e85f (&#8220;tracing: Fix histogram code when expression has same<br \/>\nvar as value&#8221;) then made repeated references share one object and added a<br \/>\ncount of them. Only the increment side exists, since those expressions<br \/>\nstill return early and never drop a reference, so __destroy_hist_field()<br \/>\nsees how many references were created rather than how many are left. It<br \/>\nfrees when the decremented count is 0 or 1, so two references work and<br \/>\nthree or more leak.<\/p>\n<p>Sharing kept one array entry per object, and create_var_ref() searches and<br \/>\nappends within a single trigger, so nothing outside it holds the object.<br \/>\nRemoving a trigger whose variables are still referenced is already refused<br \/>\nby check_var_refs() with -EBUSY. Drop the count and free unconditionally.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>tracing: Free histogram var refs regardless of how often they are referenced<\/p>\n<p>Using the same variable three or more times in one hi<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29078","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29078","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=29078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}