{"id":12323,"date":"2026-09-04T18:54:16","date_gmt":"2026-09-04T10:54:16","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80661"},"modified":"2026-09-04T18:54:16","modified_gmt":"2026-09-04T10:54:16","slug":"cve-2026-80661","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80661","title":{"rendered":"CVE-2026-80661 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nufs: core: tracing: D"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ufs: core: tracing: Do not dereference pointers in TP_printk()<\/p>\n<p>The trace events in drivers\/ufs\/core\/ufs_trace.h were converted to take a<br \/>\npointer to the hba structure as an argument for the tracepoint and then in<br \/>\nTP_printk() the printing of the dev_name from the ring buffer was<br \/>\nconverted to using the dev dereferenced pointer from the hba saved<br \/>\npointer.<\/p>\n<p>This is not allowed as the TP_printk() is executed at the time the trace<br \/>\nevent is read from \/sys\/kernel\/tracing\/trace file. That can happen<br \/>\nliterally, seconds, minutes, hours, weeks, days, or even months later!<br \/>\nThere is no guarantee that the hba pointer will still exist by the time it<br \/>\nis dereferenced when the &#8220;trace&#8221; file is read.<\/p>\n<p>Instead, save the device name from the hba pointer at the time the<br \/>\ntracepoint is called and place it into the ring buffer event. Then the<br \/>\nTP_printk() can read the name directly from the ring buffer and remove the<br \/>\npossibility that it will read a freed pointer and crash the kernel.<\/p>\n<p>This was detected when testing the trace event code that looks for<br \/>\nTP_printk() parameters doing illegal derferences[1]<\/p>\n<p>[1] https:\/\/lore.kernel.org\/all\/20260630184836.74d477b6@gandalf.local.home\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ufs: core: tracing: Do not dereference pointers in TP_printk()<\/p>\n<p>The trace events in drivers\/ufs\/core\/ufs_trace.h were converted to <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-12323","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/12323","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=12323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}