Three parties participate. None of them, in isolation, is a bug.
The first party is the writer. A crypto template running in place over a destination scatter-gather list. An exec-path routine arranging arguments. A packet parser rewriting the associated data before HMAC. The writer's authors designed the routine when its callers were a closed set of in-tree, kernel-privileged consumers who had allocated their own buffers and owned every byte. The scratch write is fixed-size, deterministic, documented in a comment above the function when it is documented at all, and invisible to every other party because the real output overwrites it a few microseconds later. The crypto_authenc_esn_decrypt line scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1) is the canonical shape: four bytes written one past the plaintext end, as a save-and-restore around the IPsec Extended Sequence Number splice into associated data, unchanged across nine years of mainline Linux kernels (CopyFail). Correctness is a property of the function alone.
The second party is the supplier. A userspace-facing socket interface that accepts a scatterlist from user code (algif_aead with req->src == req->dst). A datagram encap path that splices pipe pages into an outgoing or incoming skb (MSG_SPLICE_PAGES on UDP, attaching page-cache frags to an skb that then reaches esp_input or rxkad_verify_packet_1 (Dirty Frag)). An mmap of guest_memfd into a virtual-address range the host subsystem recognises as writable. The supplier's threat model is that the pages it attaches are either allocated by itself or carry permissions that reflect their origin. It does not take responsibility for whether downstream subsystems will treat those pages as scratch; downstream subsystems are, in the supplier's model, forward consumers of the buffer the supplier populated.
The third party is the trust boundary the two subsystems share without discussing. The writer thinks it owns the destination because its in-tree callers used to. The supplier thinks the buffer is a read-forward carrier because that is what it carries elsewhere. The attacker sits between them, choosing what pages the supplier attaches: by opening a file read-only and splicing its page-cache pages into the supplier's SGL, by mmap'ing guest_memfd into the host's view, by writing bytes to a pipe and sending them through MSG_SPLICE_PAGES. When the writer executes its legitimate scratch, the destination offset is bytes the supplier owes to those attacker-chosen pages, and the write lands there. /usr/bin/su's page cache ends up holding 160 bytes of setuid-root shellcode, written four bytes at a time by a crypto template doing exactly what it has always done.
The failure repeats because the kernel's internal contracts about memory ownership are not representable in any type system the kernel compiles. struct scatterlist is bytes. struct sk_buff * is bytes. struct iovec is bytes. The contract that says a particular SGL is in-place-writable, or that an skb's frags are kernel-private, exists in prose above the function that reads the SGL and in the mental model of the reviewer who approved the commit that made the operation in-place. The patch is always the kernel teaching itself to carry the contract as a bit: SKBFL_SHARED_FRAG on UDP append, checked in esp_input's skip_cow branch; a reversion of the 2017 algif_aead memory-management overhaul that made the AEAD in-place, restoring kernel-allocated destination buffers whose pages the algorithm's caller owns. The fix lifts the contract from documentation into a bit the two subsystems both read; the class stays open everywhere the lift did not happen, which is every other in-place operation the writer side of the kernel ships.
What distinguishes the pattern from neighbouring classes is the shape of the bug inside the writer. The writer has no out-of-bounds arithmetic, no refcount race, no uninitialised read, no type confusion. The writer does exactly what it has always done, and what it has always done is a write across a trust boundary now that the supplier changed. Pool Retains Prior Writes describes the same page-ownership failure in reverse: a prior caller's bytes persist into the next caller's view because the pool does not zero on free. Borrowed Pages As Scratch is the forward direction: the current caller's legitimate scratch persists into a page the next reader did not expect to be modified. Emergent Primitive is the broader family whose ownership vacuum this pattern inherits; here the composition unit is a memory buffer and the two subsystems disagree about who owns the backing pages.
The economics are the reason the pattern recurs. Every exhibit traces back to a commit that converted an out-of-place operation to an in-place one, motivated by a single copy saved per call on a hot path. The 2017 72548b093ee3 commit that made algif_aead in-place. The 2017 cac2661c53f3 and 03e2a30f6a27 commits that removed skb_cow_data from esp4 and esp6. Each conversion was correct against the supplier set of its day. Each conversion silently inherits every supplier that lands afterwards, and the kernel ships new suppliers on every release: splice(), vmsplice(), MSG_SPLICE_PAGES, io_uring fixed buffers, guest_memfd. The reviewer who approves the next in-place conversion is the one who owes the audit of today's supplier set. The pattern's live exhibits are nine years of latency on exactly that kind of review.