<?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>Mon, 28 Sep 2026 07:49:13 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-53095 — bpf: Fix abuse of kprobe_write_ctx via freplace</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-53095</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: Fix abuse of kprobe_write_ctx via freplace&lt;/p&gt;
&lt;p&gt;uprobe programs are allowed to modify struct pt_regs.&lt;/p&gt;
&lt;p&gt;Since the actual program type of uprobe is KPROBE, it can be abused to
modify struct pt_regs via kprobe+freplace when the kprobe attaches to
kernel functions.&lt;/p&gt;
&lt;p&gt;For example,&lt;/p&gt;
&lt;p&gt;SEC(&amp;#34;?kprobe&amp;#34;)
int kprobe(struct pt_regs *regs)
{
	return 0;
}&lt;/p&gt;
&lt;p&gt;SEC(&amp;#34;?freplace&amp;#34;)
int freplace_kprobe(struct pt_regs *regs)
{
	regs-&amp;gt;di = 0;
	return 0;
}&lt;/p&gt;
&lt;p&gt;freplace_kprobe prog will attach to kprobe prog.
kprobe prog will attach to a kernel function.&lt;/p&gt;
&lt;p&gt;Without this patch, when the kernel function runs, its first arg will
always be set as 0 via the freplace_kprobe prog.&lt;/p&gt;
&lt;p&gt;To fix the abuse of kprobe_write_ctx=true via kprobe+freplace, disallow
attaching freplace programs on kprobe programs with different
kprobe_write_ctx values.&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: Fix abuse of kprobe_write_ctx via freplace&lt;/p&gt;
&lt;p&gt;uprobe programs are allowed to modify struct pt_regs.&lt;/p&gt;
&lt;p&gt;Since the actual program type of uprobe is KPROBE, it can be abused to
modify struct pt_regs via kprobe+freplace when the kprobe attaches to
kernel functions.&lt;/p&gt;
&lt;p&gt;For example,&lt;/p&gt;
&lt;p&gt;SEC(&amp;#34;?kprobe&amp;#34;)
int kprobe(struct pt_regs *regs)
{
	return 0;
}&lt;/p&gt;
&lt;p&gt;SEC(&amp;#34;?freplace&amp;#34;)
int freplace_kprobe(struct pt_regs *regs)
{
	regs-&amp;gt;di = 0;
	return 0;
}&lt;/p&gt;
&lt;p&gt;freplace_kprobe prog will attach to kprobe prog.
kprobe prog will attach to a kernel function.&lt;/p&gt;
&lt;p&gt;Without this patch, when the kernel function runs, its first arg will
always be set as 0 via the freplace_kprobe prog.&lt;/p&gt;
&lt;p&gt;To fix the abuse of kprobe_write_ctx=true via kprobe+freplace, disallow
attaching freplace programs on kprobe programs with different
kprobe_write_ctx values.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-53095</guid>
    </item>
  </channel>
</rss>
