{"id":25594,"date":"2026-09-18T04:31:36","date_gmt":"2026-09-17T20:31:36","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90185"},"modified":"2026-09-18T04:31:36","modified_gmt":"2026-09-17T20:31:36","slug":"cve-2026-90185","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90185","title":{"rendered":"CVE-2026-90185 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnull_blk: serialize c"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>null_blk: serialize configfs attribute stores with the lock<\/p>\n<p>The NULLB_DEVICE_ATTR _store takes no lock: apply_fn attributes<br \/>\n(submit_queues, poll_queues) get dev-&gt;NAME written again after apply_fn<br \/>\nreturns, outside its lock; APPLY=NULL attributes are entirely lockless.<br \/>\nconfigfs only serializes stores per-open-file, so concurrent stores on<br \/>\nseparate fds race.<\/p>\n<p>For apply_fn attributes, once one store&#8217;s apply_fn has reconfigured the<br \/>\nhardware, a second (losing) store can still overwrite dev-&gt;NAME<br \/>\nafterwards. This leaves dev-&gt;submit_queues out of sync with the live<br \/>\nqueue count, which is later caught by the WARN_ON_ONCE() in<br \/>\nnull_map_queues().<\/p>\n<p>For !apply_fn attributes, power_store()&#8217;s null_add_dev() validates and<br \/>\nbuilds the device under &#8220;lock&#8221; but only sets CONFIGURED afterwards. A store<br \/>\nslipping in during this window can change a field mid-setup &#8212; for example,<br \/>\nzone_nr_conv can be pushed above nr_zones after it has already been<br \/>\nclamped, leading to an out-of-bounds dev-&gt;zones[] access.<\/p>\n<p>Take &#8220;lock&#8221; in the macro around the apply_fn call, the CONFIGURED test and<br \/>\nthe field write, and move it out of nullb_apply_submit_queues()\/<br \/>\nnullb_apply_poll_queues() so both paths are covered once. This serializes<br \/>\nstores with power_store&#8217;s setup and with each other.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>null_blk: serialize configfs attribute stores with the lock<\/p>\n<p>The NULLB_DEVICE_ATTR _store takes no lock: apply_fn attributes<br \/>\n(submi<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-25594","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/25594","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=25594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}