{"id":41195,"date":"2026-10-19T00:32:33","date_gmt":"2026-10-18T16:32:33","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98723"},"modified":"2026-10-19T00:32:33","modified_gmt":"2026-10-18T16:32:33","slug":"cve-2026-98723","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98723","title":{"rendered":"CVE-2026-98723 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: copy the hosti"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>nvmet: copy the hostid into the ctrl before creating PR pc_refs<\/p>\n<p>Commit 6202783184bf (&#8220;nvmet: Improve nvmet_alloc_ctrl() interface and<br \/>\nimplementation&#8221;) added a second uuid_copy() of args-&gt;hostid near the end<br \/>\nof nvmet_alloc_ctrl(), and commit 7b658153f1b8 (&#8220;nvmet: Remove duplicate<br \/>\nuuid_copy&#8221;) removed the original copy that sat before<br \/>\nnvmet_ctrl_init_pr() instead of the new one.<\/p>\n<p>Since then nvmet_ctrl_init_pr() snapshots ctrl-&gt;hostid into the<br \/>\nper-controller per-namespace reservation refs while the uuid_copy()<br \/>\nfrom the connect data runs later, after the controller is published.<br \/>\nThe ctrl is allocated with kzalloc(), so every pc_ref created on this<br \/>\npath stores the nil UUID.<\/p>\n<p>pc_ref-&gt;hostid has a single consumer: nvmet_pr_set_ctrl_to_abort()<br \/>\nmatches it against the preempted registrant&#8217;s hostid to kill and drain<br \/>\nthe victim&#8217;s in-flight I\/O for Preempt and Abort.  The match can never<br \/>\nhit with the nil UUID, so whenever a namespace with reservations<br \/>\nenabled exists before a host connects, which includes every reconnect,<br \/>\nPreempt and Abort silently degrades into a plain Preempt: the<br \/>\npreempting host sees success while the victim&#8217;s in-flight I\/O is still<br \/>\nin the air.<\/p>\n<p>Copy the hostid where the rest of the connect data is consumed, before<br \/>\nthe controller is published and before nvmet_ctrl_init_pr() takes its<br \/>\nsnapshot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>nvmet: copy the hostid into the ctrl before creating PR pc_refs<\/p>\n<p>Commit 6202783184bf (&#8220;nvmet: Improve nvmet_alloc_ctrl() interface <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41195","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41195","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=41195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}