Tuesday, September 16th 2025
SK Hynix DDR5 DIMMs Vulnerable to "Phoenix" Rowhammer Attack, On-Die ECC Exposed Too
Researchers from ETH Zurich and Google have shown that SK Hynix DDR5 modules remain vulnerable to a new Rowhammer variant they call Phoenix (CVE-2025-6202), even with on-die ECC memory modules. The attack can be executed in only 109 seconds, making it a very realistic threat. By reverse engineering the built-in DRAM mitigation (TRR) for the already existing Rowhammer exploit, the team found a blind spot in the refresh-sampling logic: the mitigation's sampling period repeats every 128 tREFI intervals and, within those intervals, the first two of four sub-intervals are "lightly sampled." Leveraging this, the researchers crafted two novel long-running hammer patterns: a shorter 128-tREFI pattern and a much longer 2608-tREFI pattern. They later coupled them with a new self-correcting refresh synchronization method that realigns the attack whenever a refresh is missed. This synchronization is what lets Phoenix maintain alignment across thousands of refresh intervals, something prior routines like Zenhammer could not do reliably.
On 15 SK Hynix DDR5 modules, manufactured between late 2021 and late 2024, every module flipped bits under one of the two patterns. The 128-tREFI pattern was about 2.62× more effective on average. The team observed thousands of bit flips per DIMM and turned those flips into real-world primitives: page-table corruption, yielding arbitrary read/write access, extraction of valuable RSA-2048 keys from co-located VMs in many cases, and local privilege escalation by corrupting the sudo binary on some DIMMs. To increase the probability of hitting a vulnerable refresh offset (only 2 of 128 offsets are vulnerable, which is 1.56%), they run four shifted pattern instances across each of the four banks in parallel, boosting the hit probability by 16× to roughly 25%.
Sources:
ETH Zurich, Phoenix on GitHub
On 15 SK Hynix DDR5 modules, manufactured between late 2021 and late 2024, every module flipped bits under one of the two patterns. The 128-tREFI pattern was about 2.62× more effective on average. The team observed thousands of bit flips per DIMM and turned those flips into real-world primitives: page-table corruption, yielding arbitrary read/write access, extraction of valuable RSA-2048 keys from co-located VMs in many cases, and local privilege escalation by corrupting the sudo binary on some DIMMs. To increase the probability of hitting a vulnerable refresh offset (only 2 of 128 offsets are vulnerable, which is 1.56%), they run four shifted pattern instances across each of the four banks in parallel, boosting the hit probability by 16× to roughly 25%.
For mitigations, the authors tested a pragmatic stopgap: tripling the DRAM refresh rate (tREFI is roughly 1.3 μs) stopped Phoenix from producing bit flips in their testbed. However, that carries a measurable cost yielding as much as 8.4% overhead on SPEC CPU2017. They also note that BIOS and firmware updates are immediate levers vendors can use. Thanks to the team's responsible disclosure efforts, it led to coordination with SK Hynix, CPU vendors, and cloud providers to mitigate parts of the issue, like a BIOS update for AMD machines, which was announced during the embargo period. The team published artifacts and a proof-of-concept on GitHub so administrators can test modules in their environments, stressing that the code is intended for diagnosis, not fighting the exploit.


16 Comments on SK Hynix DDR5 DIMMs Vulnerable to "Phoenix" Rowhammer Attack, On-Die ECC Exposed Too
This paper only considers on-die ECC which is not the "true" ECC used in servers that require extra lines and chips to function. On-die ECC is indeed not sufficient to counter this new Rowhammer variant which basically means normal DDR5 modules since ODECC is mandatory for DDR5. From the paper:
Only thing to add is: for DDR5, ECC means Side-band ECC. Then, and only then, can you claim that "even ECC" is affected.
Edit:
Dammit.
Normally crosstalk is avoided with electrical shielding but shielding takes up valuable space.
Rowhammer isn't anything new, they've been trying to kill it for several generations of DDR now but just can't quite get it right. Its of no concern to end users but some big cloud vendors worry about "potential avenues for abuse"This has been an issue since DDR2, probably earlier. It's architectural to how DRAM works really.
So where it was very difficult to achieve in the past, it is now becoming easier and easier.
DDR5 has not proper ECC, I call it fake ECC.
There is proper Server GRADE DDR5 ECC DRAM, in my words.
I'm also not fond that consumer chips do not have glue logic for ECC build in.
Have MSI & Asus B650 boards as well, but no info about bios updates addressing this issue from them.