<?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>Mon, 12 Oct 2026 08:49:39 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-52489 — mm/sparsemem: fix race in accessing memory_section-&gt;usage</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2023-52489</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/sparsemem: fix race in accessing memory_section-&amp;gt;usage&lt;/p&gt;
&lt;p&gt;The below race is observed on a PFN which falls into the device memory
region with the system memory configuration where PFN&amp;#39;s are such that
[ZONE_NORMAL ZONE_DEVICE ZONE_NORMAL].  Since normal zone start and end
pfn contains the device memory PFN&amp;#39;s as well, the compaction triggered
will try on the device memory PFN&amp;#39;s too though they end up in NOP(because
pfn_to_online_page() returns NULL for ZONE_DEVICE memory sections).  When
from other core, the section mappings are being removed for the
ZONE_DEVICE region, that the PFN in question belongs to, on which
compaction is currently being operated is resulting into the kernel crash
with CONFIG_SPASEMEM_VMEMAP enabled.  The crash logs can be seen at [1].&lt;/p&gt;
&lt;p&gt;compact_zone()			memunmap_pages
-------------			---------------
__pageblock_pfn_to_page
   ......
 (a)pfn_valid():
     valid_section()//return true
			      (b)__remove_pages()-&amp;gt;
				  sparse_remove_section()-&amp;gt;
				    section_deactivate():
				    [Free the array ms-&amp;gt;usage and set
				     ms-&amp;gt;usage = NULL]
     pfn_section_valid()
     [Access ms-&amp;gt;usage which
     is NULL]&lt;/p&gt;
&lt;p&gt;NOTE: From the above it can be said that the race is reduced to between
the pfn_valid()/pfn_section_valid() and the section deactivate with
SPASEMEM_VMEMAP enabled.&lt;/p&gt;
&lt;p&gt;The commit b943f045a9af(&amp;#34;mm/sparse: fix kernel crash with
pfn_section_valid check&amp;#34;) tried to address the same probl…&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/sparsemem: fix race in accessing memory_section-&amp;gt;usage&lt;/p&gt;
&lt;p&gt;The below race is observed on a PFN which falls into the device memory
region with the system memory configuration where PFN&amp;#39;s are such that
[ZONE_NORMAL ZONE_DEVICE ZONE_NORMAL].  Since normal zone start and end
pfn contains the device memory PFN&amp;#39;s as well, the compaction triggered
will try on the device memory PFN&amp;#39;s too though they end up in NOP(because
pfn_to_online_page() returns NULL for ZONE_DEVICE memory sections).  When
from other core, the section mappings are being removed for the
ZONE_DEVICE region, that the PFN in question belongs to, on which
compaction is currently being operated is resulting into the kernel crash
with CONFIG_SPASEMEM_VMEMAP enabled.  The crash logs can be seen at [1].&lt;/p&gt;
&lt;p&gt;compact_zone()			memunmap_pages
-------------			---------------
__pageblock_pfn_to_page
   ......
 (a)pfn_valid():
     valid_section()//return true
			      (b)__remove_pages()-&amp;gt;
				  sparse_remove_section()-&amp;gt;
				    section_deactivate():
				    [Free the array ms-&amp;gt;usage and set
				     ms-&amp;gt;usage = NULL]
     pfn_section_valid()
     [Access ms-&amp;gt;usage which
     is NULL]&lt;/p&gt;
&lt;p&gt;NOTE: From the above it can be said that the race is reduced to between
the pfn_valid()/pfn_section_valid() and the section deactivate with
SPASEMEM_VMEMAP enabled.&lt;/p&gt;
&lt;p&gt;The commit b943f045a9af(&amp;#34;mm/sparse: fix kernel crash with
pfn_section_valid check&amp;#34;) tried to address the same probl…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2023-52489</guid>
    </item>
  </channel>
</rss>
