<?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>Tue, 29 Sep 2026 01:18:29 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-54157 — binder: fix UAF of alloc-&gt;vma in race with munmap()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-54157</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;binder: fix UAF of alloc-&amp;gt;vma in race with munmap()&lt;/p&gt;
&lt;p&gt;[ cmllamas: clean forward port from commit 015ac18be7de (&amp;#34;binder: fix
  UAF of alloc-&amp;gt;vma in race with munmap()&amp;#34;) in 5.10 stable. It is needed
  in mainline after the revert of commit a43cfc87caaf (&amp;#34;android: binder:
  stop saving a pointer to the VMA&amp;#34;) as pointed out by Liam. The commit
  log and tags have been tweaked to reflect this. ]&lt;/p&gt;
&lt;p&gt;In commit 720c24192404 (&amp;#34;ANDROID: binder: change down_write to
down_read&amp;#34;) binder assumed the mmap read lock is sufficient to protect
alloc-&amp;gt;vma inside binder_update_page_range(). This used to be accurate
until commit dd2283f2605e (&amp;#34;mm: mmap: zap pages with read mmap_sem in
munmap&amp;#34;), which now downgrades the mmap_lock after detaching the vma
from the rbtree in munmap(). Then it proceeds to teardown and free the
vma with only the read lock held.&lt;/p&gt;
&lt;p&gt;This means that accesses to alloc-&amp;gt;vma in binder_update_page_range() now
will race with vm_area_free() in munmap() and can cause a UAF as shown
in the following KASAN trace:&lt;/p&gt;
&lt;p&gt;==================================================================
  BUG: KASAN: use-after-free in vm_insert_page+0x7c/0x1f0
  Read of size 8 at addr ffff16204ad00600 by task server/558&lt;/p&gt;
&lt;p&gt;CPU: 3 PID: 558 Comm: server Not tainted 5.10.150-00001-gdc8dcf942daa #1
  Hardware name: linux,dummy-virt (DT)
  Call trace:
   dump_backtrace+0x0/0x2a0
   show_stack+0x18/0x2c
   dump_stack+0xf8/0x164
   print_address_…&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;binder: fix UAF of alloc-&amp;gt;vma in race with munmap()&lt;/p&gt;
&lt;p&gt;[ cmllamas: clean forward port from commit 015ac18be7de (&amp;#34;binder: fix
  UAF of alloc-&amp;gt;vma in race with munmap()&amp;#34;) in 5.10 stable. It is needed
  in mainline after the revert of commit a43cfc87caaf (&amp;#34;android: binder:
  stop saving a pointer to the VMA&amp;#34;) as pointed out by Liam. The commit
  log and tags have been tweaked to reflect this. ]&lt;/p&gt;
&lt;p&gt;In commit 720c24192404 (&amp;#34;ANDROID: binder: change down_write to
down_read&amp;#34;) binder assumed the mmap read lock is sufficient to protect
alloc-&amp;gt;vma inside binder_update_page_range(). This used to be accurate
until commit dd2283f2605e (&amp;#34;mm: mmap: zap pages with read mmap_sem in
munmap&amp;#34;), which now downgrades the mmap_lock after detaching the vma
from the rbtree in munmap(). Then it proceeds to teardown and free the
vma with only the read lock held.&lt;/p&gt;
&lt;p&gt;This means that accesses to alloc-&amp;gt;vma in binder_update_page_range() now
will race with vm_area_free() in munmap() and can cause a UAF as shown
in the following KASAN trace:&lt;/p&gt;
&lt;p&gt;==================================================================
  BUG: KASAN: use-after-free in vm_insert_page+0x7c/0x1f0
  Read of size 8 at addr ffff16204ad00600 by task server/558&lt;/p&gt;
&lt;p&gt;CPU: 3 PID: 558 Comm: server Not tainted 5.10.150-00001-gdc8dcf942daa #1
  Hardware name: linux,dummy-virt (DT)
  Call trace:
   dump_backtrace+0x0/0x2a0
   show_stack+0x18/0x2c
   dump_stack+0xf8/0x164
   print_address_…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-54157</guid>
    </item>
  </channel>
</rss>
