• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

AMD Flaws, Fastforwarding to 2020: Any concerns with Zen 2 / x570 Chipsets?

Status
Not open for further replies.

rugabunda

New Member
Joined
May 22, 2018
Messages
24 (0.01/day)
NSA says "Purchase business-class AMD machines that lack "gamer" features such as overclocking, firmware modding support (etc)

Here is the NSA's github guide for Firmware: https://github.com/nsacyber/Hardware-and-Firmware-Security-Guidance

3.2 Ryzenfall, Chimera, Fallout, and Masterkey
Together, these four named attacks constitute what is publicized as "AMD Flaws" and over a dozen vulnerabilities. Many vulnerabilities assume the compromise of administrator credentials or completely inept software-vetting processes. Some of the vulnerabilities are a direct result of debug features left enabled for use in advanced system tweaking common in the overclocking and gaming communities.

To mitigate AMD Flaws, purchase business-class machines that lack "gamer" features such as overclocking, fan control, custom thermal management, RGB lighting, and firmware modding support. Also ensure that all firmware, microcode, and software updates are applied. Carefully analyze software before using it in conjunction with the AMD Secure Processor (SP) or Platform Security Processor (PSP) protected enclaves.

I GUESS they mean HP all in one PC/laptops exclusively. Anything future Zen 2 that is offered under the same product lines listed here should be the most secure platform you can get.

HP's Chimera/Fallout/Ryzenfall/Masterkey was patched in products that date back as far as 2015:

HP ProDesk 405 G2, uses "AMD Pro A8-8600B" cpu, released on 06/03/2015
HP Slimline 450, AMD E1-6015; 2nd quarter 2015
HP OMEN 870-0xx patch features an intel chipset (obviously a patch for Asmedia's chimera, which affects both AMD & Intel chipsets)
HP Pavilion 24-xa0xxx patch features an intel chipset (obviously a patch for chimera, which affects both AMD & Intel chipsets)

Meanwhile, I had spoken to Asus in First quarter of 2019, they had told me they were STILL working on patches for these fatal exploits in their latest motherboards, some released in 2018. Meanwhile patches were already released months earlier by the only company that confirmed AMD Flaw patches were released, HP. I was unable to get any straight answer or response from MSI, Gigabyte, or Asrock inquiring into AMD flaw patches.

However, I was told by Asus quote: "Once the patch has passed through quality assurance, it will then be distributed to AMD’s OEM partners through AGESA"

As of x570 AMD stopped outsourcing their chipset to Asmedia and started printing their own in-house, including USB & PCIe chipset. ASMedia was responsible for chimera, a back door built into their USB chipsets hardware and firmware... affecting USB ASM1042, ASM1142, ASM1143. SATA, ASM1061, among others. This one I assume we can be confident is taken care of.

I assume the Zen 2 platform and x570 will have patched all of these flaws. Should we take the NSA's advice and use business class machines ONLY with the x570 chipset and avoid the gaming rig? Should we wait until Zen 3? Any tips?
 
Last edited:
D

Deleted member 185158

Guest
Oh no, what does this mean??!!

No seriously, I'm not holding my hands to my cheeks......
 

tabascosauz

Moderator
Supporter
Staff member
Joined
Jun 24, 2015
Messages
7,497 (2.33/day)
Location
Western Canada
System Name ab┃ob
Processor 7800X3D┃5800X3D
Motherboard B650E PG-ITX┃B550-I Strix
Cooling PA120+T30┃AXP120x67
Memory 64GB 6000CL30┃32GB 3600CL14
Video Card(s) RTX 4070 Ti Eagle┃RTX A2000
Storage 8TB of SSDs┃1TB SN550
Display(s) 43" QN90B / 32" M32Q / 27" S2721DGF
Case Caselabs S3┃Lone Industries L5
Power Supply Corsair HX1000┃HDPlex
X570 eliminated Promontory's flaws, because it's literally a Zen 2 client I/O die manufactured on the 14nm process normally used for EPYC 7xxx I/O dies. Problem is, a good chunk of the Zen 2 userbase doesn't use the Bixby chipset, because they opt for B450/X370/X470, which is obviously still Promontory.

NSA's blanket suggestion to essentially avoid aftermarket hardware sounds a little stupid, but it's not entirely without merit. Motherboard vendors are notoriously bad at releasing microcode and BIOSes to patch vulnerabilities in older hardware. Look at how many years the Intel vulnerabilities have been in the media. They just can't be bothered; there are so many boards, and by their calculations, so few users who might actually suffer security issues in their uses. I'd bet that in 2020, they probably just assume that those hardware generations have either died off / are in the process of dying / have been replaced by newer hardware. The Microcode Boot Loader tool, found right here on TPU, is proof of what users had to do to fill that void.

My main concern lies with PSP. It's, at its core, AMD's take on the Management Engine, and from its closed-off design, there's both very little information available on it and a very high likelihood it'll suffer the same fate as Intel's ME. "Our design works differently than Intel, and isn't vulnerable" isn't going to work here.

Problem there is, Intel is cagey and scummy when it comes to exploits, but they pay people to find the vulnerabilities. AMD doesn't, and AMD's first reaction to any vulnerability-related discussion in the past is "oh, we're not Intel, we're fine. We're fine. Listen, really, there aren't any problems with our products."

Muddying the waters further is the whole controversy around whether CTS Labs really exists, and/or whether they're a paid Intel shill. They probably are, but Ryzen isn't perfect. I can't remember the exact vulnerability affecting Zen and Zen+, but AMD's response was basically "hey look, it's been completely fixed with Zen 2, so you should upgrade to Zen 2."

@biffzinker I don't think it was the RDRAND bug, since there were still reports on Zen 2. Probably not segfault, I'm thinking of an article most likely on Anand that was published between Zen+ and 2.
 
Last edited:

GLD

Joined
May 13, 2006
Messages
1,631 (0.25/day)
Location
City 17, California, U.S.A.
Processor AMD Ryzen 7 5700X, AMD Wraith Prism.
Motherboard ASUS TUF X570-Plus (Wi-Fi).
Cooling Antec 120mm RGB case fans.
Memory 4x8gb, G.SKILL F4-3600C16D-16GVKC.
Video Card(s) Sapphire Pulse RX 6700.
Storage PNY XLR8 CS3040 2TB 4.0x4 NVMe ssd with Vantec ICEBERQ heat sink.
Display(s) ASUS VP278QG 27", 1080p, 75hz, FreeSync.
Case Antec GX202.
Audio Device(s) Onboard sound, Logitech Z625 THX 2.1's, Logitech G430 headphones.
Power Supply Seasonic Prime GX-750.
Mouse Logitech G203 Prodigy.
Keyboard Logitech G213.
Software Windows 11 Pro, @ Day 1.
I have an Asus Tuf X570 board and a Ryzen 3600 on the way. Seeing as the X570 chip is built by AMD themselves, I fell secure, and happy for the new kit.
 
Joined
Mar 23, 2016
Messages
4,839 (1.64/day)
Processor Ryzen 9 5900X
Motherboard MSI B450 Tomahawk ATX
Cooling Cooler Master Hyper 212 Black Edition
Memory VENGEANCE LPX 2 x 16GB DDR4-3600 C18 OCed 3800
Video Card(s) XFX Speedster SWFT309 AMD Radeon RX 6700 XT CORE Gaming
Storage 970 EVO NVMe M.2 500 GB, 870 QVO 1 TB
Display(s) Samsung 28” 4K monitor
Case Phantek Eclipse P400S (PH-EC416PS)
Audio Device(s) EVGA NU Audio
Power Supply EVGA 850 BQ
Mouse SteelSeries Rival 310
Keyboard Logitech G G413 Silver
Software Windows 10 Professional 64-bit v22H2
I can't remember the exact vulnerability affecting Zen and Zen+, but AMD's response was basically "hey look, it's been completely fixed with Zen 2, so you should upgrade to Zen 2."
The segfault issue with first generation Ryzen?

AMD's RDRAND instruction?
 
Last edited:

Fourstaff

Moderator
Staff member
Joined
Nov 29, 2009
Messages
10,020 (1.91/day)
Location
Home
System Name Orange! // ItchyHands
Processor 3570K // 10400F
Motherboard ASRock z77 Extreme4 // TUF Gaming B460M-Plus
Cooling Stock // Stock
Memory 2x4Gb 1600Mhz CL9 Corsair XMS3 // 2x8Gb 3200 Mhz XPG D41
Video Card(s) Sapphire Nitro+ RX 570 // Asus TUF RTX 2070
Storage Samsung 840 250Gb // SX8200 480GB
Display(s) LG 22EA53VQ // Philips 275M QHD
Case NZXT Phantom 410 Black/Orange // Tecware Forge M
Power Supply Corsair CXM500w // CM MWE 600w
What are the odds that Zen 2 platform will have patched all of these flaws? Should we take the NSA's advice and use business class machines ONLY with the x570 chipset and avoid the gaming rig? Any tips? Should we wait until Zen 3?

Different people will have different risk tolerances. For example I don't have anything super important on my PC, losing it is no big deal for me. However, a lot of people manage their business/life around their machines. These people will need to pay more attention as an unlucky attack will turn their life upside down. Using x570 will eliminate some risks, but will certainly not eliminate the yet to be found ones. Best to do proper backups and practice good security habits.
 
Joined
Dec 10, 2014
Messages
1,325 (0.39/day)
Location
Nowy Warsaw
System Name SYBARIS
Processor AMD Ryzen 5 3600
Motherboard MSI Arsenal Gaming B450 Tomahawk
Cooling Cryorig H7 Quad Lumi
Memory Team T-Force Delta RGB 2x8GB 3200CL16
Video Card(s) Colorful GeForce RTX 2060 6GV2
Storage Crucial MX500 500GB | WD Black WD1003FZEX 1TB | Seagate ST1000LM024 1TB | WD My Passport Slim 1TB
Display(s) AOC 24G2 24" 144hz IPS
Case Montech Air ARGB
Audio Device(s) Massdrop + Sennheiser PC37X | QKZ x HBB
Power Supply Corsair CX650-F
Mouse Razer Viper Mini | Cooler Master MM711 | Logitech G102 | Logitech G402
Keyboard Drop + The Lord of the Rings Dwarvish
Software Windows 10 Education 22H2 x64
I wonder now how long before a mod locks the OP from posting. I'm from a third world Asian country that has no Jewish population to speak of but even I'm squeamish about saying anything negative about Israelis on the Internet.
 
Joined
Aug 20, 2007
Messages
20,758 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches
Software Windows 11 Enterprise (legit), Gentoo Linux x64
Lets leave political theories and conspiracies out of this. Also lets refrain from attacking complete ethnic groups over theoretical security flaws.

All I have to say re the supposed NSA guidance is consider their use case. Does it match yours? If not, quit worrying. No one is going to go to this trouble over you and most of these vulnerabiluties are old news at this point.
 
Joined
Dec 10, 2014
Messages
1,325 (0.39/day)
Location
Nowy Warsaw
System Name SYBARIS
Processor AMD Ryzen 5 3600
Motherboard MSI Arsenal Gaming B450 Tomahawk
Cooling Cryorig H7 Quad Lumi
Memory Team T-Force Delta RGB 2x8GB 3200CL16
Video Card(s) Colorful GeForce RTX 2060 6GV2
Storage Crucial MX500 500GB | WD Black WD1003FZEX 1TB | Seagate ST1000LM024 1TB | WD My Passport Slim 1TB
Display(s) AOC 24G2 24" 144hz IPS
Case Montech Air ARGB
Audio Device(s) Massdrop + Sennheiser PC37X | QKZ x HBB
Power Supply Corsair CX650-F
Mouse Razer Viper Mini | Cooler Master MM711 | Logitech G102 | Logitech G402
Keyboard Drop + The Lord of the Rings Dwarvish
Software Windows 10 Education 22H2 x64
Mayhap OP's a contractor/supplier for some Irani department or agency looking to upgrade their systems, who knows? :twitch:
Lets leave political theories and conspiracies out of this.

All I have to say re the supposed NSA guidance is consider their use case. Does it match yours? If not, quit worrying. No one is going to go to this trouble over you and most of these vulnerabiluties are old news at this point.
 
Joined
Aug 20, 2007
Messages
20,758 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches
Software Windows 11 Enterprise (legit), Gentoo Linux x64
Excuse me, stay on topic. This is not your thread to hijack. This thread is about the facts and truth regarding the situation, not political correctness or avoiding obvious facts and historical truth. Start your own thread if you want to boss people around and dictate the content of the discussion.

Then don't go offtopic with theories you can't substantiate. My comment was out of a desire to stay on topic, not viceversa.

I personally don't like the PSP because it is little understood (other than portions coming from Qualcomm patents, and not good ones) and can't be disabled like Intel's solution. Both are equally bad in concept, but at least one can eventually be disabled.
 
Joined
Apr 12, 2013
Messages
6,740 (1.68/day)
CTS disclosed their flaws prematurely which gave AMD someone to blame and excuse their PR in dealing with this; perhaps not a good move, but they're making up for it! My god they are doing a great job with their latest architecture and cpus.
No CTS was a hit job, that's what it was. If you're giving that kind of leeway to CTS then there's a host of other companies which could be hit with multiple zero day attacks, including yours truly competitor A :rolleyes:

CTS did no one any good, except trying to make a big splash outing "major" flaws. The fact that they've done nothing since will solidify many theories about their true intentions!
 
Joined
Aug 20, 2007
Messages
20,758 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches
Software Windows 11 Enterprise (legit), Gentoo Linux x64
No CTS was a hit job, that's what it was. If you're giving that kind of leeway to CTS then there's a host of other companies which could be hit with multiple zero day attacks, including yours truly competitor A :rolleyes:

It also was a real set of vulnerabilities. Overblown perhaps, but lets please analyze the facts of the security issues here rather than taking sides, political or brand-related.

My opinion is that short of local attacker access, or a specially prepared infected usb device, these vulnerabilities are nothing for end users to worry about.
 
Joined
Apr 12, 2013
Messages
6,740 (1.68/day)
Sure they were & then after the much publicized "flaws" went public not a peep from CTS. What are they doing now, what's their history? If anyone had to be blamed in that fiasco it was CTS, not in the least because their disclosures were not in good faith let alone responsible.
 
Joined
Aug 20, 2007
Messages
20,758 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches
Software Windows 11 Enterprise (legit), Gentoo Linux x64
Sure they were & then after the much publicized "flaws" went public not a peep from CTS. What are they doing now, what's their history?

Frankly, in relation to the OPs query, that is completely irrelevant.
 

AlienIsGOD

Vanguard Beta Tester
Joined
Aug 9, 2008
Messages
5,111 (0.89/day)
Location
Kingston, Ontario Canada
System Name Aliens Ryzen Rig | 2nd Hand Omen
Processor Ryzen R5 5600 | Ryzen R5 3600
Motherboard Gigabyte B450 Aorus Elite (F61 BIOS) | B450 matx
Cooling DeepCool Castle EX V2 240mm AIO| stock for now
Memory 8GB X 2 DDR4 3000mhz Team Group Vulcan | 16GB DDR4
Video Card(s) Sapphire Pulse RX 5700 8GB | GTX 1650 4GB
Storage Adata XPG 8200 PRO 512GB SSD OS / 240 SSD + 2TB M.2 SSD Games / 1000 GB Data | SSD + HDD
Display(s) Acer ED273 27" VA 144hz Freesync |TCL 32" 1080P w/ HDR
Case NZXT H500 Black | HP Omen Obelisk
Audio Device(s) Onboard Realtek | Onboard Realtek
Power Supply EVGA SuperNOVA G3 650w 80+ Gold | 500w
Mouse Steelseries Rival 500 15 button mouse w/ Razor Goliathus Chroma XL mousemat | Logitech G502
Keyboard Logitech G910 Orion Spark RGB w/ Romer G tactile keys | Logitech G513 Carbon w/ Romer G tactile keys
Software Windows 10 Pro | Windows 10 Pro
Leave Jewish ppl out of tech conversations please. I could care less if you are using it as an analogy... Also don't tell ppl what to comment or not comment as it makes you look pushy and rude as a new member.
 

rugabunda

New Member
Joined
May 22, 2018
Messages
24 (0.01/day)
@R-T-B did you end up starting that new thread on flipping the hap on Intel-ME firmware?

Remote in this context means same lan subnet I think, which USUALLY is not an issue. It also depends on very old firmware nearly no one will be running. Just update your bios.

This is not usually a web accessible vulnerability.

Yeah; unless you were hit with rowhammer via browser jit or something as such perhaps (dunno)
 
Last edited:
Joined
Aug 20, 2007
Messages
20,758 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches
Software Windows 11 Enterprise (legit), Gentoo Linux x64
I did. I have a few boards I need to update though, time is tricky to find:

 
Joined
Jan 8, 2017
Messages
8,924 (3.36/day)
System Name Good enough
Processor AMD Ryzen R9 7900 - Alphacool Eisblock XPX Aurora Edge
Motherboard ASRock B650 Pro RS
Cooling 2x 360mm NexXxoS ST30 X-Flow, 1x 360mm NexXxoS ST30, 1x 240mm NexXxoS ST30
Memory 32GB - FURY Beast RGB 5600 Mhz
Video Card(s) Sapphire RX 7900 XT - Alphacool Eisblock Aurora
Storage 1x Kingston KC3000 1TB 1x Kingston A2000 1TB, 1x Samsung 850 EVO 250GB , 1x Samsung 860 EVO 500GB
Display(s) LG UltraGear 32GN650-B + 4K Samsung TV
Case Phanteks NV7
Power Supply GPS-750C
About the RDRAND bug, it is completely beyond me why would anyone use that in the boot process of an OS. For one thing, this extension isn't present in most other CPUs out there so why use it now ? Actually, using RNG in the boost process of anything seems like a terrible idea in general and it's asking for a lot problems.
 
Joined
Mar 10, 2010
Messages
11,878 (2.31/day)
Location
Manchester uk
System Name RyzenGtEvo/ Asus strix scar II
Processor Amd R5 5900X/ Intel 8750H
Motherboard Crosshair hero8 impact/Asus
Cooling 360EK extreme rad+ 360$EK slim all push, cpu ek suprim Gpu full cover all EK
Memory Corsair Vengeance Rgb pro 3600cas14 16Gb in four sticks./16Gb/16GB
Video Card(s) Powercolour RX7900XT Reference/Rtx 2060
Storage Silicon power 2TB nvme/8Tb external/1Tb samsung Evo nvme 2Tb sata ssd/1Tb nvme
Display(s) Samsung UAE28"850R 4k freesync.dell shiter
Case Lianli 011 dynamic/strix scar2
Audio Device(s) Xfi creative 7.1 on board ,Yamaha dts av setup, corsair void pro headset
Power Supply corsair 1200Hxi/Asus stock
Mouse Roccat Kova/ Logitech G wireless
Keyboard Roccat Aimo 120
VR HMD Oculus rift
Software Win 10 Pro
Benchmark Scores 8726 vega 3dmark timespy/ laptop Timespy 6506
No problems here just using the stuff.
 
Joined
Aug 20, 2007
Messages
20,758 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches
Software Windows 11 Enterprise (legit), Gentoo Linux x64
About the RDRAND bug, it is completely beyond me why would anyone use that in the boot process of an OS. For one thing, this extension isn't present in most other CPUs out there so why use it now ? Actually, using RNG in the boost process of anything seems like a terrible idea in general and it's asking for a lot problems.

Entropy is gathered in boot process in nearly all major OSes. Yes, RDRand is used if present on Windows. I imagine they work around the AMD Zen 2 series issue though.
 
Last edited:
Joined
Jan 8, 2017
Messages
8,924 (3.36/day)
System Name Good enough
Processor AMD Ryzen R9 7900 - Alphacool Eisblock XPX Aurora Edge
Motherboard ASRock B650 Pro RS
Cooling 2x 360mm NexXxoS ST30 X-Flow, 1x 360mm NexXxoS ST30, 1x 240mm NexXxoS ST30
Memory 32GB - FURY Beast RGB 5600 Mhz
Video Card(s) Sapphire RX 7900 XT - Alphacool Eisblock Aurora
Storage 1x Kingston KC3000 1TB 1x Kingston A2000 1TB, 1x Samsung 850 EVO 250GB , 1x Samsung 860 EVO 500GB
Display(s) LG UltraGear 32GN650-B + 4K Samsung TV
Case Phanteks NV7
Power Supply GPS-750C
Entropy is gathered in boot process in nearly all major OSes. Yes, RDRand is used if present on Windows.
Why doesn't Windows crash at boot then ?
 
Joined
Mar 23, 2016
Messages
4,839 (1.64/day)
Processor Ryzen 9 5900X
Motherboard MSI B450 Tomahawk ATX
Cooling Cooler Master Hyper 212 Black Edition
Memory VENGEANCE LPX 2 x 16GB DDR4-3600 C18 OCed 3800
Video Card(s) XFX Speedster SWFT309 AMD Radeon RX 6700 XT CORE Gaming
Storage 970 EVO NVMe M.2 500 GB, 870 QVO 1 TB
Display(s) Samsung 28” 4K monitor
Case Phantek Eclipse P400S (PH-EC416PS)
Audio Device(s) EVGA NU Audio
Power Supply EVGA 850 BQ
Mouse SteelSeries Rival 310
Keyboard Logitech G G413 Silver
Software Windows 10 Professional 64-bit v22H2
Why doesn't Windows crash at boot then ?
Maybe Microsoft issued a patch for Windows after the issue on Linux/Systemd came to light? TPM in the Ryzen SoC might be another reason?
 
Joined
Aug 20, 2007
Messages
20,758 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches
Software Windows 11 Enterprise (legit), Gentoo Linux x64
Why doesn't Windows crash at boot then ?

It shouldn't even crash systemd really. As noted in the article, technically the value returned is a possible random number. Issue is that's ALL it returns. What causes hard freezes is when code expects a different result on a retry (which should happen in nearly all instances).

If I had to guess, I'd say they have a work around for this or entropy is silently compromised. Also Windows tends not to use KASLR, making it less essential to system stability.
 
Joined
Jan 8, 2017
Messages
8,924 (3.36/day)
System Name Good enough
Processor AMD Ryzen R9 7900 - Alphacool Eisblock XPX Aurora Edge
Motherboard ASRock B650 Pro RS
Cooling 2x 360mm NexXxoS ST30 X-Flow, 1x 360mm NexXxoS ST30, 1x 240mm NexXxoS ST30
Memory 32GB - FURY Beast RGB 5600 Mhz
Video Card(s) Sapphire RX 7900 XT - Alphacool Eisblock Aurora
Storage 1x Kingston KC3000 1TB 1x Kingston A2000 1TB, 1x Samsung 850 EVO 250GB , 1x Samsung 860 EVO 500GB
Display(s) LG UltraGear 32GN650-B + 4K Samsung TV
Case Phanteks NV7
Power Supply GPS-750C
What causes hard freezes is when code expects a different result on a retry (which should happen in nearly all instances).

It should happen but this still sounds like terrible design. If you have something that takes some random bits as input and you're calling that function again already expecting it to give you something in particular, or, if certain outputs brake things, well, that just sort of defeats the purpose of doing that in the first place. RNG screwed up a lot of systems because of silly things like that.

Anyway it appears that Windows treats this in a sensible manner, at least to the level that it doesn't outright crashes, unlike the Linux kernel.
 
Last edited:
Joined
Aug 20, 2007
Messages
20,758 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches
Software Windows 11 Enterprise (legit), Gentoo Linux x64
It should happen but this still sounds like terrible design. If you have something that takes some random bits as input and you're calling that function again already expecting it to give you something in particular, or, if certain outputs brake things, well, that just sort of defeats the purpose of doing that in the first place.

It's not that a few duplicate returns break it. It's using the RNG in systemd's case to generate ids that must be unique, ie not in use. Guess what happens when every return is the exact same? It's waiting forever for a "different" id that will never, ever come.

Anyway it appears that Windows treats this in a sensible manner

Depends. If it's silently using this as it's entropy pool, that could be even worse.

at least to the level that it doesn't outright crashes, unlike the Linux kernel.

Systemd simply hangs. The linux kernel is fine.
 
Status
Not open for further replies.
Top