<?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:30:09 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99917 — mm/swap: fix swap_cache_get_folio() returning a folio that left the swap cache</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99917</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_cache_get_folio() returning a folio that left the swap cache&lt;/p&gt;
&lt;p&gt;swap_cache_get_folio() reads the folio from the swap table and takes a
reference with folio_try_get(), without any lock.  If the folio is removed
from the swap cache and freed in between, and its memory gets reused,
folio_try_get() still succeeds and we return a page that has nothing to do
with the swap entry:&lt;/p&gt;
&lt;p&gt;CPU 0                                  CPU 1
  do_swap_page()
    swap_cache_get_folio()
      swp_tb = swap_table_get()
      folio = swp_tb_to_folio(swp_tb)
                                         madvise(MADV_DONTNEED)
                                           zap_nonpresent_ptes()
                                             swap_put_entries_direct()
                                               swap_put_entries_cluster()
                                                 __try_to_reclaim_swap()
                                                   swap_cache_del_folio()
                                                   folio_put()   &amp;lt;- freed
                                         page reused, e.g. as an anon
                                         folio of another task
      folio_try_get(folio)               &amp;lt;- succeeds
      return folio
    swap_update_readahead()              &amp;lt;- may clear PG_readahead on it
    folio_lock_or_retry()                &amp;lt;- locks it
    folio_matches_swap_entry() fails, unlock and p…&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_cache_get_folio() returning a folio that left the swap cache&lt;/p&gt;
&lt;p&gt;swap_cache_get_folio() reads the folio from the swap table and takes a
reference with folio_try_get(), without any lock.  If the folio is removed
from the swap cache and freed in between, and its memory gets reused,
folio_try_get() still succeeds and we return a page that has nothing to do
with the swap entry:&lt;/p&gt;
&lt;p&gt;CPU 0                                  CPU 1
  do_swap_page()
    swap_cache_get_folio()
      swp_tb = swap_table_get()
      folio = swp_tb_to_folio(swp_tb)
                                         madvise(MADV_DONTNEED)
                                           zap_nonpresent_ptes()
                                             swap_put_entries_direct()
                                               swap_put_entries_cluster()
                                                 __try_to_reclaim_swap()
                                                   swap_cache_del_folio()
                                                   folio_put()   &amp;lt;- freed
                                         page reused, e.g. as an anon
                                         folio of another task
      folio_try_get(folio)               &amp;lt;- succeeds
      return folio
    swap_update_readahead()              &amp;lt;- may clear PG_readahead on it
    folio_lock_or_retry()                &amp;lt;- locks it
    folio_matches_swap_entry() fails, unlock and p…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99917</guid>
    </item>
  </channel>
</rss>
