<?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://cve.radiocsirt.org</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, 09 Oct 2026 13:00:39 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98226 — mm, swap: fix SWAP_USAGE_OFFLIST_BIT collision with real usage count</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-98226</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;mm, swap: fix SWAP_USAGE_OFFLIST_BIT collision with real usage count&lt;/p&gt;
&lt;p&gt;SWAP_USAGE_OFFLIST_BIT is embedded in the si-&amp;gt;inuse_pages usage counter,
and is meant to sit above any value that counter can reach.  However, it
is defined from BITS_PER_TYPE(atomic_t), so it is bit 30.  On a system
with 4 KiB pages the flag collides with the usage count once that count
reaches 4 TiB.&lt;/p&gt;
&lt;p&gt;swap_usage_in_pages() masks bit 30 out, so whenever the real count has
that bit set, every caller of it reads 4 TiB low:&lt;/p&gt;
&lt;p&gt;* /proc/swaps understates Used by 4 TiB.&lt;/p&gt;
&lt;p&gt;* A raw count of exactly 2^30 masks to zero, so try_to_unuse() takes its
  &amp;#34;if (!swap_usage_in_pages(si)) goto success;&amp;#34; early exit and swapoff
  tears the device down while pages are still swapped out. Nothing in
  the rest of swapoff aborts the teardown, so those pages are lost.&lt;/p&gt;
&lt;p&gt;Independently of swapoff, the collision also corrupts the counter and the
plist.  On a device in normal use, a free that leaves bit 30 set in the
count makes swap_usage_sub() see the flag where there is only count, and
call add_to_avail_list().  It clears the bit with
fetch_and(~SWAP_USAGE_OFFLIST_BIT), leaving the stored count 4 TiB below
the real one, and calls plist_add() on a device that is already listed,
tripping the WARN_ON(!plist_node_empty(node)) in plist_add() and linking
the node a second time.&lt;/p&gt;
&lt;p&gt;Change the definition of SWAP_USAGE_OFFLIST_BIT to be based on
atomic_long_t instead.  Note that…&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;mm, swap: fix SWAP_USAGE_OFFLIST_BIT collision with real usage count&lt;/p&gt;
&lt;p&gt;SWAP_USAGE_OFFLIST_BIT is embedded in the si-&amp;gt;inuse_pages usage counter,
and is meant to sit above any value that counter can reach.  However, it
is defined from BITS_PER_TYPE(atomic_t), so it is bit 30.  On a system
with 4 KiB pages the flag collides with the usage count once that count
reaches 4 TiB.&lt;/p&gt;
&lt;p&gt;swap_usage_in_pages() masks bit 30 out, so whenever the real count has
that bit set, every caller of it reads 4 TiB low:&lt;/p&gt;
&lt;p&gt;* /proc/swaps understates Used by 4 TiB.&lt;/p&gt;
&lt;p&gt;* A raw count of exactly 2^30 masks to zero, so try_to_unuse() takes its
  &amp;#34;if (!swap_usage_in_pages(si)) goto success;&amp;#34; early exit and swapoff
  tears the device down while pages are still swapped out. Nothing in
  the rest of swapoff aborts the teardown, so those pages are lost.&lt;/p&gt;
&lt;p&gt;Independently of swapoff, the collision also corrupts the counter and the
plist.  On a device in normal use, a free that leaves bit 30 set in the
count makes swap_usage_sub() see the flag where there is only count, and
call add_to_avail_list().  It clears the bit with
fetch_and(~SWAP_USAGE_OFFLIST_BIT), leaving the stored count 4 TiB below
the real one, and calls plist_add() on a device that is already listed,
tripping the WARN_ON(!plist_node_empty(node)) in plist_add() and linking
the node a second time.&lt;/p&gt;
&lt;p&gt;Change the definition of SWAP_USAGE_OFFLIST_BIT to be based on
atomic_long_t instead.  Note that…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-98226</guid>
    </item>
  </channel>
</rss>
