<?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:00:56 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99922 — mm/madvise: add cond_resched() in THP branch of madvise_cold_or_pageout_pte_range()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99922</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/madvise: add cond_resched() in THP branch of madvise_cold_or_pageout_pte_range()&lt;/p&gt;
&lt;p&gt;During stress testing with stress-ng on a 256-CPU system, a softlockup was
observed when madvise(MADV_COLD) was called on a 31GB memory region backed
by transparent hugepages.  The region contains 15935 THP PMD entries, and
the softlockup was triggered after 14485 of them had been processed.&lt;/p&gt;
&lt;p&gt;The THP branch of madvise_cold_or_pageout_pte_range() has no scheduling
point.  walk_pmd_range() invokes it once per 2MB PMD entry with no
cond_resched() anywhere in the loop.  Each iteration calls
pmdp_invalidate() which issues a synchronous TLB shootdown (dsb ish)
waiting for all CPUs to acknowledge.  This operation can be time-consuming
under heavy system load, causing the accumulated time across all PMD
entries to exceed the softlockup threshold (20s) and panic when
softlockup_panic=1.  On a CONFIG_PREEMPT_NONE=y kernel, there is no other
opportunity to reschedule during this entire traversal.&lt;/p&gt;
&lt;p&gt;The regular PTE path already has an unconditional cond_resched() at the
function tail (introduced by commit 9c276cc65a58 (&amp;#34;mm: introduce
MADV_COLD&amp;#34;) and commit 1a4e58cce84e (&amp;#34;mm: introduce MADV_PAGEOUT&amp;#34;) when
MADV_COLD and MADV_PAGEOUT were first introduced) and a conditional one
inside the loop (commit b2f557a21bc8 (&amp;#34;mm/madvise: add cond_resched() in
madvise_cold_or_pageout_pte_range()&amp;#34;)).  The THP branch never received
equivalent treatment…&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/madvise: add cond_resched() in THP branch of madvise_cold_or_pageout_pte_range()&lt;/p&gt;
&lt;p&gt;During stress testing with stress-ng on a 256-CPU system, a softlockup was
observed when madvise(MADV_COLD) was called on a 31GB memory region backed
by transparent hugepages.  The region contains 15935 THP PMD entries, and
the softlockup was triggered after 14485 of them had been processed.&lt;/p&gt;
&lt;p&gt;The THP branch of madvise_cold_or_pageout_pte_range() has no scheduling
point.  walk_pmd_range() invokes it once per 2MB PMD entry with no
cond_resched() anywhere in the loop.  Each iteration calls
pmdp_invalidate() which issues a synchronous TLB shootdown (dsb ish)
waiting for all CPUs to acknowledge.  This operation can be time-consuming
under heavy system load, causing the accumulated time across all PMD
entries to exceed the softlockup threshold (20s) and panic when
softlockup_panic=1.  On a CONFIG_PREEMPT_NONE=y kernel, there is no other
opportunity to reschedule during this entire traversal.&lt;/p&gt;
&lt;p&gt;The regular PTE path already has an unconditional cond_resched() at the
function tail (introduced by commit 9c276cc65a58 (&amp;#34;mm: introduce
MADV_COLD&amp;#34;) and commit 1a4e58cce84e (&amp;#34;mm: introduce MADV_PAGEOUT&amp;#34;) when
MADV_COLD and MADV_PAGEOUT were first introduced) and a conditional one
inside the loop (commit b2f557a21bc8 (&amp;#34;mm/madvise: add cond_resched() in
madvise_cold_or_pageout_pte_range()&amp;#34;)).  The THP branch never received
equivalent treatment…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99922</guid>
    </item>
  </channel>
</rss>
