<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Dirty-Pipe on kiperZ</title>
    <link>https://kiperz.dev/tags/dirty-pipe/</link>
    <description>Recent content in Dirty-Pipe on kiperZ</description>
    <generator>Hugo -- 0.147.7</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 05 Jun 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://kiperz.dev/tags/dirty-pipe/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>僕と契約して、魔法少女になってよ！ - THJCC CTF 2026</title>
      <link>https://kiperz.dev/writeups/qb---thjcc-ctf-2026/</link>
      <pubDate>Fri, 05 Jun 2026 00:00:00 +0000</pubDate>
      <guid>https://kiperz.dev/writeups/qb---thjcc-ctf-2026/</guid>
      <description>&lt;h2 id=&#34;tldr&#34;&gt;TL;DR&lt;/h2&gt;
&lt;p&gt;A single-byte NULL off-by-one in a &lt;code&gt;kmalloc-1024&lt;/code&gt; object is leveraged into a &lt;code&gt;pipe_buffer.page&lt;/code&gt; LSB clear → page-level UAF → cross-cache reclaim into &lt;code&gt;filp_cachep&lt;/code&gt; → &lt;code&gt;struct file-&amp;gt;f_mode&lt;/code&gt; overwrite → page-cache code injection into &lt;code&gt;/bin/busybox&lt;/code&gt; (Dirty-Pipe style) → root code execution. &lt;strong&gt;Fully leakless&lt;/strong&gt;: no kernel address is ever read.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Description: Make a contract and become a magical girl!
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Target: Linux &lt;strong&gt;6.17.7&lt;/strong&gt;, x86-64. Mitigations on: SMEP, SMAP, KPTI (&lt;code&gt;pti=on&lt;/code&gt;), KASLR, &lt;code&gt;dmesg_restrict=1&lt;/code&gt;, &lt;code&gt;kptr_restrict=1&lt;/code&gt;. The interactive shell runs as &lt;strong&gt;uid 1000&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
