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%.
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.
Sources: ETH Zurich, Phoenix on GitHub
Add your own comment

16 Comments on SK Hynix DDR5 DIMMs Vulnerable to "Phoenix" Rowhammer Attack, On-Die ECC Exposed Too

#1
Drash
I understood nearly all of the words 4 letters and under long. I'm pretty sure the people I hang out with are similar. Do I need a stronger tinfoil hat or wrap my pc in tinfoil? Why would/should I be worried - don't the government have a backdoor in every pc? I didn't patch my 6700k for spectre and only retired it 6 months ago. Did I get pwned? Why would they do this to me? This pc security stuff is bewildering.
Posted on Reply
#2
ncrs
[...] even with ECC memory modules [...]
Here we go again with the DDR5 "ECC" confusion :)
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:
Investigating an ECC variant of Phoenix would be an interesting direction for future research.
Posted on Reply
#4
BMfan80
Oh well, since everything electronic is now a liability, we might as well just destroy everthing electronic.
Posted on Reply
#5
kala
This is very worrying stuff. I mean compared to world peace and whatnot....
Posted on Reply
#6
azrael
ncrsHere we go again with the DDR5 "ECC" confusion :)
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:
Beat me to it. :)

Only thing to add is: for DDR5, ECC means Side-band ECC. Then, and only then, can you claim that "even ECC" is affected.
Posted on Reply
#7
freeagent
I guess that is why the August 2025 AGESA update is kind of shitty on the memory side for latency. R/W/C are elevated, but latency takes a mean hit.

Edit:

Dammit.
Posted on Reply
#8
InVasMani
I hate that this feels normalized at this point with technology these days.
Posted on Reply
#9
user556
InVasManiI hate that this feels normalized at this point with technology these days.
It'll be a worsening issue with newer DRAM, not because of more efforts to exploit, that will need more and more effort to rectify. This is because it's a side effect of increasing DRAM density. The closer the cells are packed together the more crosstalk effect it has.

Normally crosstalk is avoided with electrical shielding but shielding takes up valuable space.
Posted on Reply
#10
R-T-B
InVasManiI hate that this feels normalized at this point with technology these days.
You just need to understand that there are risk assesments usually done on this stuff that don't get reported.

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"
user556It'll be a worsening issue with newer DRAM, not because of more efforts to exploit, that will need more and more effort to rectify. This is because it's a side effect of increasing DRAM density. The closer the cells are packed together the more crosstalk effect it has.

Normally crosstalk is avoided with electrical shielding but shielding takes up valuable space.
This has been an issue since DDR2, probably earlier. It's architectural to how DRAM works really.
Posted on Reply
#11
user556
R-T-BThis has been an issue since DDR2, probably earlier. It's architectural to how DRAM works really.
Yes, and no. Yes, it is inherent to the DRAM cell refreshing mechanism but it's also very much tied to sensitivity of the cells to disturbance. And that sensitivity, combined with proximity to perturbances, is getting worse with each shrink in node size used by the manufacturers.

So where it was very difficult to achieve in the past, it is now becoming easier and easier.
Posted on Reply
#12
R-T-B
user556So where it was very difficult to achieve in the past, it is now becoming easier and easier.
That is certainly possible but a.) I haven't seen any evidence either way, it just kind of makes sense, and b.) I would not say easier given in the DDR3 era you could pulloff rowhammer super easy due to no mitigations. If anything, the complexity level of this recent attack whitepaper has me thinking its become much harder... likely due to mitigations and ECC on-die but still.
Posted on Reply
#13
user556
I'd imagine they could draw a nice smooth graph of cell density vs hammer effect. And then more graphs comparing various mitigations like increased rate of refresh and ECC.
Posted on Reply
#14
Wirko
R-T-BThat is certainly possible but a.) I haven't seen any evidence either way, it just kind of makes sense, and b.) I would not say easier given in the DDR3 era you could pulloff rowhammer super easy due to no mitigations. If anything, the complexity level of this recent attack whitepaper has me thinking its become much harder... likely due to mitigations and ECC on-die but still.
Are any details publicly known about on-die ECC? Is it something primitive like 8-bit parity, which would make it easy to predict the combinations of flipped bits it doesn't detect? The fact that it doesn't completely resolve the problem is scary.
Posted on Reply
#15
_roman_
I think it was discussed ages ago.

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.
Posted on Reply
#16
Launcestonian
I was just checking for bios updates on one of my AM5 boards, not something I do every day but... & looks like Gigabyte have a fix for this issue with F39 bios.
Have MSI & Asus B650 boards as well, but no info about bios updates addressing this issue from them.
Posted on Reply
Add your own comment
Dec 5th, 2026 04:50 CST change timezone

New Forum Posts

Popular Reviews

TPU on YouTube

Controversial News Posts