{"id":41304,"date":"2026-10-19T00:33:07","date_gmt":"2026-10-18T16:33:07","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98832"},"modified":"2026-10-19T00:33:07","modified_gmt":"2026-10-18T16:33:07","slug":"cve-2026-98832","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98832","title":{"rendered":"CVE-2026-98832 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nblk-cgroup: save IRQ"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>blk-cgroup: save IRQ state in blkg_tryget_closest()<\/p>\n<p>bio_set_dev() associates the bio with a blkg through bio_associate_blkg().<br \/>\nIf the blkg lookup misses, blkg_tryget_closest() takes q-&gt;queue_lock with<br \/>\nspin_lock_irq() and releases it with spin_unlock_irq(), which<br \/>\nunconditionally enables local interrupts.<\/p>\n<p>Callers may call bio_set_dev() with interrupts already disabled, e.g.<br \/>\ndm-thin&#8217;s pool_map() does so while holding pool-&gt;lock taken with<br \/>\nspin_lock_irq().  The nested spin_unlock_irq() then enables interrupts<br \/>\nwhile pool-&gt;lock is still held, so an I\/O completion softirq can run on<br \/>\nthe same CPU, re-acquire pool-&gt;lock (thin_endio(), or overwrite_endio()<br \/>\n-&gt; complete_mapping_preparation()) and deadlock.  lockdep reports this<br \/>\nas inconsistent SOFTIRQ-ON-W to IN-SOFTIRQ-W usage.<\/p>\n<p>Commit 3a762de55b4e (&#8220;block: save irq state in blkg_lookup_create()&#8221;)<br \/>\nfixed the same problem while the lock lived in blkg_lookup_create(), but<br \/>\ncommit 9327a865e395 (&#8220;blk-cgroup: don&#8217;t nest queue_lock under rcu in<br \/>\nblkg_lookup_create()&#8221;) moved the locking into blkg_tryget_closest() and<br \/>\nreverted it to spin_lock_irq().<\/p>\n<p>Save and restore the caller&#8217;s IRQ state instead.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>blk-cgroup: save IRQ state in blkg_tryget_closest()<\/p>\n<p>bio_set_dev() associates the bio with a blkg through bio_associate_blkg().<br \/>\nIf <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41304","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41304","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=41304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}