<?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:43:42 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139451 — bpf, arm64: Fix racy plt target update in bpf_arch_text_poke()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139451</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;bpf, arm64: Fix racy plt target update in bpf_arch_text_poke()&lt;/p&gt;
&lt;p&gt;When a long-jump trampoline is attached to or detached from a bpf prog,
bpf_arch_text_poke() updates the plt target at the end of the prog by
temporarily making the page writable:&lt;/p&gt;
&lt;p&gt;set_memory_rw(page);
	WRITE_ONCE(plt-&amp;gt;target, plt_target);
	set_memory_ro(page);&lt;/p&gt;
&lt;p&gt;Since commit 1dad391daef1 (&amp;#34;bpf, arm64: use bpf_prog_pack for memory
management&amp;#34;), bpf progs are allocated from the bpf prog pack, so
unrelated progs and their plts commonly share a page. The sequence
above is not serialized against other pokers, it runs before text_mutex
is taken and callers only hold the lock of the trampoline being
updated. Two CPUs attaching to or detaching from different target progs
in the same page can therefore race:&lt;/p&gt;
&lt;p&gt;CPU A                           CPU B
	set_memory_rw(page)
	                                set_memory_rw(page)
	                                WRITE_ONCE(plt_B-&amp;gt;target, ...)
	                                set_memory_ro(page)
	WRITE_ONCE(plt_A-&amp;gt;target, ...)  &amp;lt;- permission fault&lt;/p&gt;
&lt;p&gt;This was hit on an arm64 server with 64K pages while attaching fentry
programs to bpf progs:&lt;/p&gt;
&lt;p&gt;Unable to handle kernel write to read-only memory at virtual address ffff80008f46d5f8
  ESR = 0x000000009600004f
  FSC = 0x0f: level 3 permission fault
  pte=00c00200ea5a0783
  Internal error: Oops: 000000009600004f [#1]  SMP
  pc : bpf_arch_text_poke+0x214/0x238
  lr : bpf_…&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;bpf, arm64: Fix racy plt target update in bpf_arch_text_poke()&lt;/p&gt;
&lt;p&gt;When a long-jump trampoline is attached to or detached from a bpf prog,
bpf_arch_text_poke() updates the plt target at the end of the prog by
temporarily making the page writable:&lt;/p&gt;
&lt;p&gt;set_memory_rw(page);
	WRITE_ONCE(plt-&amp;gt;target, plt_target);
	set_memory_ro(page);&lt;/p&gt;
&lt;p&gt;Since commit 1dad391daef1 (&amp;#34;bpf, arm64: use bpf_prog_pack for memory
management&amp;#34;), bpf progs are allocated from the bpf prog pack, so
unrelated progs and their plts commonly share a page. The sequence
above is not serialized against other pokers, it runs before text_mutex
is taken and callers only hold the lock of the trampoline being
updated. Two CPUs attaching to or detaching from different target progs
in the same page can therefore race:&lt;/p&gt;
&lt;p&gt;CPU A                           CPU B
	set_memory_rw(page)
	                                set_memory_rw(page)
	                                WRITE_ONCE(plt_B-&amp;gt;target, ...)
	                                set_memory_ro(page)
	WRITE_ONCE(plt_A-&amp;gt;target, ...)  &amp;lt;- permission fault&lt;/p&gt;
&lt;p&gt;This was hit on an arm64 server with 64K pages while attaching fentry
programs to bpf progs:&lt;/p&gt;
&lt;p&gt;Unable to handle kernel write to read-only memory at virtual address ffff80008f46d5f8
  ESR = 0x000000009600004f
  FSC = 0x0f: level 3 permission fault
  pte=00c00200ea5a0783
  Internal error: Oops: 000000009600004f [#1]  SMP
  pc : bpf_arch_text_poke+0x214/0x238
  lr : bpf_…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139451</guid>
    </item>
  </channel>
</rss>
