<?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://db.gcve.eu</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>Fri, 04 Dec 2026 19:51:22 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139111 — blk-iocost: publish hweights as one atomic value</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139111</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;blk-iocost: publish hweights as one atomic value&lt;/p&gt;
&lt;p&gt;current_hweight() publishes the cache generation and both weights with
separate stores.  Refreshers running on different CPUs can interleave
their stores and leave a new generation paired with weights from an older
calculation.  The compiler can also reorder the generation store before
the weight stores, so a reader that sees the new generation can accept
stale weights.&lt;/p&gt;
&lt;p&gt;A stale weight is not only a reporting artifact.  It feeds the cost
calculation and the donation logic, where an inconsistent combination can
lead to a zero divisor in transfer_surpluses().&lt;/p&gt;
&lt;p&gt;In addition, the slow path rereads iocg-&amp;gt;hweight_active/inuse after
publishing them, so the value it returns can be the one written by another
refresher instead of the locally computed one.&lt;/p&gt;
&lt;p&gt;Pack the generation and both weights into a single atomic64_t and publish
them with one atomic write.  Readers take one atomic snapshot and return
the local values.  Weights are in [1, WEIGHT_ONE]; storing each minus one
preserves the full range in 16 bits and leaves 32 bits for the generation.&lt;/p&gt;
&lt;p&gt;The two weight fields remain as the donation workspace used under
ioc-&amp;gt;lock.  Tracepoints decode the packed cache without refreshing it and
iocost_monitor.py is updated accordingly.&lt;/p&gt;
&lt;p&gt;Developed with assistance from Claude Code (Anthropic): the assistant
drafted the packed representation, the helpers and the tracepoint/monitor…&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;blk-iocost: publish hweights as one atomic value&lt;/p&gt;
&lt;p&gt;current_hweight() publishes the cache generation and both weights with
separate stores.  Refreshers running on different CPUs can interleave
their stores and leave a new generation paired with weights from an older
calculation.  The compiler can also reorder the generation store before
the weight stores, so a reader that sees the new generation can accept
stale weights.&lt;/p&gt;
&lt;p&gt;A stale weight is not only a reporting artifact.  It feeds the cost
calculation and the donation logic, where an inconsistent combination can
lead to a zero divisor in transfer_surpluses().&lt;/p&gt;
&lt;p&gt;In addition, the slow path rereads iocg-&amp;gt;hweight_active/inuse after
publishing them, so the value it returns can be the one written by another
refresher instead of the locally computed one.&lt;/p&gt;
&lt;p&gt;Pack the generation and both weights into a single atomic64_t and publish
them with one atomic write.  Readers take one atomic snapshot and return
the local values.  Weights are in [1, WEIGHT_ONE]; storing each minus one
preserves the full range in 16 bits and leaves 32 bits for the generation.&lt;/p&gt;
&lt;p&gt;The two weight fields remain as the donation workspace used under
ioc-&amp;gt;lock.  Tracepoints decode the packed cache without refreshing it and
iocost_monitor.py is updated accordingly.&lt;/p&gt;
&lt;p&gt;Developed with assistance from Claude Code (Anthropic): the assistant
drafted the packed representation, the helpers and the tracepoint/monitor…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139111</guid>
    </item>
  </channel>
</rss>
