<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 03 Oct 2026 05:58:03 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-68807 — block: fix race between wbt_enable_default and IO submission</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-68807</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;block: fix race between wbt_enable_default and IO submission&lt;/p&gt;
&lt;p&gt;When wbt_enable_default() is moved out of queue freezing in elevator_change(),
it can cause the wbt inflight counter to become negative (-1), leading to hung
tasks in the writeback path. Tasks get stuck in wbt_wait() because the counter
is in an inconsistent state.&lt;/p&gt;
&lt;p&gt;The issue occurs because wbt_enable_default() could race with IO submission,
allowing the counter to be decremented before proper initialization. This manifests
as:&lt;/p&gt;
&lt;p&gt;rq_wait[0]:
    inflight:             -1
    has_waiters:        True&lt;/p&gt;
&lt;p&gt;rwb_enabled() checks the state, which can be updated exactly between wbt_wait()
(rq_qos_throttle()) and wbt_track()(rq_qos_track()), then the inflight counter
will become negative.&lt;/p&gt;
&lt;p&gt;And results in hung task warnings like:
  task:kworker/u24:39 state:D stack:0 pid:14767
  Call Trace:
    rq_qos_wait+0xb4/0x150
    wbt_wait+0xa9/0x100
    __rq_qos_throttle+0x24/0x40
    blk_mq_submit_bio+0x672/0x7b0
    ...&lt;/p&gt;
&lt;p&gt;Fix this by:&lt;/p&gt;
&lt;p&gt;1. Splitting wbt_enable_default() into:
   - __wbt_enable_default(): Returns true if wbt_init() should be called
   - wbt_enable_default(): Wrapper for existing callers (no init)
   - wbt_init_enable_default(): New function that checks and inits WBT&lt;/p&gt;
&lt;p&gt;2. Using wbt_init_enable_default() in blk_register_queue() to ensure
   proper initialization during queue registration&lt;/p&gt;
&lt;p&gt;3. Move wbt_init() out of wbt_enable_default() which is only for e…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;block: fix race between wbt_enable_default and IO submission&lt;/p&gt;
&lt;p&gt;When wbt_enable_default() is moved out of queue freezing in elevator_change(),
it can cause the wbt inflight counter to become negative (-1), leading to hung
tasks in the writeback path. Tasks get stuck in wbt_wait() because the counter
is in an inconsistent state.&lt;/p&gt;
&lt;p&gt;The issue occurs because wbt_enable_default() could race with IO submission,
allowing the counter to be decremented before proper initialization. This manifests
as:&lt;/p&gt;
&lt;p&gt;rq_wait[0]:
    inflight:             -1
    has_waiters:        True&lt;/p&gt;
&lt;p&gt;rwb_enabled() checks the state, which can be updated exactly between wbt_wait()
(rq_qos_throttle()) and wbt_track()(rq_qos_track()), then the inflight counter
will become negative.&lt;/p&gt;
&lt;p&gt;And results in hung task warnings like:
  task:kworker/u24:39 state:D stack:0 pid:14767
  Call Trace:
    rq_qos_wait+0xb4/0x150
    wbt_wait+0xa9/0x100
    __rq_qos_throttle+0x24/0x40
    blk_mq_submit_bio+0x672/0x7b0
    ...&lt;/p&gt;
&lt;p&gt;Fix this by:&lt;/p&gt;
&lt;p&gt;1. Splitting wbt_enable_default() into:
   - __wbt_enable_default(): Returns true if wbt_init() should be called
   - wbt_enable_default(): Wrapper for existing callers (no init)
   - wbt_init_enable_default(): New function that checks and inits WBT&lt;/p&gt;
&lt;p&gt;2. Using wbt_init_enable_default() in blk_register_queue() to ensure
   proper initialization during queue registration&lt;/p&gt;
&lt;p&gt;3. Move wbt_init() out of wbt_enable_default() which is only for e…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-68807</guid>
    </item>
  </channel>
</rss>
