<?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>Wed, 30 Sep 2026 15:43:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53989 — arm64: mm: fix VA-range sanity check</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53989</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;arm64: mm: fix VA-range sanity check&lt;/p&gt;
&lt;p&gt;Both create_mapping_noalloc() and update_mapping_prot() sanity-check
their &amp;#39;virt&amp;#39; parameter, but the check itself doesn&amp;#39;t make much sense.
The condition used today appears to be a historical accident.&lt;/p&gt;
&lt;p&gt;The sanity-check condition:&lt;/p&gt;
&lt;p&gt;if ((virt &amp;gt;= PAGE_END) &amp;amp;&amp;amp; (virt &amp;lt; VMALLOC_START)) {
		[ ... warning here ... ]
		return;
	}&lt;/p&gt;
&lt;p&gt;... can only be true for the KASAN shadow region or the module region,
and there&amp;#39;s no reason to exclude these specifically for creating and
updateing mappings.&lt;/p&gt;
&lt;p&gt;When arm64 support was first upstreamed in commit:&lt;/p&gt;
&lt;p&gt;c1cc1552616d0f35 (&amp;#34;arm64: MMU initialisation&amp;#34;)&lt;/p&gt;
&lt;p&gt;... the condition was:&lt;/p&gt;
&lt;p&gt;if (virt &amp;lt; VMALLOC_START) {
		[ ... warning here ... ]
		return;
	}&lt;/p&gt;
&lt;p&gt;At the time, VMALLOC_START was the lowest kernel address, and this was
checking whether &amp;#39;virt&amp;#39; would be translated via TTBR1.&lt;/p&gt;
&lt;p&gt;Subsequently in commit:&lt;/p&gt;
&lt;p&gt;14c127c957c1c607 (&amp;#34;arm64: mm: Flip kernel VA space&amp;#34;)&lt;/p&gt;
&lt;p&gt;... the condition was changed to:&lt;/p&gt;
&lt;p&gt;if ((virt &amp;gt;= VA_START) &amp;amp;&amp;amp; (virt &amp;lt; VMALLOC_START)) {
		[ ... warning here ... ]
		return;
	}&lt;/p&gt;
&lt;p&gt;This appear to have been a thinko. The commit moved the linear map to
the bottom of the kernel address space, with VMALLOC_START being at the
halfway point. The old condition would warn for changes to the linear
map below this, and at the time VA_START was the end of the linear map.&lt;/p&gt;
&lt;p&gt;Subsequently we cleaned up the naming of VA_START in commit:&lt;/p&gt;
&lt;p&gt;77ad4ce69321abbe (&amp;#34;arm64…&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;arm64: mm: fix VA-range sanity check&lt;/p&gt;
&lt;p&gt;Both create_mapping_noalloc() and update_mapping_prot() sanity-check
their &amp;#39;virt&amp;#39; parameter, but the check itself doesn&amp;#39;t make much sense.
The condition used today appears to be a historical accident.&lt;/p&gt;
&lt;p&gt;The sanity-check condition:&lt;/p&gt;
&lt;p&gt;if ((virt &amp;gt;= PAGE_END) &amp;amp;&amp;amp; (virt &amp;lt; VMALLOC_START)) {
		[ ... warning here ... ]
		return;
	}&lt;/p&gt;
&lt;p&gt;... can only be true for the KASAN shadow region or the module region,
and there&amp;#39;s no reason to exclude these specifically for creating and
updateing mappings.&lt;/p&gt;
&lt;p&gt;When arm64 support was first upstreamed in commit:&lt;/p&gt;
&lt;p&gt;c1cc1552616d0f35 (&amp;#34;arm64: MMU initialisation&amp;#34;)&lt;/p&gt;
&lt;p&gt;... the condition was:&lt;/p&gt;
&lt;p&gt;if (virt &amp;lt; VMALLOC_START) {
		[ ... warning here ... ]
		return;
	}&lt;/p&gt;
&lt;p&gt;At the time, VMALLOC_START was the lowest kernel address, and this was
checking whether &amp;#39;virt&amp;#39; would be translated via TTBR1.&lt;/p&gt;
&lt;p&gt;Subsequently in commit:&lt;/p&gt;
&lt;p&gt;14c127c957c1c607 (&amp;#34;arm64: mm: Flip kernel VA space&amp;#34;)&lt;/p&gt;
&lt;p&gt;... the condition was changed to:&lt;/p&gt;
&lt;p&gt;if ((virt &amp;gt;= VA_START) &amp;amp;&amp;amp; (virt &amp;lt; VMALLOC_START)) {
		[ ... warning here ... ]
		return;
	}&lt;/p&gt;
&lt;p&gt;This appear to have been a thinko. The commit moved the linear map to
the bottom of the kernel address space, with VMALLOC_START being at the
halfway point. The old condition would warn for changes to the linear
map below this, and at the time VA_START was the end of the linear map.&lt;/p&gt;
&lt;p&gt;Subsequently we cleaned up the naming of VA_START in commit:&lt;/p&gt;
&lt;p&gt;77ad4ce69321abbe (&amp;#34;arm64…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53989</guid>
    </item>
  </channel>
</rss>
