<?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>Mon, 28 Sep 2026 22:57:02 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-40270 — mm, swap: fix potential UAF issue for VMA readahead</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-40270</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 potential UAF issue for VMA readahead&lt;/p&gt;
&lt;p&gt;Since commit 78524b05f1a3 (&amp;#34;mm, swap: avoid redundant swap device
pinning&amp;#34;), the common helper for allocating and preparing a folio in the
swap cache layer no longer tries to get a swap device reference
internally, because all callers of __read_swap_cache_async are already
holding a swap entry reference.  The repeated swap device pinning isn&amp;#39;t
needed on the same swap device.&lt;/p&gt;
&lt;p&gt;Caller of VMA readahead is also holding a reference to the target entry&amp;#39;s
swap device, but VMA readahead walks the page table, so it might encounter
swap entries from other devices, and call __read_swap_cache_async on
another device without holding a reference to it.&lt;/p&gt;
&lt;p&gt;So it is possible to cause a UAF when swapoff of device A raced with
swapin on device B, and VMA readahead tries to read swap entries from
device A.  It&amp;#39;s not easy to trigger, but in theory, it could cause real
issues.&lt;/p&gt;
&lt;p&gt;Make VMA readahead try to get the device reference first if the swap
device is a different one from the target entry.&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 potential UAF issue for VMA readahead&lt;/p&gt;
&lt;p&gt;Since commit 78524b05f1a3 (&amp;#34;mm, swap: avoid redundant swap device
pinning&amp;#34;), the common helper for allocating and preparing a folio in the
swap cache layer no longer tries to get a swap device reference
internally, because all callers of __read_swap_cache_async are already
holding a swap entry reference.  The repeated swap device pinning isn&amp;#39;t
needed on the same swap device.&lt;/p&gt;
&lt;p&gt;Caller of VMA readahead is also holding a reference to the target entry&amp;#39;s
swap device, but VMA readahead walks the page table, so it might encounter
swap entries from other devices, and call __read_swap_cache_async on
another device without holding a reference to it.&lt;/p&gt;
&lt;p&gt;So it is possible to cause a UAF when swapoff of device A raced with
swapin on device B, and VMA readahead tries to read swap entries from
device A.  It&amp;#39;s not easy to trigger, but in theory, it could cause real
issues.&lt;/p&gt;
&lt;p&gt;Make VMA readahead try to get the device reference first if the swap
device is a different one from the target entry.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-40270</guid>
    </item>
  </channel>
</rss>
