Slashdot Mirror


Another Day, Another Intel CPU Security Hole: Lazy State (zdnet.com)

Steven J. Vaughan-Nichols, writing for ZDNet: The latest Intel revelation, Lazy FP state restore, can theoretically pull data from your programs, including encryption software, from your computer regardless of your operating system. Like its forebears, this is a speculative execution vulnerability. In an interview, Red Hat Computer Architect Jon Masters explained: "It affects Intel designs similar to variant 3-a of the previous stuff, but it's NOT Meltdown." Still, "it allows the floating point registers to be leaked from another process, but alas that means the same registers as used for crypto, etc." Lazy State does not affect AMD processors.

This vulnerability exists because modern CPUs include many registers (internal memory) that represent the state of each running application. Saving and restoring this state when switching from one application to another takes time. As a performance optimization, this may be done "lazily" (i.e., when needed) and that is where the problem hides. This vulnerability exploits "lazy state restore" by allowing an attacker to obtain information about the activity of other applications, including encryption operations.
Further reading: Twitter thread by security researcher Colin Percival, BleepingComputer, and HotHardware.

110 comments

  1. Humans... by Anonymous Coward · · Score: 0

    Humans are a security problem,
    remove all humans from any computing equipment and
    all security problems will be solved.

  2. Awesome... by jwhyche · · Score: 3

    This just keeps getting better and better. "Hey, I got a ideal! I'm going to switch to intel for this build." I thought to myself. I wasn't even smoking any good weed when I did that, or bad weed. Nope, my dumbassery was my own fault.

    --
    I read at +2. If your post doesn't reach that level I will not see or respond to it.
    1. Re:Awesome... by Anonymous Coward · · Score: 1

      Intel architecture appears to be riddled with this kind of stuff. AMD will be my next machine. Thank flying-spaghetti-monster that Ryzen is decent.

    2. Re:Awesome... by Anonymous Coward · · Score: 5, Interesting

      This was posted to a blog in 2015:

      As someone who worked in an Intel Validation group for SOCs until mid-2014, I can tell you, yes, you will see more CPU bugs from Intel than you have in the past.

      Why?

      In late in 2013 there were meetings with all the validation groups. Head honcho in charge of Validation says something to the effect of: "We need to move faster. Validation is taking much longer than it does for our competition. We need to do whatever we can to reduce those times... we can't live forever in the shadow of the 90's FDIV bug, we need to move on. Our competition is moving much faster than we are." (I'm paraphrasing. )

      Many of us were aghast that someone highly placed would suggest we needed to cut corners in validation. That wasn't explicitly said, of course, but that was the implicit message.

    3. Re:Awesome... by PopeRatzo · · Score: 2

      This just keeps getting better and better. "Hey, I got a ideal! I'm going to switch to intel for this build." I thought to myself. I wasn't even smoking any good weed when I did that, or bad weed. Nope, my dumbassery was my own fault.

      I thought AMD and ARM cpus were also susceptible to exploits. Is that wrong?

      --
      You are welcome on my lawn.
    4. Re:Awesome... by Anonymous Coward · · Score: 0

      Yes, pretty much all modern CPU's are exploitable. The Meltdown exploit which was Intel specific was crackable from javascript. That's about as bad as it gets. This defect is also very bad.

      Intel's track record on security has been so bad lately that for the average user recommending a Ryzen build is easy.

    5. Re:Awesome... by jwhyche · · Score: 3

      I thought AMD and ARM cpus were also susceptible to exploits. Is that wrong?

      No, you are not wrong. I would go so far as to say that a modern CPU is probably one of the most complex machines on the planet. There are bound to be bugs and exploits in all of them. I'm just suffering from a case of buyers regret I believe.

      --
      I read at +2. If your post doesn't reach that level I will not see or respond to it.
    6. Re:Awesome... by drinkypoo · · Score: 4, Informative

      I thought AMD and ARM cpus were also susceptible to exploits. Is that wrong?

      You're not wrong, but AMD processors are [so far] susceptible to less exploits related to speculative execution, and the scope of vulnerability is also less than in the case of the Intel processors in the cases where they are vulnerable.

      The bit in the brackets there is the potential rub, but [so far] I'm feeling fairly smug about using AMD processors in my builds for years and years now. I thought being able to upgrade piecemeal for so long due to AMD's user-and-OEM-friendly practice of supporting CPU sockets for long periods was great, and the price difference fantastic, but the apparent fact that they care more about security than Intel might just be the best part.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    7. Re: Awesome... by Anonymous Coward · · Score: 0

      Screw Ryzen, get Threadripper 2!

    8. Re:Awesome... by Anonymous Coward · · Score: 0

      Yes, pretty much all modern CPU's are exploitable.

      Is Itanium vulnerable to this? I am aware that it is a zombie, but since it was not vulnerable to Meltdown and Spectre, I wonder whether it is also not vulnerable to this one?

    9. Re:Awesome... by AmiMoJo · · Score: 1

      The problems with AMD parts are much less severe. The fixes don't cripple your performance.

      I'm so glad I got Intel to buy me an AMD.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    10. Re:Awesome... by PopeRatzo · · Score: 1

      No, you are not wrong. I would go so far as to say that a modern CPU is probably one of the most complex machines on the planet. There are bound to be bugs and exploits in all of them. I'm just suffering from a case of buyers regret I believe.

      I've been looking to build two new machines - one for music production and another for gaming. Do I have to worry about this crap? I was going to start ordering parts when all this started coming out. You think I should just wait?

      --
      You are welcome on my lawn.
    11. Re:Awesome... by David_Hart · · Score: 1

      No, you are not wrong. I would go so far as to say that a modern CPU is probably one of the most complex machines on the planet. There are bound to be bugs and exploits in all of them. I'm just suffering from a case of buyers regret I believe.

      I've been looking to build two new machines - one for music production and another for gaming. Do I have to worry about this crap? I was going to start ordering parts when all this started coming out. You think I should just wait?

      My understanding is that Meltdown and Spectre require access to the physical device. I don't know if this is the same for the new exploit. Some parts of the exploits can be mitigated by OS, firmware, and BIOS updates, but it requires a CPU redesign to truly solve the issue. In my mind, any exploit that requires physical access is less of a concern than exploits that can be leveraged through malware. The reason is that once someone has physical access to your system I figure that you're screwed anyway.

    12. Re:Awesome... by Anonymous Coward · · Score: 0

      AMD and ARM were only susceptible to a fraction of the exploits on Intel, because they were smarter about how they handled speculative execution. Intel took too many insecure shortcuts for the sake of a few fractions of a percent faster performance.

    13. Re:Awesome... by sjames · · Score: 2

      In part.

      AMD and ARM have some similar flaws but they are harder to exploit and the performance costs of preventing exploitation are smaller.

      Intel has more flaws and they are much more exploitable. Intel have put considerable effort into sewing confusion on that point, doing their best to leave the false impression that all CPUs are equally problematic.

    14. Re:Awesome... by PopeRatzo · · Score: 1

      Intel has more flaws and they are much more exploitable. Intel have put considerable effort into sewing confusion on that point, doing their best to leave the false impression that all CPUs are equally problematic.

      So, you think I should probably wait before building two new Intel-based systems?

      I've been burned using AMD cpus on music production and gaming platforms before. I'm not prepared to go back to try them again, yet.

      --
      You are welcome on my lawn.
    15. Re:Awesome... by Anonymous Coward · · Score: 0

      Head honcho in charge of Validation says something to the effect of: "We need to move faster. Validation is taking much longer than it does for our competition

      Can you tell us their name?

      If we name & shame this type of ... sh^Htuff it might reduce its frequency. (One could hope.)

    16. Re:Awesome... by Anonymous Coward · · Score: 0

      If you are a single user or have group trust (aka family pc) -- 99.99 % of home desktops and the majority of work desktops -- you don't need to worry.

      These are security issues when there are multiple processes running on the same physical machine that need to be kept separate. The primary concern is shared/virtual hosting environments where an unprivileged/external user can gain access to data available in your processes. Think of a various types of private information (financial, health records, purchase history) that should remain private accept to account holders; if a business has a website run on, say, AWS, then this is something they should be concerned about.

      Home users, not so much.

    17. Re:Awesome... by Anonymous Coward · · Score: 0

      *except /sigh

    18. Re:Awesome... by jwhyche · · Score: 2

      Do I have to worry about this crap? I was going to start ordering parts when all this started coming out. You think I should just wait?

      Honestly, I think that would depend on your needs, vs how you feel about the current crop of Intel and AMD chips. Despite all my griping about it I'm more than satisfied by the performance of my i7-6700K. Both in gaming and more mundane tasks.

      If you are not comfortable with Intel by all means look at what AMD has to offer, I'm thinking of the R-2700 processor here vs the i7-8700K. The R-2700 is priced competitively with the i7-8700K and yet beats it in virtually every multi-threaded test I've seen tossed at it.

      The R-2700 does lag behind in single threaded areas over the i7-8700K, which is where most gaming performance would be. But from what I've seen that lag really isn't enough to matter. Almost all game performance issues today are caused by poor GPU performance. Any modern CPU should be more than capable of feeding a GPU.

      I'm heavy into Second Life, (no really why are you looking at me like that?), and do a lot of 4K gaming. So far I have never seen my i7-6700K break more than 30% on anything. Even with all the settings maxed out on the game.

      If you want to stick to intel and can wait the Iccy Lake CPUs are supposed to be out in first quarter of '19. These are expected to address the flaws in hardware that intel has been having.

      --
      I read at +2. If your post doesn't reach that level I will not see or respond to it.
    19. Re:Awesome... by PopeRatzo · · Score: 2

      I'm heavy into Second Life

      I respect you for being willing to admit that publicly.

      --
      You are welcome on my lawn.
    20. Re:Awesome... by sjames · · Score: 2

      I would strongly consider waiting. The performance you see now may drop considerably once all the patches (microcode, OS, and user applications) are in.

      It is probably worth your time to research the latest generation AMD, especially if the software you will be using is multi-threaded. Historically, Intel has had better single thread performance, but AMD has provided more bang for the buck if you use all of the cores. The latest generation looks like it beats Intel single threaded as well, especially once the Meltdown patches are applied.

    21. Re:Awesome... by jwhyche · · Score: 3

      I respect you for being willing to admit that publicly.

      I keep telling myself that it's better than hookers and blow.

      --
      I read at +2. If your post doesn't reach that level I will not see or respond to it.
    22. Re:Awesome... by Anonymous Coward · · Score: 0

      Weird. Meltdown affected AMD too. It's almost like people don't know this stuff.

    23. Re:Awesome... by Anonymous Coward · · Score: 0

      Software figured this sort of thing out decades ago. It's called Open Source. Release the VHDL and allow nerds on the internet to magnify your validation efforts. (duh?)

    24. Re:Awesome... by Anonymous Coward · · Score: 0

      It doesn't require physical access, why would you think that? If you are on a multi-user device like a cloud server or a virus running as non-root on a machine, these Spectre and Meltdown attacks are all possibilities.

    25. Re:Awesome... by Anonymous Coward · · Score: 1

      Once Intel releases a CPU without all these crappy vulnerabilities, BE ASSURED it will be at a premium. They'll call it a feature. "Now without Meltdown / Spectre vulnerabilities, only 5x the cost of the previous generation!"

      If Intel doesn't artificially bump up the price, the demand will surely outpace supply.

    26. Re: Awesome... by Anonymous Coward · · Score: 0

      No, you can buy an AMD machine safely right away. I suggest the 65watt eight core Ryzen, beefy but quiet.

    27. Re:Awesome... by PopeRatzo · · Score: 1

      It is probably worth your time to research the latest generation AMD, especially if the software you will be using is multi-threaded. Historically, Intel has had better single thread performance, but AMD has provided more bang for the buck if you use all of the cores.

      OK. So maybe I'll try one of the fast Ryzen processors for the music production machine and hold off and use Intel for the gaming machine.

      Thanks, sjames.

      --
      You are welcome on my lawn.
    28. Re:Awesome... by Anonymous Coward · · Score: 0

      And just recently Intel said in some presentation that they are going to take increasing risks in the near future.. Even less validation!

    29. Re:Awesome... by Anonymous Coward · · Score: 0

      No. It doesn't. One of the Spectre variants does. It's almost like YOU don't know this stuff.

    30. Re: Awesome... by Anonymous Coward · · Score: 0

      You're doing it wrong, then.

    31. Re: Awesome... by Mkkby · · Score: 2

      I'm starting to think x86 CPU performance gains (especially intel) the past 10 years are nothing but a marketing scam. If you turn good security practices back on, these chips will likely be much slower and not worth half the price.

      I think we are looking at end of life for x86. You can choose fast processors that are full of security holes (i.e. never use them in a cloud), or you can choose much slower processors that are safe for clouds.

      Smart companies and individuals can use the fast/unsafe chips because we host our own apps and never let strangers share computer resources.

    32. Re: Awesome... by Mkkby · · Score: 1

      They are all safe for home use. The problems only arise in clouds, shared multi user environments.

    33. Re:Awesome... by Ramze · · Score: 4, Interesting

      nope. Meltdown was an Intel exclusive. Both AMD and Intel run speculative code, but the difference is AMD checked privileges before running speculative code. Intel checked AFTER running it -- meaning unauthorized code could be run before being cleared. That means AMD took a performance hit, but Intel had all kinds of info left in the cache that shouldn't be there so other processes could snoop on things that they shouldn't have privileges to access -- possibly passwords, memory locations, file locations, output for programs that should not have had authorization to run, etc.

      Intel's work-around was to clear the cache whenever switching between code of different privileges. That's right -- they dump the cache memory every time a program accesses something of a higher security level so that there's nothing there for a rogue program to access something that's not on its same security level. Side effect being that an empty cache has to be refilled to properly speed up the CPU operations. Things that don't switch much aren't affected much, but some things are severely impacted.

      Intel intends to fix this in a few years by changing the silicon to check FIRST -- like AMD does. It takes 2-3 years to design a new processor, though... and I doubt they'll get it in the 2019 silicon. Supposedly, they'll have a quick fix for 2019 silicon and a proper fix for 2020/2021, but who knows. They have been suffering from manufacturing delays b/c they're trying to squeeze the most the can out of outdated lithography and are getting high defects. My bet is the fixes will come when they jump to 7 nm.

    34. Re:Awesome... by Ramze · · Score: 1

      As others have stated, it doesn't technically require a user to choose to run something. A simple web page with javascript can do it without even prompting you.

      Still, Meltdown was the worst because it actually ran code that didn't have the user rights to run. AMD checked permissions before running anything; Intel ran everything and checked AFTER -- leaving data in the cache for other processes to find that it shouldn't have.

      But, the fixes for Meltdown and various Spectre variants should also make it much more difficult for other issues to be exploited -- because a lot of the newer exploits require multiple steps and some intuition about what is useful info.

      With Meltdown, a web page could have asked for login/password info or other sensitive data that might have prompted a remote exploit, a phishing attack, or just a general attack on various web sites you frequent to try to gain access to them using your info. Now, it's more akin to learning that part of your OS is on a certain sector of your hard drive... kinda useless info unless you have another tool to do something with that information.

    35. Re:Awesome... by Anonymous Coward · · Score: 0

      Correct, and if you want to believe another ex-Intel employee who worked in the Enterprise Services Division testing next-gen chipset/CPU i.e. pre-release server validation (that took 4000 hours per operating system, this has not changed.

      In fact these bugs existed for 15+ years at least some for 20+ years, even back to the time of the FDIV bug so its never been validation that could catch these bugs, so reducing the amount of validation doesn't make sense since its not 100% effective as is.

      This has always been recognized which is why validation times are not 100% tied to marketing decisions, products slip, and validation toolsets improve every 3-4 generations or so..

    36. Re:Awesome... by Anonymous Coward · · Score: 0

      Intel architecture appears to be riddled with this kind of stuff. AMD will be my next machine. Thank flying-spaghetti-monster that Ryzen is decent.

      Don't forget to sacrifice a medium sized pasta dish to the flying-spaghetti-monster on a regular basis, unless you want to risk the same problems with your future new AMD machine!

    37. Re: Awesome... by Anonymous Coward · · Score: 0

      Open source doesn't solve the problem that well. Some source code is barely touched by the community. Look at stuff like devfs in the kernel which were depreciated long before alternatives were ready because nobody was properly maintaining them.

      Just because the source code is available doesn't mean suddenly hundreds of nerds start pining over it

    38. Re:Awesome... by EETech1 · · Score: 1

      Hate to break it to you, either one is better, and when combined!!!

      Just don't get too carried away, and pawn your computer, you'll need something to do once the moneys gone:)

  3. Re: Fake news! by Anonymous Coward · · Score: 0

    Dude link her to a burn ward webzone after that

  4. "regardless of your operating system" by QuietLagoon · · Score: 5, Informative
    Yet the linked article says

    ...For some operating systems, the fix is already in. Red Hat Enterprise Linux (RHEL) 7 automatically defaults to (safe) "eager" floating point restore on all recent x86-64 microprocessors (approximately 2012 and later) implementing the "XSAVEOPT" extension. Therefore, most RHEL 7 users won't need to take any corrective action.

    Other operating systems believed to be safe are any Linux version using the 2016's Linux 4.9 or newer kernel. The Linux kernel developers are patching older kernels. Most versions of Windows, including Server 2016 and Windows 10. are believed to be safe. If you're still using Windows Server 2008, however, you will need a patch. The latest editions of OpenBSD and DragonflyBSD are immune, and there's a fix available for FreeBSD. ...

  5. WTF by Anonymous Coward · · Score: 0

    This vulnerability exists because modern CPUs include many registers (internal memory) that represent the state of each running application

    Does the submitter mean to imply that AMD processors are not modern or that they don't have registers? FFS, it's literally the sentence immediately after noting that AMD isn't affected!

    It just more of the same Intel propaganda where they have to admit that they screwed up but then comes some fuzzy words like "modern" or "most" etc, implying that everyone are affected - which is patently false.

  6. Go AMD by zippo01 · · Score: 4, Interesting

    AMD should be dumping money right now. Making all this as public as possible and pushing its own CPU's Go AMD go!

    1. Re:Go AMD by Anonymous Coward · · Score: 0

      What do you think is happening? Free-market economics? LOL.... RyzenFall, MasterKey, Fallout and Chimera vulnerabilities just don't make good fake news for some reason. Neither does ae911truth dot org

    2. Re:Go AMD by drinkypoo · · Score: 3, Informative

      AMD should be dumping money right now. Making all this as public as possible

      AMD has made their own security-related errors. While they appear to be less numerous (and less serious) than those of Intel, that could be because we simply haven't figured out where they screwed up yet. The fact that we keep getting news of new Intel vulnerabilities and not AMD ones when surely many, many people are scrutinizing products from both companies does suggest that Intel processors have more holes than AMD ones, but it doesn't prove anything.

      Historically, both companies tout their advantages, and feel free to make public statements about ways they feel they have been wronged legally, but they don't trash-talk the competition for making mistakes. This is in fact more common than not in business; you'll see the same thing at work in the auto industry. Their talking heads fairly consistently shy away from kicking other players when they're down.

      AMD is wise to focus on their successes, and to not even mention Intel's failures. CPUs are complicated products, and they are capable of making their own mistakes.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:Go AMD by zippo01 · · Score: 1

      Who said it had to be "AMD" doing the bashing? They could also be talking up their own products. I wouldn't worry about my flaws, only point out the other persons larger more visible ones. I will worry about my stuff later.

    4. Re:Go AMD by Anonymous Coward · · Score: 0

      The problem is that no matter how good an AMD CPU might be, the rest of the supporting chipset(s) totally suck. Incompatible, broken, buggy, crap. I have an AMD motherboard sitting right beside me that crashes if you try to use the USB3 ports too heavily.

      It's similar to their GPU situation. Their GPU hardware is not that bad but the software and drivers are totally and completely fucked up. Incompatible, broken, buggy, shit.

      So it doesn't matter how good the primary product is if the supporting stuff is broken making the whole thing a mess. It's a huge problem within AMD's culture in general.

    5. Re:Go AMD by toddestan · · Score: 1

      That's my experience. I like AMD's CPU's, but all the incompatibilities, instability, and general flakiness of the platform eventually drove me over to Intel. I still use their GPU's, mostly because as bad as their software and drivers may be, nVidia's are far worse.

      And somewhat hilariously, I have found the same GPU with the same driver almost always works better on an Intel system than an AMD one.

  7. Floating point registers are used for encryption? by Anonymous Coward · · Score: 0

    This doesn't make any sense to me, unless they're actually shared registers. If not, when would anyone use a FP register for encryption? This just sounds like a way to make an otherwise very tiny vulnerability sound bigger and scarier than it actually is.

  8. Time for fewer optimizations? by davidwr · · Score: 5, Interesting

    For some types of chips and applications, perhaps having real security means not being able to do fancy optimizations that degrade security.

    I wonder how well typical PC operating systems would work if they were re-compiled to not take advantage of optimizations and run on a completely-de-optimized architecture-compatible CPU with buses, memory, chipsets, etc. that were similarly "de-optimized" and had other things in them like less-tightly-packed circuits to prevent certain side-channel attacks (e.g. rowhammer).

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
    1. Re:Time for fewer optimizations? by Anonymous Coward · · Score: 0

      Itanium was basically this and it failed. It expected the complier to optimize what a lot of Intel CPUs now do in real time.

    2. Re:Time for fewer optimizations? by Anonymous Coward · · Score: 0

      Intel inside, crackers delight.

    3. Re: Time for fewer optimizations? by Anonymous Coward · · Score: 1

      You mean ENIAC?

    4. Re:Time for fewer optimizations? by Anonymous Coward · · Score: 1

      Speculation is a big part of performance in modern superscalar architecture... but it comes with an inerrant risk of side-channel attacks which is difficult to completely eliminate the possibility of. If you were to remove it all, we are talking at least one order of magnitude performance reduction... even then you have all the potential side-channel attacks left of things without speculation like simply _having_ caches, and physical attributes of memory like rowhammer. The good news is it's really not necessary to go that far back, it's just the more excessive optimisations that need to be scaled back and more thoughtfully applied - if at all.

    5. Re:Time for fewer optimizations? by Anonymous Coward · · Score: 0

      The good news is it's really not necessary to go that far back, it's just the more excessive optimisations that need to be scaled back and more thoughtfully applied - if at all.

      Or we need to rethink how secure things should work.
      We are reaching the double digits in number of cores.
      Maybe we need to start separating users/tasks a bit more.

  9. AMD by Anonymous Coward · · Score: 0

    I just built a new PC after 10 years on an Intel Q6600. Glad I picked an AMD Ryzen 7-2700.

  10. Fix improves performance? Smells like BS. by gman003 · · Score: 1

    TFA includes a claim that the fix for this hole will actually improve performance. I don't see how that's possible - the problem is caused by a feature that improves performance, and the fix, as I understand it, is simply to not use that feature. Is there something I'm missing?

    1. Re:Fix improves performance? Smells like BS. by Anonymous Coward · · Score: 1

      No, you aren't missing a thing. Most optimizations that improve performance while not using lazy state saving should improve performance while using lazy state saving.

      Either that or the lazy state saving implementation was seriously borked in the first place.

    2. Re:Fix improves performance? Smells like BS. by Anonymous Coward · · Score: 0

      Is there something I'm missing?

      You missed the kool-aid. You forgot to drink it.

    3. Re:Fix improves performance? Smells like BS. by Anonymous Coward · · Score: 0

      I think that by `the fix` they mean silicone fix. The fix will mean that the workaround (which slows stuff down, as you have pointed out) is not needed. The guy points out that the fix is easy, because silicone fixes for some of the Spectre stuff are hard.

      Naturally, Intel uses the word `fix` for the workaround, cause Intel CPUs are perfect and you need to fix your OS.

    4. Re:Fix improves performance? Smells like BS. by Anonymous Coward · · Score: 0

      hm....or maybe not after all -- their advisory (https://access.redhat.com/solutions/3485131) claims that eager CPU switching does not have performance impact on older processors and is faster (and already enabled) on newer ones, because of XSAVEOPT.

    5. Re:Fix improves performance? Smells like BS. by Anonymous Coward · · Score: 0

      This is a "performance feature" that dates back to something like the 80386 -- it's literally that old. Since then, the way that "floating-point" registers (which includes the registers for a lot of the newer instructions like SSE or AVX) has changed drastically. It used to be quite rare for an executable to use floating-point and it was a big perf win to only save/restore floating point state for processes that actually used floating point instructions.

      These days, compilers will emit SSE instructions for all kinds of innocuous things like zeroing memory. Basically every modern program is going to use floating-point registers anyway, so the additional logic to check whether floating-point is in use is just useless overhead.

  11. Re:Floating point registers are used for encryptio by Anonymous Coward · · Score: 0

    unless they're actually shared registers

    This is the Google-era, so posts shouldn't be conditional on something that you don't know. Do your homework and find out whether Intel CPUs share FP and integer registers. Depending on the answer, either cancel your entire message, or replace "unless they're" with "since they're not".

  12. Yet another lazy day by Anonymous Coward · · Score: 0

    which also means another day when I am too lazy to attempt First Post on /.

    Which also has little to do with Lazy FP state restore, whatever that is.

  13. Re:Floating point registers are used for encryptio by Anonymous Coward · · Score: 0

    It's a slashdot post, it's just not worth the time and effort for them to look all that up.

  14. Re:Floating point registers are used for encryptio by Anonymous Coward · · Score: 3, Informative

    Actually describing them as FP is misleading, they should be called the vector registers, they are wide (128, 256 or 512 bits) and while all (except legacy x87) FP instructions only work on these registers, there are plenty of instructions which use them as fixed size arrays of 8, 16, 32, and even 64 bit integers.
    Of course you could perform the same tasks on the regular 64 (formerly 32) bit registers but this would be much slower. Using the vector register file also frees the integer registers to be used as counters, pointers and so on. This was especially true on 32 bit, where out of the 8 registers, the stack pointer (ESP) cannot be used for anything else, the frame pointer (EBP) may be needed for debugging/dynamic allocation, and EBX is used for addressing in position-independent code (all libraries). In many cases, the compiler was (32 bit is obsolete) left with 5 or 6 registers to play with.

  15. Intel vs. the rest of the world by DrYak · · Score: 5, Informative

    I thought AMD and ARM cpus were also susceptible to exploits. Is that wrong?

    Indeed lots of different CPU manufacturer could be producing CPUs susceptible to spectre vulnerabilities.

    But not all CPU are created equal.

    There are some key differences :
      - not all CPUs actually do speculative execution. only a couple of ARM core actually do. The huge remaining amount doesn't and thus can't in any way be subjected to Spectre class vulnerabilities.

    (Even some of Intel's own core, like some older Atom, or like Xeon Phi GPGPUs don't do speculative execution)

    Intel has a different safety vs optimization threshold than most of others:

      - with most other CPU manufacturer, Spectre vulnerabilities boil down to "access memory region to which the process should already have had read access anyway" (see v1 and v4), thus it could be already addressed by safe practice (v1: don't put 3rd-provided JIT code and crucial information in the same process. e.g.: a browser's JIT engine running webpage's scripts and the password manager should not be in the same process) (v4: always clean up your stack before bailing out if it could contain cricital data, or better keep all the critical data in some specific mapped pages), etc.

      - Intel tends to push performance first to the detriment of anything else : some security test coming in too late.

    AMD and most ARM won't speculate past memory protection. If a memory region is blocked from access for the process (generally : kernel memory), AMD will check the memory protection and never attempt to access the restricted region to begin with. Whereas Intel CPUs will speculatively access the restricted region and only do the check much latter, by which point the usual Spectre's cache loading side-channel leakage could have happened.
    (There are few select ARM which are susceptible to Spectre v3a. Basically the same concept, but regarding system-reserved register - this being RISC architecture, with tons of registers)

    AMD and ARM will honor non-maskable interrupt. In today's vulnerability Intel tries to speculatively execute the point past which the system should contect switch the FPU registers (which includes stuff like SSE and AVX registers. i.e.: an attacker could be speculatively peeking into what another process did with these - SIMD operations with SSE/AVX are used in encryption/decryption, so an attacker could occasionnally spot what other process are decrypting/encrypting and whith which keys)

    So you end up with vulnerabilities v3 and today's which are Intel exclusive.

    Also Intel tends to be a tiny bit more aggressive and/or jumping through some shortcut and/or having way deeper pipeline and longer speculations, in order to shave a few cycles off :
    end results :
    v2 (Indirect Branch prediction) is currently successfully exploitable on Intel. Though in theory some AMD CPU could do speculative indirect branching, there are no current usable exploits in the wild.
    v1 actually works on Intel CPU without even activating the JIT - the speculation is so deep that an bytecode interpreter could speculatively access stuff
    v4 works much easier on Intel (deeper pipeline higher chance to manage to read something that wasn't erased from memory yet)
    etc.

    TL;DR: due to technical choices prioritizing performance, Intel CPU tend to be even more vulnerable.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:Intel vs. the rest of the world by Anonymous Coward · · Score: 0

      The plural form of 'core' is 'cores', not 'core'.

  16. Listing Lazily by Topwiz · · Score: 1

    They're listing lazily to the left. Boy, this guy knows some maneuvers.

  17. Different standard of disclosure by DrYak · · Score: 3, Insightful

    Where's the tablet-optimised website? This one's just a few tweets, it doesn't even have a logo! Where's the superbowl ad?

    In an era where every single vulnerabilities needs to get a catchy name and a well designed reactive website (almost a superbowl ad ?), even before confirming if there's a viable exploit, it's nice to see the big hats of security reacting (cpercival - the daddy of Scrypt) and taking time to write an actual exploit to test, even if communication is done over an unglamorous channel as twitter.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:Different standard of disclosure by Anonymous Coward · · Score: 0

      In an era where every single vulnerabilities needs to get a catchy name and a well designed reactive website (almost a superbowl ad ?), even before confirming if there's a viable exploit

      The website thing is just someone trying to get a few clicks until the thing becomes uninteresting.
      The catchy name on the other hand can actually be useful.
      Regardless of if it is an actual vulnerability or just an odd quirk that seems dangerous it is one of those things that should be mentioned in a textbook so that future processor designers are aware that similar designs might potentially be a problem and that some extra thought is in order before implementing.

      Having names for things tends to simplify talking about them, even if it's just to say that they typically aren't an issue.

  18. Re:Floating point registers are used for encryptio by Anonymous Coward · · Score: 0

    You, my friend, have too much free time.

  19. Shared register, indeed ! by DrYak · · Score: 4, Informative

    Floating point registers are used for encryption?

    This doesn't make any sense to me, unless they're actually shared registers.

    Exactly :
    the FP registers are shared with integer SIMD registers
    (FP87 and MMX are exactly the same register file under a different name, modern CPU tend to use AVX/SSE for their floating point computation and use the same registers also for interger SIMD, etc.)

    Basically (As cpercieval explained in his Twitter thread), the CPU will only always switch the content of its basic CPU registers (rax, rbx, etc.)
    Everything else (e.g.: SSE's xmm0, xmm1, etc) will only be switch when needed (though a non maskable interrupt). But just like with Meltdown Intel CPUs didn't give a fuck about memory protection, in this spectre vulnerability Intel CPU don't give a fuck about context switching and will happily speculatively execute and process old left-over data in these registers.

    The problems is that most efficient crypto implementation are likely to be implemented using MMX, SSE or AVX (including the AESNI hardware), thus critical data is likely to be hanging in these registers when a process that handle encryption is interrupted and multi-task-switched to the attacker's process.
    On any other CPU, if the attacker's process attempts to access of there registers, the process will immediately be interrupted, and the kernel will also switch the FP/MMX/SSE/AVX context (the process will only see it's own content of XMMn).
    On Intel hardware, the CPU will happily try to speculatively continue executing based on the old stale content of the XMMn register (which could be containing the data that the encrypting process was manipulating), enabling possibility to leak through the usual spectre's cache side-channel, until the NMI is served the correct context is loaded and the speculative attempt thrown away.

    Sounds stupid, but it enables Intel CPU to show a couple of % faster on benchmarks.
    e,g,; benchmarks that do encryption are less likely to be hit performance-wise by multi-tasking :
    in the case of switching an encryption process -> normal CPU process -> back to the encryption process, a normal CPU (like AMD) will lose time forcing a reload of the SSE/AVX context when returning to the encryption.
    An Intel CPU will happily continue immediately the encryption with the content of the XMMn registers, and speculative execution will eventually turn being right as the left-over data in the XMMn registers is the encryption's own content from right before getting interrupted by the CPU-only thread (which left it untouched).

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:Shared register, indeed ! by Cacadril · · Score: 1

      I think these flaws work approximately like this: Process 1 ensures that memory location X is in the cache (by accessing it), while memory location Y is not in the cache (by accessing enough other locations that location Y gets flushed out); then process 1 yields the processor to other processes.

      The scheduler runs process 2 for a while. Eventually, process 1 is scheduled for execution again.

      Then, when process 1 gets the processor back, some registers contain data that belong to process 2. If process 1 uses those data in any way, there is a trap, and the registers are loaded with the correct values for process 1 before the instructions accessing these registers finish execution.

      However, process 1 now executes a program fragment consisting of two branches, one taken and one not taken. The processor executes both branches before it learns which branch is the correct one in the program logic. That is, the processor initiates execution of instructions from both branches before it knows the result of the test that decides what branch to take.

      The branch not taken extracts a bit 'b' from a register that contains data belonging to the previous process, and executes a memory fetch from location "if b then X, else Y".

      Had this branch actually been the one taken in the program logic, the fetch would have forced a trap. However, the trap is delayed until the processor knows if the trap is needed. Since that branch is not taken, the results of the speculative execution are discarded, and all registers touched by that branch are automatically restored to their correct values as per the execution of the second branch, and no trap is generated. The process learns nothing about bit b, or the contents of memory location X or Y. No trap is needed. Not generating the trap saves a few cycles.

      However, process 1 may measure how long time it took to get past the branching instruction. This reveals if X or Y was accessed, and thereby reveals the value of bit b. That is the leak.

      In the meltdown bug, the exploit could load bit "b" from a memory location that was not part of the process' address space but belonged to the kernel memory or to some other process, and the exploit could control what memory location to draw the bit from. Since many operating systems have all physical memory mapped in kernel memory space, the exploit could systematically retrieve every bit in physical memory.

      To exploit the present bug, the exploit would probably have to engage a victim program, e.g. a web server running in the same processor, by creating network connections. It would have to do so repeatedly and hope that a context switch happens while the web server is doing cryptographic operations. I don't know if there are any clear ways to control this with sufficient precision to actually collect bits from a secret key. How can the attacker know what the contents of the registers really are at the time of the context switch? The attacker would perhaps only get a single bit from each authentication attempt. If each authentication attempt uses a different nonce, many of the register values will be uncorrelated from one authentication attempt to another. But of course, it is also possible that a register could contain a portion of the secret key. Having access to the relevant libraries, an attacker may be able to determine at what point the secret key will be loaded into what registers. Since I have no experience creating exploits, I have no idea if it is possible to force a context switch in a different process at exactly the opportune moment. If so, it is probably a matter of patience to get more an more information about the secret keys.

      --
      There is no substitute for common sense. Especially, no body of rules will do.
  20. Rasbperry Pi! by DrYak · · Score: 2

    I wonder how well typical PC operating systems would work {...}

    Well lots of smartphones and nearly all single-board computers (including the Pi) use ARM core that don't do any speculative execution.
    (Only very few high-performance smartphones use ARM with speculative exec and thus potentially spectre-vulnerable)

    They are still not that bad at common browsing tasks.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:Rasbperry Pi! by Misagon · · Score: 1

      Most current "flagship" phones use multicore CPUs in big.LITTLE configuration.
      In most of these the "big" part are cores with speculative execution, which are activated when there is a need for more power. Most exploits in the class that Spectre is in need to first prime the cache and speculator through code in long-running loops (and especially on ARM), which means that they would always be promoted to run on the "big" cores anyway.

      I wrote "most phones" above, because some SoC:s, like Snapdragon 835 and 845 have only cores with speculative execution, the "little" cores being also speculative, only clocked lower. These are the cores most used in upcoming Windows 10/ARM laptops.

      --
      "We mustn't be caught by surprise by our own advancing technology" -- Aldous Huxley
  21. APK hostfile? by Anonymous Coward · · Score: 0

    Where's the tablet-optimised website? This one's just a few tweets, it doesn't even have a logo! Where's the superbowl ad?

    And where are all the usual APK-copycat trolls trying to push the APK Hostfile Engine as the definite solution against these security holes (with all their "See subject" and over-abuse-of-bold glory) while the original APK dumbshit itself tries to whine about impostors and fake nicknames ?

    CAPTCHA: unbiased ;-)

    1. Re:APK hostfile? by Anonymous Coward · · Score: 0

      Well APK has stated that his works blocks these attacks but only if the source is known, and only long after that specific host name has been a source of the attacks. I honestly think APK is hiding today as he has gotten stomped on pretty hard over the last few days.

  22. No spectre or vulnerabilities here by Anonymous Coward · · Score: 0

    See subject & via APK Hosts File Engine 2.0++ 64-bit for Linux h t t p : / / a p k . i t - m a t e . c o . u k / A P K H o s t s F i l e E n g i n e F o r L i n u x . z i p (remove spaces between characters & download).

    Yields more security/speed/reliability/anonymity vs. any SINGLE solution (99% of threats = hostnames vs. IP address (that most firewalls use)) more efficiently/FASTER + NATIVELY 4 less!

    (... Vs. "Bolt on 'MoAr' illogic-logic" competitors slowing you, hosts speed you up 2 ways (adblocks + hardcodes u spend most time @) vs. competition loaded w/ bugs (DNS/AntiVir) + their overheads (messagepass ('souled-out' to advertiser addons) + filtering drivers) & their complexity leads to exploitation).

    * Created in FreePascal/Lazarus 1.8.2 using GTK3 on OpenGL 3.1 via KDE Plasma desktop on Kubuntu 18.04 plus patches.

    APK

    P.S.=> Enjoy - it's much better vs. the Windows model on many fronts (speed & efficiency (plus new "merge" feature))... apk

    1. Re: No spectre or vulnerabilities here by Anonymous Coward · · Score: 0

      In your subject, you're claiming that your hosts file engine protects against Spectre. As usual, you are massively overstating the capability of hosts files to provide protection. You also haven't released your BSD version, despite your claims last week. Because I've criticized you, I'm certain you'll reply to my post with violent threats. You also won't address the issues I raised, instead dodging these issues by lobbing personal attacks.

    2. Re: No spectre or vulnerabilities here by Anonymous Coward · · Score: 0

      Apk again proves you anonymous trolls wish you were him. He caught you impersonating him again trying your lies too https://it.slashdot.org/commen...

    3. Re: No spectre or vulnerabilities here by Anonymous Coward · · Score: 0

      The above post was totally not APK but was actually made by the iTard AlecStaar.

  23. Where are the fines? by bradley13 · · Score: 1

    VW plays fast and loose with diesel emissions to gain performance, and is fined billions. Intel plays fast and loose with speculative execution to gain performance, and...nothing.

    While Intel hasn't broken any regulations (AFAIK), they have sold defective goods, likely deliberately. It's time for them to at least reimburse all customers for the damages.

    --
    Enjoy life! This is not a dress rehearsal.
    1. Re:Where are the fines? by Anonymous Coward · · Score: 0

      Geeks aren't sitting around calculating "How many people would have died" where as the VW haters keep making up fake numbers of supposed early-deaths from emissions.

      That's the main difference.

      VW haters act as if no one is allowed to burn fuel on the property and emit as much emissions as they want. So if a car put out more, that must mean death....

      In reality I can drive a 5mpg truck if I want, and take a 5 gallon can to the gas station, fill it up, and put it in a generator that runs powering a garage without actually hooking the garage up to the power grid. I can run 5 generators 24/7/365 if I want. I can buy diesel fuel and burn it all in a big fire in my backyard if I want....

      That's all just dandy but if I buy a 50mpg car that puts out 251 grams of pollution per mile when the limit is 250, it's illegal.... Even if a big 10mpg truck that puts out 250 grams per mile has to burn 5 times as much fuel to go the same distance (251 over 50 miles for the car, 1000g of pollution for the *legal* truck to go 50 miles.)

      I want to figure out how many extra deaths are caused by my neighbors air conditioner, since he keeps bitching about my 50mpg TDI in my driveway and runs his airconditioner non-stop all summer. Must have the thermostat at 60* or something but I'm not allowed to comment upon that right?

  24. No wonder... by Tim12s · · Score: 1

    No wonder intel is so much faster... they skipped all the fking checks. I've now got $100m of virtualised hardware which can be hacked.

    Nice..

    1. Re:No wonder... by Anonymous Coward · · Score: 0

      I'll give you about $3.50 for all of it.

  25. Re:Floating point registers are used for encryptio by Anonymous Coward · · Score: 0

    Methinks you don't understand what "shared" means in this context. (Although I don't doubt that Intel engages in spying, as the existence of the Intel ME strongly suggests, as has been discussed on /. before.)

  26. "and more thoughtfully applied - if at all" by davidwr · · Score: 1

    The good news is it's really not necessary to go that far back, it's just the more excessive optimisations that need to be scaled back and more thoughtfully applied - if at all.

    This.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  27. Re:Floating point registers are used for encryptio by Anonymous Coward · · Score: 0

    This is the Google-era, so posts shouldn't be conditional on something that you don't know.

    Well, this also is the social-media-era where knowing what you are talking about (let alone wanting to know about it) isn't too high on anyone's list.

  28. Safe mode / simple mode, for encryption operations by raymorris · · Score: 1

    "Fixing" these will go on forever, probably, because there are all kinds of side channels enabled by the fact that modern CPUs use many different optimizations. They aren't the simple machines they look like from the software side. Disabling all of those optimizations would have a significant impact on performance.

    Modern processors switch between various modes a million times per second. One way to get the best of both security and performance would be to have a security mode, in which all caches and such are either disabled or cleared upon entering or leaving security mode. The CPU would run as a much simpler implementation, maybe roughly akin to a 286 in complexity, which would increase security while it's computing a cryptographic hash or whatever. It would be slower during those few milliseconds, so a cryptographic operation might take 4 milliseconds instead of 2 milliseconds. Standard high performance mode would then be restored, with caches cleared, while you edit video or do other CPU-intensive tasks.

    I think of it similar to Windows Safe Mode - only essential functions are enabled, so it's unlikely anything will break.

    I once had a computer that was used *only* to store credit card information in order to bill customers monthly. I could permanently set that computer to safe mode all the time. Most desktops would switch to safe mode for only a few milliseconds at a time, as signaled by either applications which wish to execute a critical function, or possibly automatically by the CPU when certain instructions indicate sensitive operations may be in progress.

  29. A blast from APK's spammin past by Anonymous Coward · · Score: 0

    1) APK is never wrong

    2) APK is the greatest thing since sex. In fact, the fact that APK has deigned to grace us with his presence here is better than sex and we must bow down before the mighty APK.

    3) Even if you can show that you wrote a program to invoke world peace, have all the taxes you ever paid refunded legally, and give you head each morning, unless you got a better rating from ZDNet than APK, you still ain't shit, and more specifically, you ain't a pimple on the ass of the mighty and powerful APK.

    4) Network engineers ain't shit, most especially compared to the deity-on-earth known as APK. APK Knows this because many years ago, he was an NT admin for a couple of years.

    5) APK knows all computer law better than the DOJ web site.

  30. That sounds really quite a lot desperate. by Anonymous Coward · · Score: 0

    Just as cpercival's tweets are wilfully rushed: Siddown and give us the low-down already. Take those few minutes to do a write-up. Because a well-written executive summary has a lot more reach than having to piece it all together from tiny fragments here and there. So I say he also is guilty of hyping by rushing. If he's that much a "big hat" he better make it show, and this is what he's making show.

    The perennial complaint with "computer security" is exactly that the shtick is entirely rushing and hype. If even the "big hats" do exactly that, then that's a point to the complaint and more proof that even the best, even this guy is barely above a s'kiddie. And yeah, if that's the best the "computer security" industry can muster, that's a problem.

    1. Re: That sounds really quite a lot desperate. by Anonymous Coward · · Score: 0

      Intel only problems need to be rushed out so they can be dismissed as old news after burying them under a ton of shit articles about other stuff. Preferably politically polarizing ones.

  31. Horrible year by manu0601 · · Score: 1

    TFA says "What a horrible year in security for Intel".

    It was mostly horrible for Intel's customers.

    1. Re:Horrible year by drinkypoo · · Score: 1

      It was mostly horrible for Intel's customers.

      Looks like they got what they deserved. They supported Intel through their anticompetitive assaults on AMD, and now they reap what they've sown.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  32. You unidentifiable worms can't ever stomp me by Anonymous Coward · · Score: 0

    I never said that (as you try shit on my program many here like & use that a not-man "ne'er-do-well" you can't produce or do BETTER than yourself - hostnames my program puts into hosts aren't "long known" - they're as CURRENT AS POSSIBLE (often daily updated, some of my sources do it every 20 minutes).

    * See subject: However, it's pretty obvious I've stomped you many times under "registered 'luser'" fakenames you also hide behind w/ unidentifiable ac posts you now troll me by (since you're so "butthurt" over it, grow up) - & you know it.

    APK

    P.S.=> Heck, the very FACT you hide behind your UNIDENTIFIABLE anonymous posts PROVES I've done you in MANY times under your doubtless MANY sockpuppet fake names you use here (which I know is done here)... apk

    1. Re:You unidentifiable worms can't ever stomp me by Anonymous Coward · · Score: 0

      You really do struggle with reading comprehension, but what can we really expect from someone as severely mentally disabled as you. The fact that you can pound out something that resembles a sentence is a great accomplishment on your part. Maybe you can read the previous post a few more times and then see if you can figure out where you went off the rails.

  33. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  34. Cache side-channels by DrYak · · Score: 1

    Roughly yes.

    Except that: instead of comparing on X versus Y, you can make a giant array of Y with lots of pages, and for each possible value of b that you want to snoop on, you make sure to load a different page. (So if you want to distinguish between 16 values of b, and Y is stored in a region that is cached into 16k pages, you allocate 256k for the Y array).
    And then process 1 measures timing access to each chunk of array Y to see which one was already loaded into cache. (not necessarily on the same pass).
    See Google Project Zero's demo code for spectre 1 and metldown to see examples.

    Also, on branches, the scheduler doesn't take "both branches" it makes a bet based on how the jump looks like (loop tend to point backward and tend to be taken, if condition tend to jump forward and often aren't jumped) and based on prior knowledge (the spectre v2 tries to leverage the exact way this "prior knowledge" works to confuse the scheduler and have it jump speculatively were you want. That's the reason why Intel god exploited, but AMD doesn't have any concrete exploit in the wild : despite also doing indirect branch prediction too, it's much more complexe, and it's not clear whether there's a practical way to abuse this prediction).

    Lastly there's the whole "keeping the units busy" part of speculative / superscalar execution.
    The CPU might be busy executing some other stuff right now, and meanwhile you could have the math unit sitting idle.
    Intel CPU have extremely deep pipelines and looking an insane distance in the future.
    There might a few FP maths instruction waiting on the pipeline. So why not keep the FP math unit busy?
    the scheduler could speculatively have the FP maths start running, while keeping note that these instruction depend on the register XMM0 - which currently isn't expected to change, i.e.: the CPU doesn't think that it needs to wait another instruction that return a value inside XMM0 (eventually these speculative FP instructions triggers the loading into data cache of some parts of the Y array. Which depend on the content of XMM0).
    Much later, the scheduler : "Oh, shoot ! It turns out that we did actually overwrite the content of register XMM0 ! Let's quickly trough out of the windows any speculative execution that was tagged [this speculation depends on the content of XMM0]!"
    (Except not exactly everything is thrown out, the page of array Y is now sitting on the cached)

    Intel CPU are much more affected than the competition by having much deeper pipeline and more aggressive tendency to speculate. (But that makes nice numbers on benchmarks)
    That's why with Intel CPUs Google Project Zero code did work even without turning the JIT on : even if it take much more steps to interpret bytecode (compared to execute any actual instruction that was compiled by the JIT), the Intel CPUs speculate so much ahead that the spectre exploit will manage to run successfully.

    The above is also the reason behind Spectre v4 (accessing a bit of memory that should have been overwritten, but the CPU doesn't know yet: e.g.: because the instruction is "overwrite content of location [very long and complicated formula]" eventually the formula turns out to be "b", but by the time the CPU realises it, there's already some Y array page preloaded based on the older value of b).

    regarding kernel memory mapping : you don't need to map all the memory. As long as there are a few interesting bits of information in the kernel space to retrieve, meltdown is interesting enough. (On linux only the currently "active" memory is mapper, the rest of the address space is mapped to a magical pages that always return "0". The address space is usually split : e.g.: "negative" addresse (with the most significant bit = 1) are kernel. MSB=0 is userland of the current process)

    regarding the precise timing :
    You can somewhat compensate by repeating over and over again the attack and doing statistics.

    Regarding the crypto libraries :
    the worse part is that AES-NI hardware extension is very precise in which XMMn register holds what.
    So you know exactly which regtister to hammer in order to exfiltrate the key. Do it enough and you could statistically rebuild a good idea of the key.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  35. IMPERSONATING ME & lying? Please... apk by Anonymous Coward · · Score: 0

    I never say hosts stop Intel or AMD cpu hardware issues (but I see you impersonate me to do so trying to make me look 'bad' etc.)

    * You trolls are just pitiful & stupid - POOR IMITATIONS, & nothing but undereducated unskilled "ne'er-do-well" do NOTHING jealous jowies that WISH you were me!

    APK

    P.S.=> You IMITATING & IMPERSONATING PROVES IT IN FACT - you DO wish you were ME, lol... apk

    1. Re:IMPERSONATING ME & lying? Please... apk by Anonymous Coward · · Score: 0

      You are right APK. That post must have been made by that fucking retard AlecStaar from arstechnica. I think they perma-banned his loser basement dwelling ass too.

  36. You struggle trying to make me look bad by Anonymous Coward · · Score: 0

    You're struggling & FAILING as I catch you trying to put words in my mouth to make me "look bad" https://it.slashdot.org/comments.pl?sid=12234158&cid=56789668/ that I never say!

    * ... & MORON, I've been upmoderated easily 500++ times on /. so it's clear others DO understand what I write + that YOU have the ADD/ADHD dyslexia "issues" in that DULL brain of yours...

    (You PROVED you wish you were me, someone who made a useful program on a simple effective principle others on /. even LIKE + USE, that a DO-NOTHING zero "ne'er-do-well" wannabe that's undereducated & unskilled in yourself CAN'T EVER MANAGE let alone do BETTER than!)

    APK

    P.S.=> You're so pitifully transparent - & your UNIDENTIFIABLE anonymous posts PROVE you're not only afraid of me but the bs in them like impersonating me OR trying to make me look bad only proves I've crushed you before in tech debates & your STILL "butthurt" due to your FRAGILE EGO being destroyed for it publicly (under 1 of your MANY fake name SOCKPUPPETS you also use)... apk

  37. Arstechnica = losers who stalked me by Anonymous Coward · · Score: 0

    Arstechnica = losers who stalked me to NTCompatible.com & Windows IT Pro magazine forums to their dismay in Jeremy Reimer & Jay Little + Jarrett DeAngelis (who posts here on /. until I drove his ass off too) when their websites were REMOVED by their hosting providers in Shaw Canada & CrystalTech (for both email harassing me caught on a tracking ticket + stalking me & posting lies about me on them AFTER I destroyed them both PUBLICLY @ Windows IT Pro on Exchange Servers memory being freed UNHALTING them (which tells you Exchange is HEAVILY POINTER ORIENTED, which leads to memory fragmentation that CAN halt a serverware)).

    Jay Little the "self-proclaimed 'EXCHANGE EXPERT'" HAD TO CONCEDE IT from MICROSOFT'S OWN DOCUMENTATION proving it FOR me there (where they as usual stalked me AS YOU ARE NOW AS YOU'RE OBVIOUSLY ONE OF THOSE IDIOTS TOO ) & they can't "ban me" ANYMORE than I can be "banned" here on /. - as nothing stops ME, but me!

    I just left their site after a VERY BRIEF visit in 2001 (finding they are UNDEREDUCATED DO-NOTHING LAZY WANNABE "Fake it Till you Make It" types - shams & "ne'er-do-wells").

    APK

    P.S.=> I find it HILARIOUS you fools from "arseHOLETechnica" are STILL BUTTHURT over it (Peter Bright GOITER MAN, lol, frogchin also had his IRC server rooms taken over by "yours truly" EASILY as I drove them ALL out of them running, lol)... apk

    1. Re: Arstechnica = losers who stalked me by Anonymous Coward · · Score: 0

      Holy shit, I never noticed the similarities between Trump and apk until now. They don't get butt hurt, the other people do. They don't attack others, they attack him. They don't destroy him, he destroys everyone else. All while ignoring common sense and rationality.

  38. Proud to be in our President's company then by Anonymous Coward · · Score: 0

    See subject & see nothing but FACT much to ArseHOLETechnica's utter PUBLIC dismay (lol) https://it.slashdot.org/comments.pl?sid=12234158&cid=56791034/ & my pleasure to a pack of 'WEEZIL" scumbags I totalled easily due to their OWN stupidity.

    * Like usual? Mere JEALOUS JOWIE "ne'er-do-wells" BRING IT ON THEMSELVES... everytime.

    APK

    P.S.=> No way for YOU to ignore that common-sense & the rationality of FACT... apk

  39. Re:Floating point registers are used for encryptio by drinkypoo · · Score: 1

    In many cases, the compiler was (32 bit is obsolete) left with 5 or 6 registers to play with.

    And of those registers, two or three of them are the mandatory locations for input and output of instructions, meaning that x86 effectively only has two or three general purpose registers.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"