Manuscript Offprint
arXiv:2610.33748A Rowhammer attack on Fil-C's software capabilities
Amir Naseredini
Suhas Viswanath
Martin Berger
Independent Researcher, Cambridge, UK Independent Researcher, Cambridge, UK University of Sussex & Montanarius Ltd
Brighton & London, UK
contact@martinfriedrichberger.net
Abstract—Fil-C retrofits spatial and temporal memory safety onto C/C++ using software capabilities (bounds that are checked at every pointer dereference). Fil-C's guarantee rests on an unstated hardware assumption: that DRAM preserves the capabilities. We show that Rowhammer breaks it. In Fil-C 0.679 a part of each heap pointer's capability lives in a 16-byte header stored inline in ordinary DRAM immediately before the object pointed to, with no mechanism to prevent capabilities from corruption. A single bit flip in the capability's upper-bound expands the pointer's permitted range by bytes and is invisible to the runtime, raising no panic or signal. We demonstrate this by using Fil-C to convert existing Rowhammer attacks into concrete attacks against a heterogeneous collection of victim software. To aid reproducibility (not everybody has DRAM vulnerable to Rowhammer) we split our demonstration into two paths. First, along a deterministic path, we isolate Fil-C as a novel attack vector using a deterministic, Rowhammer-like fault-injection model. Across four case studies, this model corrupts the upper-bound word of a pointer, permitting previously out-of-bounds reads and writes. We use this to achieve a bounded read/write window, secret disclosure, privilege escalation by flipping an adjacent is_admin field, and the leakage of a tenant API key in a multi-tenant credential service backed by SQLite (compiled under Fil-C). Second, along a physical end-to-end path, we demonstrate all four attacks on real hardware equipped with DDR3 memory, and with Target Row Refresh (TRR) equipped DDR4, proving the exploits are physically realisable. The latter attack shows that the TRR defence does not close the Fil-C delivery channel. We close with a discussion of Fil-C-specific mitigations.
Index Terms—Rowhammer, Fil-C, InvisiCaps, DRAM, Memory Safety, Capability Integrity, Hardware Fault Injection
I. INTRODUCTION
Memory-safety violations in C/C++ remain the dominant root cause of critical security vulnerabilities: Because rewriting the vast deployed base of C/C++ software is impractical, a major line of defence therefore retrofits spatial and temporal memory-safety protections onto existing code. These approaches include compiler instrumentation as in SoftBound/CETS [1] and AddressSanitizer [2], hardware-assisted capabilities as in CHERI [3], and memory tagging as in Arm Memory Tagging Extension (MTE) [4]. Fil-C [5] is a recent and unusually complete point in this space: it instruments every pointer operation at compile time and enforces complete spatial and temporal bounds checking at runtime through software capabilities, with high C/C++ compatibility to build large real-world programs unmodified. A tacit assumption underlies such systems: that the hardware faithfully preserves the metadata on which every check depends.
The Rowhammer vulnerability [6], [7] invalidates exactly this assumption for commodity DRAM. By repeatedly activating adjacent memory rows, an attacker induces controlled bit flips in victim rows without ever directly accessing them. Rowhammer has corrupted OS page tables [8], cryptographic keys [9], deduplication and allocator state of co-located VMs [9], [10], and JavaScript sandboxes [11], [12]. Rowhammer reads secrets it never touches [13] and survives across DRAM generations and defences [14]–[17]. Yet compiler-managed bounds metadata, the very state on which software-defined memory safety rests, has, to our knowledge, received no systematic analysis as a Rowhammer target. This paper fills that gap with an explicitly conditional thesis:
Wherever Rowhammer can land a usable bit flip in a suitable part of the stored metadata associated with a pointer, Fil-C cannot hold its spatial-safety promise for that pointer.
We are not proposing a new way to hammer DRAM. We show what an existing, widely demonstrated hardware fault means for a software defence that relies on the aforementioned tacit assumption. We exploit a design choice in Fil-C 0.679: part of each heap pointer's capability is stored as a 16-byte header inline in ordinary DRAM immediately before the object pointed to, with no mechanism to protect capabilities from corruption. Note that Rowhammer attack techniques do not let an attacker pick an arbitrary bit and force that cell to flip. They identify cells that are physically vulnerable to flipping, and then groom valuable victim data onto one of them [8], [9]. Most flips are unusable, ruled out by the cell's page offset, its position within the Fil-C metadata, the flip polarity, the bit's current value, or the requirement that the result remain a valid pointer ( ). Our attack needs only one flip that survives all these filters. We show that such a flip silently defeats the Fil-C runtime with no panic, signal, or machine check to mark it.
Our attack pipeline consists of three main components:
• The underlying Rowhammer fault generation.

Fig. 1. The two experimental paths. Blue boxes run inside the Fil-C victim process. Red boxes run in the attacker's native (non-Fil-C) process. Both paths share the same start (a live InvisiCap in DRAM) and the same consequence (Phase 4: the runtime silently honours the corrupted bound). They differ only in delivery. The deterministic path lands the flip with a single out-of-band write to isolate the metadata-corruption consequence. The physical end-to-end path lands it by real Rowhammer through templating, grooming, and hammering (Phases 1–3). Neither delivery is mediated by a Fil-C check, which is why the corruption is invisible to the runtime.
• Grooming the victim software to align Fil-C’s unprotected software capabilities with vulnerable memory cells.
• Silently circumventing Fil-C’s runtime checks once the capability’s upper bound is expanded by a bit flip.
To aid reproducibility and cleanly separate these components, our paper proceeds along two complementary paths (Figure 1). First, a deterministic path isolates the circumvention stage using a deterministic, Rowhammer-like fault-injection model. This allows us to study the impact of targeted bit flips on Fil-C binaries independently of the underlying hardware, yielding four concrete case studies: a bounded out-of-bounds (OOB) read/write window, secret disclosure, privilege escalation by flipping an adjacent is_admin field, and cross-tenant API key leakage in a multi-tenant credential service backed by SQLite. Second, a physical end-to-end path proves that the necessary fault generation and grooming are physically realisable by executing these attacks end-to-end on commodity hardware. Our evaluation uses both older DDR3 memory (exploited in 2 minutes) and modern, Target Row Refresh (TRR) protected DDR4 modules (exploited in 10–35 minutes), demonstrating that the TRR defence does not close this Fil-C delivery channel.
We emphasise that mitigating Rowhammer is not Fil-C's responsibility: it is a hardware-level defect for DRAM vendors and platform designers to address. However, it is widely and incorrectly believed that Rowhammer is a solved problem, so it is worth stating plainly that a software safety system such as Fil-C remains exposed to it, and that this exposure is invisible to the runtime. We close with a discussion of Fil-C-specific mitigations: while we contribute no new class of defence, the Message Authentication Code (MAC) protection we recommend is PT-Guard's [18], transported to a new target.
In summary, our contributions are as follows.
• We present the first Rowhammer attack on Fil-C. We characterise the Fil-C 0.679 capability layout and show

Fig. 2. Visualisation of a Fil-C pointer and capability layout.
that its bounds checks rely on the integrity of inline metadata stored in ordinary DRAM ( , , ).
- Through deterministic single-bit fault injection, we show that corrupting software capabilities silently bypasses Fil-C's runtime checks. Four case studies demonstrate consequences including privilege escalation and cross-tenant information disclosure ( , ).
• We develop a capability-aware Rowhammer delivery method combining flip selection with allocator- and offset-aware physical-frame grooming. We use it to realise the attacks end-to-end on DDR3 and the tested TRR-equipped DDR4 system, demonstrating that TRR did not prevent delivery on that platform ( , , ).
• We compare Fil-C’s exposure with hardware-tagged capability systems such as CHERI and propose Fil-C-specific mitigations ( , ).
A. Fil-C, InvisiCaps and FUGC
Fil-C is a memory-safe implementation of C and C++ designed to remain compatible with advanced language idioms, including multithreading and atomic operations. Its design draws on SoftBound [1] and CHERI [19]. Fil-C associates every pointer with a software capability, called an InvisiCap, which records the object's upper bound. On each dereference, the runtime checks the access against this bound and the lower bound carried by the pointer itself. Figure 2 shows the layout of Fil-C InvisiCaps, and the interpretation of C/C++ pointers. The capability is invisible in that programs can neither create nor forge it: the compiler and runtime maintain it, but it never appears in the pointer's C-level value. Physically it is nothing exotic: for a heap object it is a plain 16-byte header stored inline in ordinary DRAM. This gap between logical invisibility and physical ordinariness is exactly what we exploit. Simplifying a little, a Fil-C pointer has two 8-byte components: the lower bound and the concrete pointer itself. We fix three terms here, used consistently throughout the paper, because the attack acts on each of them differently. Following the C/C++ standard we call the whole allocation the object. Within it, we use capability for the metadata stored at a negative offset from the concrete pointer (the inline header recording the bounds) and payload for the program-visible data stored at a non-negative offset. The table below summarises this.
| Address | Field | Width |
|---|---|---|
| payload-16 | Upper bound (upper) | 8 B ← target |
| payload-8 | Aux word (not used in attack) | 8 B |
| payload+0 | object payload begins | — |
We empirically confirm this metadata layout in Fil-C 0.679 by allocating objects with the Fil-C toolchain and querying the bounds exposed by the runtime through its capability introspection API (zgetlower, zgetupper, and zlength) [20]. We then corrupt the word at payload-16 out of band and observe that zgetupper returns the corrupted value, while zlength reports the correspondingly enlarged size (§VI). Crucially, this word is plain DRAM: there is no MAC, no parity, and no separate tag memory protecting it. Fil-C's runtime check before a dereference is essentially the following:
if (access_addr < cap.lower || access_addr >= cap.upper) filc_panic("out-of-bounds");
Given this check, we can observe directly that we have corrupted values: the run panics with “cannot read/write pointer with ptr >= upper”. The check fails to protect the object only if upper has been silently modified outside the runtime’s view.
Fil-C's garbage collector, called FUGC ("Fil's Unbelievable Garbage Collector" [21]), is another component on which our attack relies. It is an accurate, concurrent, non-moving mark-and-sweep collector. For small objects, its user-space allocator, based on libpas, groups allocations by size class into slab-style allocator pages and returns reclaimed slots to size-class-local free lists [22], [23]. This slab organisation is implemented by FUGC and libpas. It should not be confused with Linux's kernel slab allocator, which manages kernel-internal objects. The attack nevertheless depends on Linux at the layer below the user-space allocator. FUGC determines the stable virtual layout of objects within an allocator page, whereas Linux determines which physical page frame backs that virtual page. Our physical-placement machinery therefore relies on Linux-specific virtual-memory and physical-page-allocation behaviour, including page-frame recycling, memory-zone locality, and the /proc/pid/pagemap interface used to observe physical placement (§V-B). The deterministic path (§IV) additionally uses Linux's /proc/pid/mem interface. Two properties of FUGC matter here. First, because FUGC is non-moving, a capability remains at a fixed virtual address while its object is live. This removes collector-induced relocation from the attack, although it does not by itself guarantee that Linux will never migrate the underlying physical page frame. The physical harness must observe or revalidate that mapping. Second, neither allocation nor the collector's sweep re-verifies the upper/lower bounds against a stored checksum, so a corrupted bound can persist across collection cycles. Phase 2 (§IV-B) exploits the predictable size-class and free-list placement, while the absence of metadata re-verification allows the injected corruption to survive.
B. DRAM and Rowhammer
Each DRAM cell holds a bit as charge in a capacitor that leaks over time, and must be refreshed regularly. Rowhammer [6] exploits the electromagnetic coupling between physically adjacent rows: repeatedly activating an aggressor row accelerates charge leakage in its neighbours, and once enough activations accumulate before the next refresh, a bit in a victim row flips. Double-sided hammering places aggressors on both sides of the victim, doubling the disturbance rate and inducing flips within one refresh interval. A decade of subsequent work has grown this circuit-level effect into a family of attacks and defences, catalogued in recent surveys [24], [25]. We use two distinctions from that literature. The first concerns the access pattern used to push a DRAM row beyond its disturbance threshold. Established patterns include single-sided, double-sided, and one-location hammering [26], as well as many-sided hammering against chips with in-DRAM defences. The second distinction is between the physical delivery of a flip and the consequence an attacker constructs from it. The survey [24] makes this distinction explicit by separating Rowhammer attacks from the underlying flips on which they depend. Examples of such consequences include kernel privilege escalation [8], cross-VM key recovery [9], and browser sandbox escape [11], [12]. Our contribution lies on the consequence side. For delivery, we rely on established and well-characterised patterns: classic double-sided hammering on DDR3 and many-sided hammering on TRR-equipped DDR4 (§IV). The result therefore rests on established primitives and is not tied to any single hammering method. Table I summarises the mitigations across the two generations we target. DDR3 has no hardware mitigations beyond standard refresh. DDR4 introduced in-DRAM TRR, which samples row activations and pre-emptively refreshes neighbours. Off-Die Error Correcting Code (ECC) is not a DRAM-intrinsic mitigation.
TABLE I DRAM GENERATION ROWHAMMER MITIGATIONS.
| DDR3 | DDR4 | |
|---|---|---|
| TRR | — | Yes |
| On-Die ECC | — | Some |
| Row size | 8 KiB | 8 KiB |
| Flip threshold | Low | Medium |
| Our bypass | Classic | Many-sided |
III. THREAT MODEL
A. Attacker capabilities
We build an attacker that is running a process co-resident with a Fil-C victim. The goal is to induce a single bit flip in the DRAM cell holding the victim's InvisiCap upper bound.
The key ability the attacker needs is to be able to modify that cell out-of-band: from outside any Fil-C-instrumented instruction, so that no Fil-C-inserted check detects the change. Physical Rowhammer provides exactly this property and has been demonstrated from unprivileged userspace [8], from JavaScript without clflush [11], [12], and across DRAM generations [6], [14], [15]. We therefore do not treat privilege as the crux of our contribution. We now address the attacker's key ability along two paths: the deterministic path, then the physical end-to-end path (cf. Figure 1).
Deterministic path (out-of-band injection): Our deterministic fault-injection experiment (§V, §VI) runs the victim with the Fil-C 0.679 toolchain and modifies the actual InvisiCap upper-bound word. A same-UID parent process, authorised to trace its own dumpable child on our Linux configuration (kernel.yama.ptrace_scope = 1), writes a value that differs from the original bound in exactly one bit through /proc/pid/mem. This is not an end-to-end Rowhammer attack: the parent already holds arbitrary access to the child's address space. Instead, it is a reproducible experiment showing that, once the selected one-bit corruption is visible to the victim, the complete Fil-C runtime accepts an access that the original bound would reject. Physical delivery, including placement, hammering, bit polarity, and cache visibility, is evaluated separately in §V-B.
Physical end-to-end path (bare-metal hammering): We provide a bare-metal hammering engine (§V-B) that targets the victim's InvisiCap word by its physical address, recovered from /proc/pid/pagemap [27], and hammers its attacker-owned neighbours. We run and report it with classical double-sided hammering on our DDR3 lab machine and, with wide many-sided TRR-evading hammering and physical-frame grooming, end-to-end on a second, TRR-equipped DDR4 lab machine (§VI, §VI-G). It is a stock DDR4 module of a generation on which in-DRAM TRR is standard [14], [16], and the flips we obtain require wide many-sided TRR-evading patterns rather than the classical double-sided hammering that suffices on DDR3, behaviour consistent with an active in-DRAM sampler (§VI-G). Our DDR3 case-study evaluation additionally delivers the bit flip out-of-band to isolate the metadata-corruption consequence from physical flip throughput, which the established Rowhammer literature already characterises. That a usable flip is achievable on susceptible DDR3 and DDR4 we confirm ourselves (§VI-F, §VI-G), the broader Rowhammer literature establishes it more generally [6], [14].
B. Attack preconditions
Fil-C's stated software memory-safety guarantee assumes that the hardware faithfully stores the capability metadata maintained by trusted compiler-generated code and runtime components. We deliberately relax that conventional hardware-integrity assumption. Our attack does not identify an unchecked Fil-C instruction but asks whether Fil-C detects corruption introduced below its software enforcement. That single assumption unpacks into several concrete properties, none of them stated by Fil-C, because a software runtime checks the invariants of its own code and simply trusts the storage beneath it to be faithful. We make them explicit below: each is a property Fil-C's guarantee needs but never verifies, annotated with whether Rowhammer upholds or breaks it.
• Metadata immutability. InvisiCap fields change only via the Fil-C runtime. Violated by Rowhammer flips.
• Allocator opacity. The FUGC slab layout is unpredictable to outside attackers. False: the slab is deterministic given fixed heap state. Phase 2 (§IV-B) exploits this directly.
• Physical isolation. Attacker-controlled DRAM rows are never adjacent to victim InvisiCap pages in physical memory. False: Linux provides no such guarantee.
• Refresh regularity. Each row is refreshed at least once per 64 ms refresh window (the average interval between refresh commands, tREFI, is far shorter, ), and this cadence is assumed frequent enough to stop disturbance from accumulating between refreshes of a victim row. Violated: Rowhammer shows that enough activations accumulate within a single refresh window to flip a bit. We do not rely on lengthening the interval and both machines run at their standard refresh rate.
• ECC coverage. The victim’s DRAM applies no error correction, so a single-bit flip is neither detected nor corrected. Both machines we evaluate use non-ECC dual in-line memory modules (DIMMs), where this holds by construction. Error-correcting memory would raise the bar: Single Error Correction, Double Error Detection (SECDED) would catch the lone flip our attack relies on, and defeating it requires crafted multi-bit patterns together with additional templating (finding flippable cells) and fault handling [28], [29]. We leave multi-bit ECC bypass as future work.
IV. ATTACK METHODOLOGY
We now detail the two complementary experimental paths, deterministic and physical end-to-end, from Figure 1. They share the same start, a live InvisiCap in the Fil-C victim's DRAM, and the same consequence: Phase 4, in which the runtime silently honours the corrupted bound. They diverge only in delivery. The physical end-to-end path runs as a four-phase pipeline: its attacker process, compiled with standard GCC, executes Phases 1–3 against physical DRAM, and the corrupted InvisiCap then causes the Fil-C victim process to silently permit out-of-bounds access in Phase 4. The deterministic path collapses Phases 1–3 into a single out-of-band write and shares Phase 4 unchanged. Beyond identifying compiler-managed bounds metadata as a target, we contribute a capability-aware delivery methodology. It combines established primitives (Flip Feng Shui frame donation [9], DRAMA bank recovery [30], and many-sided hammering [14], [16]) into a purpose-built workflow for landing a usable flip in a capability word. The workflow adds memory-zone-aware scouting and offset-aware frame selection. Its scout-then-spray victim interaction ensures that each sprayed capability is consumed at most once. Finally, a per-candidate no-hammer control distinguishes hammer-induced flips from unrelated memory errors.
A. Phase 1: DRAM templating
Phase 1 locates a flippy cell (one that reliably flips under hammering) satisfying two conditions: (i) the cell maps to the 8-byte upper-bound word of an object's inline header (at payload-16 once a capability is groomed onto it, §IV-B); (ii) the flipped bit is at a position large enough that the resulting expansion reaches the attacker's intended target (a few hundred bytes suffices to reach an adjacent object, larger yields a wider window).
Memory mapping and geometry recovery: To hammer, the attacker needs a pool in which a virtual row offset maps to the same physical row offset. Otherwise the DRAMA-recovered bank geometry does not hold. The engine backs its hammer pool with transparent huge pages (THP, 2 MiB) for that contiguity, and disables them only for the grooming phase (§IV-B), where the engine and the forked victim allocate at the same 4 KiB granularity so that a single donated frame is reused; hammering there relies on the longest physically contiguous 4 KiB run the allocator provides. Physical frame numbers are recovered via /proc/self/pagemap.
DRAM bank XOR functions are recovered at runtime via the DRAMA timing method [30]: address pairs in the same bank exhibit a ns bank-conflict latency penalty. The engine recovers the same-bank geometry it needs directly from this timing channel at runtime, rather than from any hardcoded address mapping. This lets the same recovery routine carry over unchanged across our DDR3 and DDR4 machines. The exact same-bank selection procedure is implemented in our engine.
Generation-specific hammering: DDR3: classic double-sided (cf. §VI). The DDR3 modules we work with have no TRR, so a straightforward hammer loop suffices. Each burst issues 2.5 M iterations in our build, i.e. 5 M row activations across the aggressor pair:
Listing 1. DDR3 double-sided hammer loop.
for (i = 0; i < 2500000; i++) { dummy = *agg_a; clflush(agg_a); dummy = *agg_b; clflush(agg_b); mfence(); }
On our DDR3-1333 module a burst of this size completes well within the 64 ms refresh window, so disturbance accumulates between refreshes.
DDR4: wide many-sided hammering (cf. §VI-G). DDR4 adds TRR, an in-DRAM defence. Blacksmith [14] defeats TRR by fuzzing non-uniform access patterns over frequency, phase, and amplitude until one evades the (undocumented, vendor-specific) sampler. Our preset instead uses wide many-sided hammering. It combines the true aggressor pair with a large set of decoy rows, distributing the sampler's limited tracking budget across many rows. We do not claim that this preset reproduces Blacksmith's full non-uniform search. Instead, we evaluate it end-to-end on a TRR-equipped DDR4 module, including its effect on the runtime (§VI-G). On this module, the preset successfully delivers usable flips. Orthogonal read-
TABLE II
MEASURED REQUEST , RUNTIME-ENFORCED BOUND (ZLENGTH), LIBPAS PAYLOAD-CAPACITY CLASS , AND PHYSICAL STRIDE ON OUR FIL-C 0.679 BUILD (IDENTICAL ACROSS REPEATED RUNS). THE 16-BYTE INVISICAP HEADER GIVES stride (EQ. 1). THE CLASS STEP IS 48 B ACROSS THE 240–336 BAND BUT NOT GLOBALLY.
| r (B) | bound (B) | class C(r) (B) | stride (B) |
|---|---|---|---|
| 240 | 240 | 240 | 256 (0x100) |
| 256 | 256 | 288 | 304 (0x130) |
| 272 | 272 | 288 | 304 (0x130) |
| 288 | 288 | 288 | 304 (0x130) |
| 304 | 304 | 336 | 352 (0x160) |
| 337 | 352 | 400 | 416 (0x1a0) |
disturbance amplifications such as RowPress [15] could reduce the activations a flip needs, but our result does not depend on them and we do not employ them in the evaluated preset.
B. Phase 2: grooming
For the deterministic case studies, the victim is an experimental harness rather than an unmodified independent application: it publishes the target address and retries allocation until the required adjacency is obtained. This cooperation makes the metadata-corruption consequence reproducible. Forcing the corresponding placement without such cooperation is the task of the physical grooming described later in this phase.
FUGC hands out objects of the same size class from contiguous slab pages, at consecutive increasing addresses drawn deterministically from the free-list head. The physical stride between successive objects is what makes a target and a chosen neighbour land adjacently, so we measured it directly.
FUGC uses the libpas bmalloc heap configuration. A request of bytes is rounded up to a payload-capacity class , and Fil-C stores its 16-byte InvisiCap header inline immediately before the payload, so the physical stride between successive objects is
The header is added after class selection, not before. We measured directly (Table II) rather than deriving it: on our build the classes are {..., 208, 240, 288, 336, 400, ...}—a 48-byte step across the 240–336 band our objects fall in, but not a single uniform step globally (for example, is a 64-byte jump). Independently, the runtime rounds the enforced bound up to 16 bytes, so zlength returns 240, 256, 272, 288, ... as grows. For our 16-aligned 256-byte objects it equals the request exactly. We stress that this is an empirical characterisation of the tested Fil-C 0.679 build. We obtained it by instrumenting consecutive allocations and reading back their addresses and bounds, rather than by analysing the libpas source code. The attack relies only on the measured determinism within a size class: a fixed stride makes adjacency predictable. It does not require the overall progression of size classes to follow any closed-form rule.
Our case-study objects are 256-byte requests, hence the 288-byte class and the 304-byte stride. The 32-byte slack between the InvisiCap upper bound (which stops at the requested 256 bytes) and the 288-byte class capacity is inert under an intact runtime, but it lies within the same physical slot, so even a flip that reaches only into that slack still expands the usable window. Because the class is fixed, the target and a chosen secondary object always land adjacently.
Aligning the objects (deterministic case studies): For the reproducible case studies the alignment is performed by the victim itself: it allocates the target and, in the cross-object cases (secret/authflag/kv), a secondary object of the same size class. Because FUGC hands out consecutive, increasing addresses within a slab, the secondary lands immediately above the target. The victim defensively discards (frees and retries) any candidate that does not, which can only happen across a slab boundary. No slab grooming is required here, because the flip is delivered out-of-band directly to the published upper-bound word: the target's cell is at a fixed offset from its payload, , so the address the victim publishes fixes exactly the cell the attacker must flip.
Landing a physical flip (Flip Feng Shui grooming): When the flip is delivered by real hammering ( VI-F, VI-G), owning the victim row's exact physical neighbours is impractical, so the end-to-end path uses page-frame grooming in the Flip Feng Shui style [9] ( V-B). The attacker holds the flippy cell fixed, templating known-flippy physical frames in its own memory and donating them to the allocator, then drives the victim to spray many same-size-class objects until one InvisiCap upper-bound word lands on a donated frame (Figure 3).
What “donation” is, concretely. A donation is a single munmap of one 4KiB flippy frame. This returns that physical frame to the kernel’s buddy allocator, specifically to the head of the running CPU’s per-CPU free-list, which is LIFO, while every other frame the attacker owns, including the aggressor rows physically adjacent to the donated one, stays mapped. The donated frame’s physical address, and hence its same-bank adjacency to those aggressors, does not change. Only its ownership moves to the allocator, from which the victim’s next same-class allocation is likely to draw it. When a victim capability word lands there, the attacker re-hammers the same recorded aggressors (Phase 3).
Matching the victim’s page granularity. Grooming succeeds because the attacker and the victim allocate at the same granularity. The engine pins both to 4 KiB base pages, disabling transparent huge pages for itself and its forked Fil-C victim (prctl (PR_SET_THP_DISABLE)) before it allocates, so both draw frames from the same order-0 buddy free-lists. A donated frame then lands on exactly the free-list the victim’s next same-class allocation pops from, so reuse follows directly. Left at its default, THP would instead back both heaps with 2 MiB (order-9) pages, where a donated 4 KiB frame would fall to an order-0 free-list the victim’s slab never touches.
Zone- and offset-aware placement. Because the victim's allocator may draw from different physical memory zones (ZONE_DMA32 vs. ZONE_NORMAL) depending on system memory pressure, and per-CPU LIFO reuse is zone-local, the spray is two-phase: a small "scout" batch first, whose physical

Fig. 3. Flip Feng Shui grooming for the physical end-to-end. The attacker templates known-flippy physical frames and donates (frees) them to the allocator; the victim sprays same-size-class objects until an InvisiCap upper-bound word lands on a donated flippy frame (highlighted). Re-hammering that frame flips bit k of the live capability. A two-phase spray (scout, then main) first pins the memory zone the victim's allocator is currently drawing from, so donations land in the right zone.
frames reveal the zone the victim is currently drawing from, so the attacker templates and donates within that zone. The main spray then places capability words on the just-donated, in-zone frames. To raise the reuse probability further without any extra hammering, the attacker preferentially donates the frames whose flip falls in an exploitable low byte of the 8-byte bound word (offset-aware selection). Reuse itself does not require exhausting memory: with a right-sized attacker pool the donated frames sit at the head of the victim's per-CPU (LIFO) free-list, in its zone, exactly where its next same-class allocation pops from. Aggressively draining the remaining free RAM into a locked buffer is available as an option but is disabled by default, since it can backfire by exhausting ZONE_NORMAL and pushing the victim's spray into ZONE_DMA32, away from the donated frames. The attacker then searches the sprayed capability words for one coinciding with a flippy cell and re-hammers that frame (Phase 3). Both alignments exploit the same size-class determinism. They differ only in whether the object or the flippy cell is the fixed point.
C. Phase 3: hammering
Phase 3 re-executes the generation-appropriate hammer pattern against the same aggressor rows, with the InvisiCap now resident in the victim row. Figure 4 illustrates the physical row arrangement. The hammer runs repeated bursts until the flip is observed or the time budget expires, with an early-exit check after each burst that avoids unnecessary activations once the flip is confirmed.
Mathematical effect: A flip at bit k of the 8-byte upper-bound word yields:
For : GiB. The Fil-C check access then passes for every address in , including adjacent heap objects, function pointers, and runtime structures.
D. Phase 4: exploitation
The corrupted capability is invisible to all software layers: no panic, no machine-check exception, no signal. The Fil-C bounds check treats the corrupted upper as authoritative. We confirm this directly: after the flip, zgetupper on the victim's pointer returns the corrupted bound and zlength

Fig. 4. Double-sided Rowhammer targeting the InvisiCap slab row. Hammering and from the attacker's hugepage pool disturbs , flipping bit of upper_bound and expanding the permitted access range by bytes.
reports the enlarged size, so every access in now passes the runtime check ( VI).
OOB read: confidentiality violation: The victim reads past the original buffer end. The check evaluates base + i < u'. This is true for , permitting the read into whatever object the allocator placed above the target. Our case studies read an adjacent secret token and, in the SQLite service, another tenant's database-stored API key. The SQLite exposure is not a vulnerability in SQLite itself ( VI-D explains why).
OOB write: integrity violation: The same expanded bound permits writes past the object. We use this to set an adjacent session object's is_admin field, escalating the victim from an unprivileged to an administrative principal. Writing runtime-internal pointers (e.g. to hijack control flow) is a plausible further escalation that we do not demonstrate here. The read/write primitive it would build on is what we show.
V. PROOF OF CONCEPT (POC) IMPLEMENTATIONS
Our implementation follows the two-path model from Fig. 1. The primary PoC ( V-A) is what our evaluation runs: it demonstrates the consequence of Rowhammer bit flips on Fil-C metadata along both the deterministic path and the physical end-to-end path. The bare-metal drivers ( V-B) implement the physical delivery primitive that the latter path uses.
A. Primary PoC: real-runtime bypass
The primary PoC is a two-process pair. The victim (a small Fil-C program, or a SQLite-backed service for the kv case study) is compiled with the Fil-C 0.679 toolchain, so every access it makes is checked by the Fil-C runtime. It allocates the target object, publishes the bounds the runtime actually assigned (read via zgetlower/zgetupper) over a small shared handshake region, waits, then performs an access that is out-of-bounds for the original object. The attacker is the bare-metal engine ( V-B), built with ordinary gcc. It lives outside the Fil-C model. It selects the case study via --scenario, and --victim for kv. It then forks the victim and locates the upper-bound cell. The cell is found either directly at payload-16 or, to model templating, by scanning the victim's writable memory for the published bound value. Finally, it applies a single flip.
The same harness supports both delivery paths: the deterministic path uses --selftest to write the single-bit change directly through /proc/pid/mem, and the physical end-to-end path induces the identical flip by hammering ( V-B). The four case studies share this harness and differ only in what the victim does after the flip: generic reads and writes just past the original object end, secret reads across the allocation boundary into an adjacent secret object, authflag writes an adjacent session's is_admin field, escalating privilege, and kv runs a real SQLite-backed credential service whose guest request handler over-reads into the adjacent admin record.
The design yields an unambiguous oracle. If the flip took, the runtime permits the access and the victim runs to completion, reporting results. If it did not (the no-flip control), the very first out-of-bounds access is hard-panicked by the runtime and the victim is killed before it can report. There is no path in which the victim attempts an out-of-bounds access and reports that it was blocked, so a success report can only mean the runtime permitted the access.
B. Bare-metal delivery drivers
We implemented two generation-specific bare-metal engines: one uses classical double-sided hammering on DDR3, the other wide many-sided hammering to evade TRR on DDR4 [14] ( IV). Each engine is self-contained and auditable, and hammers the Fil-C victim rather than a stand-in: it forks the Fil-C-compiled victim, learns the physical address of its InvisiCap upper-bound word through /proc/pid/pagemap, occupies most of RAM to own that word's physical neighbours, selects attacker-owned aggressor rows on both sides of it, and hammers them double-/many-sided in a tight cache-flush loop for a fixed wall-clock budget while polling the word for a genuine change. The engine does not guess neighbouring rows from physical-address arithmetic alone. Under multi-channel and multi-bank interleaving, such inference can place the aggressors in a different bank, where they cause no disturbance. Instead, the engine measures the DRAM geometry using a row-buffer-conflict timing side channel [30]. It then selects aggressor pairs that are empirically confirmed to share the victim row's bank. As a first step it self-templates in its own memory (hammering attacker-owned pages, where a flip is directly verifiable) to confirm the module is susceptible and to learn a working aggressor geometry before targeting the victim. It never simulates a flip. A negative result is reported as such, with the measured totals (activations issued, bursts, time). The cache-line flush is portable: we detect clflushopt with the CPUID instruction once and fall back to the universally-available clflush (SSE2), so the loop runs on the Sandy/Ivy-Bridge DDR3 computers that are the cleanest Rowhammer targets and would otherwise #UD on the newer instruction. Beyond targeting the victim's word directly, a Flip Feng Shui-style grooming mode [9] templates flippy frames in attacker memory, donates them to the allocator, has the victim spray same-size-class objects so an InvisiCap word lands on a known-flippy frame, and re-hammers the unchanged aggressors. This is the path that produced our physical end-to-end result ( VI-F). Because the upper-bound word contains a valid pointer, not every bit flip is exploitable (e.g., on x86, a high-byte flip can yield a value that is no longer a valid pointer). The engine classifies a flip as exploitable only if it both expands the bound and preserves pointer validity. A genuine flip that fails either condition is reported as unusable and is not counted as a bypass. The --selftest path injects the single-bit flip on the deterministic path (via /proc/pid/mem, not a hammer) to validate the full exploit chain on any machine before a hammering campaign is run. The hammering campaign itself, by contrast, requires susceptible DRAM: we run it on DIMMs where the cited work establishes that flips are achievable.
VI. EXPERIMENTAL EVALUATION
A. Setup
We evaluate both paths (deterministic and physical end-to-end) on a commodity DDR3 lab machine: Intel Core i7-2630QM (Sandy Bridge, 4 cores / 8 threads), 8 GiB of DDR3 from Vendor A, Linux 5.15. The victim is built with Fil-C 0.679 and the attacker with system gcc 11.4. The reproducible results below (Table III and the four case studies) deliver the single-bit flip out-of-band, which isolates the metadata-corruption consequence from physical flip throughput. As a technique this path needs no root, no hugepages, and no special DRAM, only the ability to ptrace a forked child, which the default Yama policy permits. The Fil-C side of every result below is real and was re-verified on this machine. The same machine also hosts the bare-metal hammering engine (§V-B). DDR3 is the canonical pre-TRR, non-ECC delivery target (§III). A second, separate lab machine with a TRR-equipped DDR4 module from Vendor B, is used solely for the physical delivery result in §VI-G. All physical results in this paper come from these two separate machines. No result mixes hardware across them.
B. Confirming the layout and the flip effect
When we allocate a 256-byte object under the runtime, zgetlower and zgetupper report bounds exactly 256 bytes apart, and the upper-bound value is found in DRAM at payload-16. We apply a single flip at bit 7 of that word (upper + ). Afterwards zgetupper returns the corrupted value and zlength reports 384 bytes, confirming both the layout and Eq. (2). The attacker selects the smallest currently-zero bit whose flip covers the intended target, so the expansion is the minimal one needed.
C. Real-runtime bypass and control
Table III reports the outcome against the Fil-C runtime. With the flip applied, the runtime permits the previously out-of-bounds access in every scenario. In the no-flip control, the same victim binary and the same access path instead trigger a hard runtime panic (“cannot read/write pointer with ptr >= upper”) and the victim is killed before reporting, demonstrating that the access is genuinely out-of-bounds and that only the metadata corruption removes the protection.
TABLE III REAL-RUNTIME OUTCOME (FIL-C 0.679, SINGLE-BIT FLIP).
| Scenario | Flip applied | No flip (control) |
|---|---|---|
| In-bounds access | ok | ok |
| OOB read | permitted | runtime panic |
| OOB write | permitted | runtime panic |
| Runtime object length | 256→384 B | 256 B (unchanged) |
| Victim reaches report | yes | killed by panic |
D. Case studies
We instantiate four victims, generic, secret, authflag, and kv. All are compiled under Fil-C. All are defeated by a single bit flip in the target object's upper-bound word (Table IV). The four share one skeleton. Each victim is an ordinary, correct C program with no intentional memory error. It relies entirely on InvisiCaps for spatial safety and cooperates with the attacker only through a small shared handshake region. It allocates the object whose capability will be corrupted (the target), publishes the bounds the runtime assigned to it (read via zgetlower/zgetupper), waits for the flip, and then performs an access that is out-of-bounds for the original object. Whether that access is permitted is decided entirely by the Fil-C runtime: no check anywhere in the victim is simulated. In each of the three cross-object cases, the secondary object is allocated from the same 256-byte size class and placed immediately above the target (§IV-B). Fil-C's slab allocator assigns consecutive, increasing addresses, and the victim discards any candidate that does not lie above the target. This layout ensures that the minimal upper-bound expansion reaches the secondary object.
generic: The simplest victim isolates the raw read/write-past-end primitive. It allocates one 256-byte object and, after the flip, reads the first byte past the original end and writes past it. Under the corrupted bound the runtime permits both. Under the intact bound (no flip applied) the very first such access hard-panics. This establishes that a single flip converts an intact object into a forward, bounded out-of-bounds read/write window.
secret: The target's neighbour holds a confidential token. With the bound expanded, the target's own capability over-reads across the allocation boundary into the adjacent object and discloses the token: a direct information-disclosure primitive built from nothing but the corrupted upper bound.
authflag: The neighbour is a session record ({authenticated, is_admin, user[16]}) belonging to a non-admin "guest". Through the corrupted bound the victim issues an out-of-bounds write that sets the adjacent is_admin field from 0 to 1. The runtime permits the write. When the program subsequently checks privileges, it reads is_admin through the neighbouring object's own intact capability. The check now succeeds, elevating a non-admin user to admin. This is the write-side dual of secret: a single bit flip suffices to escalate privileges.
kv: The realistic victim is a small multi-tenant credential service built around real, unmodified SQLite, compiled under
Fil-C. We use the library exactly as the project ships it for embedding: its entire source concatenated into a single 9 MB C file, which SQLite calls the amalgamation. A guest request handler loads its own record from the database into a heap buffer (the target). A second tenant's confidential API key is loaded from the same database into an adjacent "vault" buffer of the same size class. Under an intact runtime the handler is confined to its own record. After a single-bit flip of the guest record's upper-bound word, the same handler over-reads past its record into the vault and discloses the admin's database-stored key. The vulnerability is not in SQLite: it arises entirely from the metadata corruption in the experimental multi-tenant service we constructed around it, and it shows the exposure is not limited to small, purpose-built victims but reaches a large, unmodified codebase compiled under Fil-C.
TABLE IV CASE STUDIES, EACH TRIGGERED BY ONE OUT-OF-BAND BIT FLIP.
| Victim | Primitive | Demonstrated effect |
|---|---|---|
| generic | R + W | OOB read and write past object end |
| secret | R | discloses an adjacent secret token |
| authflag | W | sets adjacent is_admin and non-admin → admin |
| kv | R | SQLite-backed service: guest handler leaks admin's database-stored API key |
E. Size-class generality
The case studies above use 256-byte target objects. To confirm the bypass is not an artefact of a single allocator size class, we re-ran the generic, secret, and authflag victims with 512-byte allocations, for which Fil-C's garbage collector FUGC assigns a different, exact-fit slot. All three bypasses again succeed against the runtime (Table V).
TABLE V 512-BYTE TARGETS: MINIMUM FLIP BIT AND CONFIRMED OUTCOME.
| Scenario | Stride | Min bit k | Outcome |
|---|---|---|---|
| generic | 528 B | 6 (+64 B) | OOB R+W permitted |
| secret | 528 B | 7 (+128 B) | secret disclosed |
| authflag | 528 B | 6 (+64 B) | privilege escalated |
The 512-byte class fits the request exactly, so there is no allocator slack: the secondary object's payload starts just 16B past the original upper bound, right after the adjacent object's InvisiCap header, and correspondingly less expansion is needed to reach it. That shows up in the minimum flip bit: for generic and authflag it drops to , down from in the 256-byte case, tracking the class gap (stride minus requested size) rather than the object's raw size. Every scenario still ends in the same single-flip compromise as the 256-byte case.
F. Physical feasibility of delivery
The case-study evaluation above delivers the flip out-of-band so that the consequence is measured independently of flip throughput. To confirm that the chain is nonetheless physically realisable, we also exercised the bare-metal engine (§V-B) on the Vendor A DDR3 lab machine, with no out-of-band assist anywhere. Two outcomes follow, with different reliabilities.
First, physical susceptibility: the engine's self-templating pass hammers attacker-owned memory with timing-selected same-bank double-sided aggressors and reads back genuine, control-verified bit flips in both polarities. This reproduces reliably on this module and confirms it is susceptible before the victim is ever targeted. Second, a full physical end-to-end: using page-frame grooming in the Flip Feng Shui style [9] (§V-B) the attacker donates known-flippy frames to the allocator, has the Fil-C victim spray same-size-class objects so an InvisiCap upper-bound word lands on such a frame, and re-hammers the unchanged aggressors. When Rowhammer induces a real flip in the upper-bound word of a live victim, the Fil-C runtime reports the object as larger and permits the out-of-bounds read and write. No part of this process is simulated. The result is observed directly through the same handshake channel used throughout §VI. On this module, a successful campaign produces a usable flip and completes the bypass in roughly two minutes.
The two outcomes differ in reliability because the physical end-to-end path has a binding stage that the deterministic path does not. Landing a usable flip in the exact live victim word is probabilistic per run: the flip must (a) be a flip, (b) on a bit currently zero in the stored word, (c) increase rather than decrease the bound, (d) land in a low byte of the 8-byte word so the result stays a valid pointer, and (e) expand the bound far enough to reach the intended data. Conditions (a)-(d) define an exploitable window and hold independently of the target, (e) is target-specific. These conditions compose, so any single grooming pass may place no usable flip while a repeated campaign does. This is why the case-study evaluation uses deterministic out-of-band delivery. The physical flip primitive and the deterministic Fil-C-side consequence are both reliable. Only landing the flip in the exact word is the probabilistic, binding stage.
These observations are consistent with prior work, which establishes that single-bit DDR3 flips are reproducible in tens of seconds [6], [8] and that TRR-equipped DDR4 falls to Blacksmith [14] and RowPress [15]. The templating and grooming needed to land a usable flip are the same well-studied procedures used against page tables and other targets [8], [18].
G. Physical feasibility under in-DRAM mitigation: DDR4
The DDR3 result above confirms the chain on a generation with no in-DRAM defences. DDR4 is a significantly harder target: every module of this class runs in-DRAM TRR (§II). We therefore validate the complete physical chain on a second, TRR-equipped lab machine, separate from the DDR3 systems described above. The validation covers templating, TRR-aware delivery, and the resulting consequence in the Fil-C runtime. Every stage is physical: no out-of-band step is used. The test machine is a commodity, single-channel desktop with 8 GiB of memory, populated by one non-ECC DDR4 DIMM from Vendor B. It operates at the standard refresh rate and provides no way to disable in-package TRR. Consistent with our disclosure policy ( ), we do not name the vendor or the platform model in this text. We will disclose the full configuration once coordinated vendor disclosure permits.
Targeting under TRR: We re-derive the same-bank conflict-timing oracle for this module ( ). Because the address mapping depends on the base address, the engine does not assume a fixed stride. Instead, it empirically identifies the nearest same-bank neighbours of each candidate victim cell. We confirmed that this step is necessary: a fixed stride transferred from the DDR3 module systematically misses the true nearest row on this module. To evade TRR's activation sampler, we use wide many-sided hammering ( , DDR4 paragraph). A large set of decoy rows accompanies the true aggressor pair, spreading the sampler's limited tracking budget across many rows. This belongs to the same class of techniques used by TRRespass and Blacksmith against commercial TRR implementations [14], [16]. Every candidate flip is accepted only after a no-hammer control on the identical cell over the identical wait: a flip that also appears without hammering is rejected as retention noise rather than counted (the same discipline as ). The cells on this module also exhibit variable retention time (VRT). They are susceptible only during transient weak-retention windows, which open and close on a timescale of minutes. Consequently, failure to reproduce a flip in the same cell later is expected and does not invalidate an earlier result that was verified against the controls. Under this experimental discipline, self-templating in attacker-owned memory reliably yields control-verified, hammer-induced and flips. This provides direct evidence that the TRR implementation deployed on the module does not close the delivery channel.
Grooming under TRR: a zone-locality condition: The end-to-end path uses the same Flip-Feng-Shui-style physical-frame donation described in §VI-F. A multi-zone allocator, however, introduces an additional constraint. Depending on current system pressure, the kernel may satisfy the victim's allocations from either its low-memory zone or its general-memory zone. A donated frame can be reused only if it belongs to the zone from which the victim is currently allocating. A frame donated from another zone can never be reused, regardless of how often the templating-and-donation cycle is repeated. We therefore first have the victim perform a small “scout” allocation, physically locate where it landed (revealing the live zone), and confine templating and donation to that zone before the main grooming attempt. This is a general lesson for physical-frame grooming on modern multi-zone Linux allocators, not a DDR4 peculiarity, and we are not aware of it being stated explicitly elsewhere.
End-to-end result: All four case studies ( , Table IV) were independently reproduced on this module using a fully physical attack chain. Through grooming, a genuine hammer-induced flip was delivered to the live InvisiCap upper-bound word of the victim. The real Fil-C runtime then permitted the access enabled by the corrupted bound. No stage of this chain used an out-of-band mechanism. Each physical experiment produced the outcome established deterministically in . In generic, the runtime permitted an out-of-bounds read and write. secret disclosed the adjacent token, authflag escalated a non-admin session to admin, and kv's guest handler leaked the adjacent admin vault. Every outcome was observed directly through the same handshake channel rather than inferred. Across the four case studies, landing the usable flip and completing the bypass took 10–35 minutes per run, the spread reflecting the VRT-modulated, probabilistic character of the binding stage.
As on DDR3, the probabilistic step is landing a flip in the victim's exact live word. Success requires all the compound conditions listed in §VI-F: the required offset and canonicality, a target bit currently set to zero, and sufficient upper-bound expansion. On this machine, the donated frame must also satisfy the zone-locality condition described above. By contrast, templating itself is reliable, and the Fil-C-side consequence is deterministic once the flip lands. This supports the observation in §VI-F that precise placement, rather than the physical flip primitive, is the binding constraint. The remaining variability is also consistent with the VRT-modulated, probabilistic nature of Rowhammer on a marginally susceptible, TRR-equipped die.
Why this result matters beyond DDR3 alone: DDR3's result alone leaves open the objection that TRR-equipped generations might close the delivery channel even though the metadata exposure remains. This result closes that gap empirically: TRR, as deployed on a DDR4 module, does not prevent a hammer-induced flip from reaching and being honoured in a live victim's bounds metadata. The InvisiCap exposure arises from the metadata itself: once a usable flip lands in the upper-bound word, it defeats the runtime regardless of how the flip was delivered. We demonstrate this physically on two DRAM generations, pre-TRR DDR3 and TRR-equipped DDR4, and deterministically across all four case studies.
VII. Discussion
A. Why the attack works
The exploit succeeds because of a fundamental abstraction mismatch. Fil-C's correctness proof is stated at the C memory model level: no pointer dereference can exceed its allocation. This proof is valid within its layer. Every dereference is instrumented, every bound is checked. But it silently inherits the physical layer's assumption that DRAM faithfully stores values. Rowhammer violates this assumption invisibly: no system call boundary is crossed, no read or write instruction touches the target cell, no signal is raised, and no machine check is issued. The corrupted value simply appears in place of the original. Fil-C has no mechanism to detect this, so the assumption of metadata immutability from §III-B is silently violated and the entire safety proof collapses on a single physical cell.
B. FUGC interaction
Fil-C's concurrent garbage collector, FUGC, is non-moving: it never relocates live objects ( ). This works in the attacker's favour. Once an object is allocated and kept live, FUGC leaves its associated InvisiCap cell in place. The attacker therefore need not contend with collector compaction moving the groomed metadata away from the templated physical location. The only remaining collector-level concern is reclamation. If an object is freed, its slot may be reused, invalidating the prepared placement. We prevent this by retaining live references to the groomed objects throughout the exploit. Consistent with FUGC's non-moving design, we observed no failures caused by relocation or slot reuse. A moving collector would reintroduce the relocation hazard. It would require explicit pinning or renewed grooming after a collection cycle. FUGC requires neither.
C. Limitations
We are explicit about the scope of our evidence. Our case-study evaluation models the delivery out-of-band for determinism, and the physical primitive itself is established prior work that our result builds on. We further confirmed the complete physical chain on two separate lab machines: the DDR3 system described in §VI-F and a TRR-equipped DDR4 system on which we reproduced all four case studies using a fully physical attack chain (§VI-G). On both systems, the engine reproducibly induced genuine flips in attacker-owned memory. It also landed a hammer-induced flip in a live InvisiCap upper-bound word of a victim, causing the runtime to be bypassed. This integrated path remains probabilistic from run to run. On DDR4, success is further constrained by TRR and by whether the donated frame belongs to the victim's current allocator zone (§VI-G). These experiments establish the consequence: corrupting the metadata can silently defeat the Fil-C runtime. Once the corruption occurs, this result does not depend on how the flip was delivered. TRR did not prevent delivery on our DDR4 module, but this finding concerns only the delivery side of the exposure. It does not alter the generation-independent consequence of a flip that reaches the metadata.
Our evaluation uses 256- and 512-byte victim objects ( VI-E) and the inline-header layout of Fil-C 0.679. Other size classes or future Fil-C versions may use different strides or header placements. The underlying exposure remains structural, however: the bounds stored in DRAM are unauthenticated.
VIII. RELATED WORK
A. Software and hardware memory safety
Retrofitting memory safety onto C/C++ spans compiler instrumentation and hardware assistance. SoftBound/CETS [1] provide complete spatial and temporal safety by maintaining disjoint per-pointer metadata, and AddressSanitizer [2] catches many violations with red-zones and shadow memory. Both keep their metadata in ordinary DRAM and are therefore, like Fil-C, exposed to a targeted hardware fault that alters that metadata without tripping a check [6]. Hardware-assisted schemes change the trust base, though less cleanly than is sometimes assumed.
A natural comparison is CHERI [3]: could Rowhammer-induced faults undermine its capabilities as they undermine Fil-C? Two distinct fault targets must be considered, and each presents different obstacles. The first is the capability tag. CHERI associates each capability-sized, aligned memory location with an architecturally non-addressable one-bit validity tag. Capability loads and stores transfer this tag atomically with the capability, whereas ordinary data stores clear it. This mechanism prevents software from turning arbitrary data into a valid capability. An out-of-band fault in the tag storage could bypass that protection: if an attacker could place a suitable encoded value in the corresponding data granule, setting its tag could cause the processor to accept that value as a capability. Whether Rowhammer can reach the tag storage depends on its physical implementation and any accompanying fault protection, both of which are implementation-specific. We do not evaluate this path. The closer analogue to our attack is a flip in the addressable capability encoding while the tag remains set. This path is less direct to analyse on CHERI because the bounds are not stored as an independent upper-bound word. CHERI Concentrate instead uses a compressed, floating-point-like encoding of the base and top relative to the capability's address [31]. A single flip therefore does not simply add to the upper bound, as it does in Fil-C (Eq. 2). Depending on the encoding and the bit flipped, it may narrow or widen the decoded bounds, or produce a malformed capability. The tag is not an authentication code over the addressable capability bits. Thus, if a physical fault changes those bits while leaving the tag set, CHERI provides no general guarantee that the modification will be detected. Whether one flip can produce a tagged, well-formed, and more-permissive capability, and how a particular implementation handles malformed encodings, must therefore be established experimentally. Our Fil-C result does not transfer to CHERI as a corollary. Instead, it motivates a concrete open question outside CHERI's usual architectural fault model, which assumes reliable hardware rather than protection against Rowhammer-induced memory errors.
Arm MTE [4] similarly assigns colours to allocations and checks them in hardware, while leaving allocation data in DRAM. Related hardware primitives, Intel Memory Protection Keys (MPK), Arm's Permission Overlay Extension (POE/POE2), and virtualised MTE (vMTE), control who may access a region or how it is coloured. They do not, however, by themselves authenticate security-critical state stored in DRAM against hardware faults. Any unprotected bounds, tags, or permission metadata residing in commodity DRAM remains exposed to an out-of-band flip.
B. Rowhammer consequences
A large body of prior work assumes that a physical bit flip can be induced and instead studies its consequences for a particular target. Seaborn and Dullien [8] flipped page-table entries to escalate kernel privileges. Flip Feng Shui [9] used memory grooming to corrupt RSA authentication state across co-located VMs. Drammer [10] exploited predictable allocator behaviour to achieve deterministic exploitation on mobile devices. RAMBleed [13] turned Rowhammer into a read primitive, leaking secrets without directly accessing them. The work closest in spirit is [26]. It flips instruction opcodes, transforming one valid instruction into another to subvert security checks. We apply the single-flip idea to bounds metadata: one flip turns a valid capability word into another valid, still-canonical word encoding a wider bound that the runtime accepts. PT-Guard [18] addresses the page-table case by protecting entries with integrity MACs. We recommend the same class of defence for InvisiCaps. Methodologically, our work belongs to this line of research. Earlier compiler-based schemes likewise store bounds metadata in DRAM and optimise its management for performance [1], [32], but they do not consider its integrity under hardware faults. Prior metadata-integrity work such as PT-Guard hardens OS structures that were always understood to be security-critical hardware state. Our contribution is different in kind: we show that a complete software memory-safety guarantee silently inherits an unstated DRAM-integrity assumption, so that a single flip in the very bounds it enforces defeats the guarantee: the defence’s own metadata becomes the bypass.
C. Rowhammer techniques and defences
The flip primitive is robust and improving. Beyond the original DDR3 result [6], Rowhammer has been driven from JavaScript [11], [12] and over the network . The in-DRAM TRR introduced with DDR4 has been bypassed by TRRpass [16] and Blacksmith [14], by RowPress's activation-dwell amplification [15], by Half-Double, whose distance-two coupling is assisted by TRR's own mitigating refreshes [35], and most recently on AMD platforms by ZenHammer [17]. On the defence side, system-level SECDED ECC raises but does not close the bar: ECCploit [28] and Copy-on-Flip [29] show that crafted multi-bit patterns still yield silent data corruption. DRAMA [30] provides the runtime bank-function recovery our physical end-to-end path uses to select genuine same-bank aggressors. We invoke this body of work only to substantiate the antecedent of our conditional claim: that a usable flip is attainable across DRAM generations. We do not claim to extend the Rowhammer delivery literature itself.
IX. MITIGATIONS
We group defences into two families. Fil-C-specific measures authenticate or replicate in-DRAM bounds so that a silent flip becomes a detected fault, closing the exposure we demonstrate. General Rowhammer defences instead impede delivery and apply to any scheme that stores metadata in DRAM. Table VI summarises both. Preventing Rowhammer is a hardware-level task, not Fil-C's burden: the specific measures make a flip visible to the runtime rather than stop it in silicon.
Cost and concurrency: None of these defences is free. Authenticating or replicating bounds adds memory, through wider headers or duplicate words, and increases cache pressure, potentially requiring an additional cache-line access per check. It also adds computation to a runtime that already incurs a several-fold overhead over native C [5]. An implementation must therefore trade overhead against detection latency. Per-use authentication prevents the silent use demonstrated here but charges every dereference. Periodic authentication, for example once per FUGC sweep, amortises this cost but detects corruption only at the next check. Between the flip and that check, the runtime may continue to honour the corrupted bound.
Atomicity is a separate issue. Any “verify-then-use” check creates a time-of-check-to-time-of-use (TOCTTOU) window if a flip occurs after verification but before the dependent dereference. Verification and use must therefore be coupled tightly. Fully closing the window requires either an atomic verify-and-use operation or a guarantee that the dereference consumes the verified snapshot. The design must also keep the protected word, any replica or authenticator, and any key consistent during concurrent FUGC operation. This is nontrivial because FUGC traverses and rewrites free-list state. These constraints make the defences engineering efforts rather than drop-in patches.
A. Fil-C-specific: authenticate the metadata
Keyed capability MACs: At allocation time, compute and store for each object's bounds, and verify it before use. A flipped upper-bound word no longer matches the stored tag, so the dereference faults rather than silently accepting the expanded bound. PT-Guard [18] applies the same defence to page tables. PACMem [36] and CryptSan [37] similarly repurpose Arm Pointer Authentication to protect pointers and metadata. Note that Arm's Pointer Authentication Codes, if used as the authenticator, are speculatively forgeable [38] and a MAC over the bounds inherits that issue. Permission-overlay primitives such as Arm POE/POE2 might support related protection. Three design constraints are easy to overlook.
-
There is no free “spare word.” The 16-byte inline header in Fil-C 0.679 is fully occupied by the 8-byte upper bound and 8-byte aux word ( ). Even a truncated tag would widen the header, perturbing the libpas size classes and measured slab stride ( ), increasing per-object memory use, and changing ABI-visible layout assumptions. This is a genuine layout change, not reuse of an idle field.
-
The key must live off the heap. A MAC is only as strong as its key. If K is stored in ordinary DRAM, it shares the metadata's physical-fault exposure. An uncontrolled flip would normally invalidate existing tags, but an attacker who recovers K or forces it to a known value could forge tags. A sound design must keep K secret and integrity-protected outside hammerable DRAM, for example in a control or model-specific register, or derive a per-process key from a register-resident root secret. We treat this as a real design constraint rather than a solved detail. On a stock ISA, a reserved general-purpose register is visible to other code in the process and may be spilled when the compiler or operating system saves register state. A dedicated non-spillable key register could avoid these problems, but requires additional ISA support and is not readily deployable on existing processors.
Network- and eviction-based variants further lower the privilege and colocation bar, see [33], [34]. We do not rely on them.
- Verification is not “a few instructions.” A software SipHash [39] over the 16-byte bound pair costs tens of cycles per check on a stock ISA, significant on a hot dereference path. Verification can instead be amortised across FUGC sweeps rather than performed on every dereference. This improves throughput but detects corruption only at the next collection rather than at first use.
Redundant bound storage: Store upper at two physically distant locations and compare them at each use, forcing two independent flips of identical effect and making exploitation substantially harder. The cost is an additional cache miss per dereference and a doubled bound footprint. The replicas must also remain atomically consistent across legitimate updates and FUGC, or the comparison itself may cause spurious faults.
A runnable check: We implemented a self-contained program that reproduces the Fil-C 0.679 inline-header layout ( II-A) and implements three variants of the bounds check: the current unauthenticated baseline, the keyed capability MAC, and redundant bound storage. Given the identical single-bit flip applied to the deterministic path, the Fil-C baseline silently accepts the corrupted bound. In contrast, both the keyed MAC and the redundant copy trigger a fault. This isolates metadata integrity from physical delivery.
B. General Rowhammer defences: raise the delivery bar
These measures are not specific to Fil-C: they protect any in-DRAM-metadata scheme, but Fil-C cannot deploy them on its own.
ECC memory: Both lab machines use non-ECC memory. On DDR4, in-DRAM TRR did not prevent delivery ( VI-G), so it cannot substitute for ECC. This is consistent with the literature: SECDED ECC corrects an isolated single-bit error and would prevent software from observing the corruption used here. It does not, however, categorically prevent crafted multi-bit patterns. ECCploit [28] shows that correction latency provides a timing side channel for identifying exploitable multi-bit templates, while defeating system-level ECC requires additional ECC-aware templating and fault handling [29]. Enterprise Chipkill raises the bar further but does not guarantee the absence of multi-bit silent data corruption and we do not evaluate it here. ECC remains a delivery-side defence: it makes corruption harder to deliver but does not protect the runtime once corrupted metadata is consumed. This motivates the metadata-authentication defences above.
Physical row isolation. Keeping attacker and victim pages in non-adjacent DRAM rows prevents disturbance from reaching the metadata and therefore denies Phase 3. Software mitigations include ZebRAM, which interleaves guard rows [40], and SoftTRR, which uses a software analogue of TRR to protect page tables [41]. Neither is widely deployed on commodity Linux, and both add memory and performance overheads.
clflush restriction. Blocking clflush at the hypervisor raises the cost of hammering by forcing slower software eviction sets, but does not eliminate it: JavaScript-based attacks hammer without clflush [11], [12].
TABLE VI MITIGATIONS: FAMILY, WHAT THEY TARGET, AND PRINCIPAL COST OR CAVEAT.
| Mitigation | Targets | Principal cost / caveat | |
|---|---|---|---|
| Keyed MAC | bound | Fil-C metadata | wider header (size classes, ABI); key must be off-heap; ~tens of cycles/check; TOCT-TOU window |
| Redundant bounds | Fil-C metadata | extra cache miss; replica consistency under FUGC | |
| ECC (SECDED) | delivery | single-bit only; multi-bit silent data corruption and ECC side channels remain [28], [29] | |
| Row isolation | delivery | not mainstream; memory/perf overhead [40], [41] | |
| clflush block | delivery | bypassable from JavaScript [11], [12] | |
X. CONCLUSION
We showed that Fil-C's InvisiCap memory safety rests on an unstated assumption: that commodity DRAM faithfully preserves the bounds metadata the runtime checks. In Fil-C 0.679 that metadata is an unauthenticated word of ordinary DRAM at payload-16. A single bit flip in it, the canonical effect of a Rowhammer fault, silently expands the object's permitted range by bytes and is invisible to the runtime. We demonstrated the consequence end-to-end against the Fil-C 0.679 runtime on commodity hardware. In the no-flip control, the runtime hard-panicked as expected, confirming that the bypass depends on metadata corruption. A single bit flip triggered each of our four case studies: an out-of-bounds read/write primitive, secret disclosure, privilege escalation, and cross-tenant key disclosure from a multi-tenant SQLite credential service. We also validated the complete physical chain. On a susceptible DDR3 machine, a genuine hammer-induced flip landed in a live victim's metadata word and bypassed the runtime. We then reproduced the same fully physical chain for all four case studies on a TRR-equipped DDR4 module. These results show that in-DRAM Target Row Refresh did not close the delivery channel on the tested module. Our results are best understood as a conditional claim: if templating and memory placement deliver a usable Rowhammer flip to the stored upper-bound word of a live object, then Fil-C can silently permit an out-of-bounds access to that object. This occurs without a panic, signal, or machine check, thereby defeating Fil-C's spatial-safety guarantee for the object. The Rowhammer literature has already established the feasibility of its antecedent across DRAM generations.
XI. ETHICS CONSIDERATIONS
We have considered the ethical implications of this work following the NDSS guidelines and the Menlo Report principles of beneficence, respect for persons, and justice.
No harm to third parties: Every experiment in this paper runs entirely on our own lab machines. The attacker process forks the victim as its own child and communicates only through a private shared-memory handshake; no other process, user, host, or remote system is ever targeted, and no human-subject, personal, or production data is involved. The bare-metal hammering engine disturbs only DRAM we own, and we ran it only on dedicated, isolated machines with no other workloads and no network exposure during hammering campaigns, precisely because uncontrolled hammering can perturb unrelated memory. We withhold the exact platform and DRAM module identities for the DDR3 and DDR4 result ( ) from the public text pending coordinated vendor disclosure (see below).
Benign by design: Our proof-of-concept code is deliberately constrained so that it grants no capability its operator does not already possess. It runs entirely on the operator's own machine: the deterministic path writes only to a forked child the operator already controls (via /proc/pid/mem, permitted for one's own child under the default Linux Yama policy), and the bare-metal engine disturbs only DRAM the operator owns. The code contains no self-propagation, no network component, and no facility for targeting a process the operator does not own.
Nature of the disclosed weakness: What we report is not an implementation defect that a point patch removes, but a structural consequence of storing unauthenticated bounds metadata in commodity DRAM. This is a deliberate Fil-C design choice made for ISA compatibility and complete checking on stock CPUs. The delivery primitive (Rowhammer) is well-established prior work; we contribute no new or faster way to induce flips. The marginal risk posed by publication is therefore low. The benefit, however, is substantial: it alerts designers of compiler-based memory-safety systems to an unguarded assumption and counters the wider misconception that Rowhammer has been solved.
Responsible disclosure: We are notifying two categories of parties, on the same coordinated timeline, ahead of publication. First, the Fil-C maintainer (Filip Pizlo), since the exposure is specific to InvisiCap's design: we share the metadata-corruption consequence and our proposed mitigations ( ). Second, the DRAM manufacturers of the specific modules on which we demonstrate a physical, hammer-induced flip ( , ), since the underlying delivery primitive is a property of their parts; we describe the susceptible module(s) and the conditions under which we observed flips, and note that what is new here is the consequence for a software safety runtime, not the underlying class of hardware fault, for which we introduce no new delivery technique.
We contacted the Fil-C maintainer and one of the affected DRAM manufacturers directly on 27 July 2026: neither responded. Seeking help to coordinate with the remaining affected parties on a timeline compatible with this submission's double-blind review, on 12 August 2026 we filed a report with the CERT Coordination Center (CERT/CC) via its VINCE portal and shared an anonymised draft of this paper under embargo. On 14 August 2026, CERT/CC declined to open a coordination case or pursue a CVE. Its rationale was that the delivery primitive, Rowhammer, is already public and that the exposure is not a code defect. This matches our characterisation of the issue. Following CERT/CC's recommendation, we are setting a target date for public disclosure and sending dated advisories directly to the affected parties. If they remain unresponsive, we will proceed with publication and request a CVE from MITRE at that time.
Because the exposure follows from a documented Fil-C design decision rather than a hidden implementation bug, and because Rowhammer susceptibility on the specific consumer modules we tested is already broadly established in the literature rather than a novel finding about those vendors' current product lines, we judged a coordinated-disclosure window rather than a strict embargo to be appropriate; we nonetheless withhold identifying platform/module details from the public text until that window closes (see above).
ACKNOWLEDGMENT
The authors would like to thank Tariq Kurd for discussions about CHERI.
REFERENCES
[1] S. Nagarakatte, J. Zhao, M. M. K. Martin, and S. Zdancewic, “SoftBound: Highly compatible and complete spatial memory safety for C,” in Proc. ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 2009, pp. 245–258.
[2] K. Serebryany, D. Bruening, A. Potapenko, and D. Vyukov, “AddressSanitizer: A fast address sanity checker,” in Proc. USENIX Annual Technical Conference (ATC), 2012, pp. 309–318.
[3] J. Woodruff, R. N. M. Watson, D. Chisnall, S. W. Moore, J. Anderson, B. Davis, B. Laurie, P. G. Neumann, R. Norton, and M. Roe, “The CHERI capability model: Revisiting RISC in an age of risk,” in Proc. 41st Annual International Symposium on Computer Architecture (ISCA), 2014, pp. 457–468.
[4] K. Serebryany, E. Stepanov, A. Shlyapnikov, V. Tsyrklevich, and D. Vyukov, “Memory tagging and how it improves C/C++ memory safety,” arXiv:1802.09517, 2018.
[5] F. Pizlo, “Fil-C: Memory safety with fanatical C/C++ compatibility,” 2024, https://github.com/pizlonator/fil-c.
[6] Y. Kim, R. Daly, J. Kim, C. Fallin, J. H. Lee, D. Lee, C. Wilkerson, K. Lai, and O. Mutlu, “Flipping bits in memory without accessing them: An experimental study of DRAM disturbance errors,” in Proc. 41st Annual International Symposium on Computer Architecture (ISCA), 2014, pp. 361–372.
[7] O. Mutlu, A. Olgun, and A. G. Yağlıkçı, “Fundamentally understanding and solving RowHammer,” in Proc. 28th Asia and South Pacific Design Automation Conference (ASP-DAC), 2023, pp. 461–468.
[8] M. Seaborn and T. Dullien, “Exploiting the DRAM rowhammer bug to gain kernel privileges,” in Black Hat USA, 2015.
[9] K. Razavi, B. Gras, E. Bosman, B. Preneel, C. Giuffrida, and H. Bos, "Flip Feng Shui: Hammering a needle in the software stack," in Proc. 25th USENIX Security Symposium, 2016, pp. 1–18.
[10] V. van der Veen, Y. Fratantonio, M. Lindorfer, D. Gruss, C. Maurice, G. Vigna, H. Bos, K. Razavi, and C. Giuffrida, “Drammer: Deterministic rowhammer attacks on mobile platforms,” in Proc. ACM SIGSAC Conference on Computer and Communications Security (CCS), 2016, pp. 1675–1689.
[11] D. Gruss, C. Maurice, and S. Mangard, “Rowhammer.js: A remote software-induced fault attack in JavaScript,” in Proc. 13th International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment (DIMVA), 2016, pp. 235–255.
[12] F. de Ridder, P. Frigo, E. Vannacci, H. Bos, C. Giuffrida, and K. Razavi, "SMASH: Synchronized many-sided rowhammer attacks from JavaScript," in Proc. 30th USENIX Security Symposium, 2021, pp. 1001–1018.
[13] A. Kwong, D. Genkin, D. Gruss, and Y. Yarom, “RAMBleed: Reading bits in memory without accessing them,” in Proc. IEEE Symposium on Security and Privacy (S&P), 2020, pp. 695–711.
[14] P. Jattke, V. van der Veen, P. Frigo, S. Gunter, and K. Razavi, “Blacksmith: Scalable rowhammering in the frequency domain,” in Proc. IEEE Symposium on Security and Privacy (S&P), 2022, pp. 716–734.
[15] H. Luo, A. Olgun, A. G. Yağlıkçı, Y. C. Tuğrul, S. Rhyner, M. B. Cavlak, J. Lindegger, M. Sadrosadati, and O. Mutlu, “RowPress: Amplifying read disturbance in modern DRAM chips,” in Proc. 50th Annual International Symposium on Computer Architecture (ISCA), 2023, pp. 1–17.
[16] P. Frigo, E. Vannacci, H. Hassan, V. van der Veen, O. Mutlu, C. Giuffrida, H. Bos, and K. Razavi, “TRRRespass: Exploiting the many sides of target row refresh,” in Proc. IEEE Symposium on Security and Privacy (S&P), 2020, pp. 747–762.
[17] P. Jattke, M. Wipfli, F. Solt, M. Marazzi, M. Bölcskei, and K. Razavi, "ZenHammer: Rowhammer attacks on AMD Zen-based platforms," in Proc. 33rd USENIX Security Symposium, 2024.
[18] A. Saxena, G. Saileshwar, J. Juffinger, A. Kogler, D. Gruss, and M. Qureshi, “PT-Guard: Integrity-protected page tables to defend against breakthrough rowhammer attacks,” in Proc. 53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN), 2023, pp. 95–108.
[19] T. Aird, H. Almatary, A. A. Garcia, J. Baldwin, P. Buxton, D. Chisnall, J. Clarke, B. Davis, N. W. Filardo, F. A. Fuchs, T. Hutt, A. Joannou, M. Kaiser, T. Kurd, B. Laurie, M. van der Maas, M. Malenko, A. T. Markettos, D. McKay, J. Melling, S. Menefy, S. W. Moore, P. G. Neumann, R. Norton, A. Richardson, M. Roe, P. Rugg, P. Sewell, C. Shaw, R. Tura, R. N. M. Watson, T. Wenman, J. Woodruff, J. Z. Yu, R. Riglar, and F. Schmaus, “RISC-V Specification for CHERI Extensions,” https://riscv.github.io/riscv-cheri/, version: version v0.9.8.2-draft-e73e578.
[20] F. Pizlo, “Fil-C capability introspection API,” https://github.com/pizlonator/fil-c/blob/deluge/filc/include/stdfil.h, August 2026.
[21] —, “Fil’s Unbelievable Garbage Collector,” https://fil-c.org/fugc, accessed 19 June 2026.
[22] J. Bonwick, “The slab allocator: An object-caching kernel memory allocator,” in USENIX Summer 1994 Technical Conference. Boston, MA: USENIX Association, Jun. 1994. [Online]. Available: https://www.usenix.org/conference/usenix-summer-1994-technical-conference/slab-allocator-object-caching-kernel
[23] D. Leijen, B. Zorn, and L. de Moura, “Mimalloc: Free List Sharding in Action,” in Programming Languages and Systems, ser. Lecture Notes in Computer Science, A. W. Lin, Ed., vol. 11893. Cham: Springer, 2019, pp. 244–265. [Online]. Available: https://doi.org/10.1007/978-3-030-34175-6_13
[24] A. Naseredini, “Exploring the horizon: A comprehensive survey of rowhammer,” arXiv:2310.06950, 2023.
[25] O. Mutlu and J. S. Kim, “RowHammer: A retrospective,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (TCAD), vol. 39, no. 8, pp. 1555–1571, 2020.
[26] D. Gruss, M. Lipp, M. Schwarz, D. Genkin, J. Juffinger, S. O'Connell, W. Schoechl, and Y. Yarom, "Another flip in the wall of rowhammer defenses," in Proc. IEEE Symposium on Security and Privacy (S&P), 2018, pp. 245–261.
[27] The Linux Kernel Developers, “pagemap, from the userspace perspective,” https://docs.kernel.org/admin-guide/mm/pagemap.html, accessed August 2026; since Linux 4.2 the PFN field is zeroed unless the reader holds CAP_SYS_ADMIN.
[28] L. Cojocar, K. Razavi, C. Giuffrida, and H. Bos, “Exploiting correcting codes: On the effectiveness of ECC memory against rowhammer attacks,” in Proc. IEEE Symposium on Security and Privacy (S&P), 2019, pp. 55–71.
[29] A. D. Dio, K. Koning, H. Bos, and C. Giuffrida, “Copy-on-flip: Hardening ECC memory against rowhammer attacks,” in Proc. Network and Distributed System Security Symposium (NDSS), 2023.
[30] P. Pessl, D. Gruss, C. Maurice, M. Schwarz, and S. Mangard, “DRAMA: Exploiting DRAM addressing for cross-CPU attacks,” in Proc. 25th USENIX Security Symposium, 2016, pp. 565–581.
[31] J. Woodruff, A. Joannou, H. Xia, A. Fox, R. M. Norton, D. Chisnall, B. Davis, K. Gudka, N. W. Filardo, A. T. Markettos, M. Roe, P. G. Neumann, R. N. M. Watson, and S. W. Moore, “CHERI Concentrate:
Practical Compressed Capabilities," IEEE Transactions on Computers, vol. 68, no. 10, pp. 1455–1469, 2019.
[32] Z. Yu, G. Yang, and X. Xing, “ShadowBound: Efficient Heap Memory Protection Through Advanced Metadata Management and Customized Compiler Optimization,” in 33rd USENIX Security Symposium (USENIX Security 24). Philadelphia, PA: USENIX Association, Aug. 2024, pp. 7177–7193. [Online]. Available: https://www.usenix.org/conference/usenixsecurity24/presentation/yu-zheng
[33] A. Tatar, R. K. Konoth, E. Athanasopoulos, C. Giuffrida, H. Bos, and K. Razavi, “Throwhammer: Rowhammer Attacks over the Network and Defenses,” in Proceedings of the 2018 USENIX Conference on Usenix Annual Technical Conference, ser. USENIX ATC '18. USA: USENIX Association, 2018, p. 213–225.
[34] M. Lipp, M. Schwarz, L. Raab, L. Lamster, M. T. Aga, C. Maurice, and D. Gruss, “Nethammer: Inducing Rowhammer Faults through Network Requests,” in 2020 IEEE European Symposium on Security and Privacy Workshops (EuroS&PW), 2020, pp. 710–719.
[35] A. Kogler, J. Juffinger, S. Qazi, Y. Kim, M. Lipp, N. Boichat, E. Shiu, M. Nissler, and D. Gruss, “Half-Double: Hammering from the next row over,” in Proc. 31st USENIX Security Symposium (USENIX Security), 2022, pp. 3807–3824.
[36] Y. Li, W. Tan, Z. Lv, S. Yang, M. Payer, Y. Liu, and C. Zhang, “PACMem: Enforcing Spatial and Temporal Memory Safety via ARM Pointer Authentication,” in Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security, ser. CCS '22. New York, NY, USA: Association for Computing Machinery, 2022, p. 1901–1915. [Online]. Available: https://doi.org/10.1145/3548606.3560598
[37] K. Hohentanner, P. Zieris, and J. Horsch, “CryptSan: Leveraging ARM Pointer Authentication for Memory Safety in C/C++,” in Proceedings of the 38th ACM/SIGAPP Symposium on Applied Computing, ser. SAC '23. ACM, Mar. 2023, p. 1530–1539. [Online]. Available: http://dx.doi.org/10.1145/3555776.3577635
[38] J. Ravichandran, W. T. Na, J. Lang, and M. Yan, “PACMAN: attacking ARM pointer authentication with speculative execution,” in Proceedings of the 49th Annual International Symposium on Computer Architecture, ser. ISCA '22. New York, NY, USA: Association for Computing Machinery, 2022, p. 685–698. [Online]. Available: https://doi.org/10.1145/3470496.3527429
[39] J.-P. Aumasson and D. J. Bernstein, “SipHash: A fast short-input PRF,” in Progress in Cryptology – INDOCRYPT, ser. LNCS, vol. 7668, 2012, pp. 489–508.
[40] R. K. Konoth, M. Oliverio, A. Tatar, D. Andriesse, H. Bos, C. Giuffrida, and K. Razavi, “ZebRAM: Comprehensive and Compatible Software Protection Against Rowhammer Attacks,” in 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18). Carlsbad, CA: USENIX Association, Oct. 2018, pp. 697–710. [Online]. Available: https://www.usenix.org/conference/osdi18/presentation/konoth
[41] Z. Zhang, Y. Cheng, M. Wang, W. He, W. Wang, S. Nepal, Y. Gao, K. Li, Z. Wang, and C. Wu, “SoftTRR: Protect Page Tables against Rowhammer Attacks using Software-only Target Row Refresh,” in 2022 USENIX Annual Technical Conference (USENIX ATC 22). Carlsbad, CA: USENIX Association, Jul. 2022, pp. 399–414. [Online]. Available: https://www.usenix.org/conference/atc22/presentation/zhang-zhi