Slashdot Mirror


Intel Responds To Alleged Chip Flaw, Claims Effects Won't Significantly Impact Average Users (hothardware.com)

An anonymous reader quotes a report from Hot Hardware: The tech blogosphere lit up yesterday afternoon after reports of a critical bug in modern Intel processors has the potential to seriously impact systems running Windows, Linux and macOS. The alleged bug is so severe that it cannot be corrected with a microcode update, and instead, OS manufacturers are being forced to address the issue with software updates, which in some instances requires a redesign of the kernel software. Some early performance benchmarks have even suggested that patches to fix the bug could result in a performance hit of as much as 30 percent. Since reports on the issues of exploded over the past 24 hours, Intel is looking to cut through the noise and tell its side of the story. The details of the exploit and software/firmware updates to address the matter at hand were scheduled to go live next week. However, Intel says that it is speaking out early to combat "inaccurate media reports."

Intel acknowledges that the exploit has "the potential to improperly gather sensitive data from computing devices that are operating as designed." The company further goes on state that "these exploits do not have the potential to corrupt, modify or delete data." The company goes on to state that the "average computer user" will be negligibly affected by any software fixes, and that any negative performance outcomes "will be mitigated over time." In a classic case of trying to point fingers at everyone else, Intel says that "many different vendors' processors" are vulnerable to these exploits.
You can read the full statement here.

70 of 375 comments (clear)

  1. Video streaming? by Anonymous Coward · · Score: 2, Interesting

    What about video streaming (writing, compressing) with Intel's Quicksync? We do a lot of I/O. Presumably it's going to kill our performance. I wonder if a class action lawsuit will be incoming.

    1. Re:Video streaming? by Hal_Porter · · Score: 5, Interesting

      If the hit is really 30% for FUCKWIT I wonder if there's a case to be made for a 'I know all the software on my box, don't protect me against kernel to user mode data leakage'.

      You could have "--bareback" switch the user could pass into the kernel from the bootloader.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    2. Re: Video streaming? by Hal_Porter · · Score: 2

      Yeah, he streams them with Intel(tm) Quicksync(tm).

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    3. Re: Video streaming? by MightyYar · · Score: 3, Interesting

      You must be kidding. I've been a party to class action lawsuits for the STUPIDIST shit. The latest one is for some food processor blade where I can get $15. Wanna start a pool on how much the attorney's fees end up being?

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    4. Re:Video streaming? by fph+il+quozientatore · · Score: 2

      'I know all the software on my box' --- Unlikely for most people; even your browser can run arbitrary Javascript code now.

      --
      My first program:

      Hell Segmentation fault

    5. Re: Video streaming? by sexconker · · Score: 2

      http://www.classactionrebates.... Browse, sign up, wait for your pittance.

    6. Re:Video streaming? by MrKaos · · Score: 2

      I guess they won't be affected unless your application reads and writes data from/to the disk one byte at a time.

      That's only one part. Reads wait on writes and I/O *to* disk forces a context switch from the CPU scheduler but that doesn't mean that the CPU isn't going to context switch when it's de/compressing a block in memory or for some other memory bound process.

      Reads and writes to disk provide an opportunity to mask the CS latency in the I/O latency however there is no such opportunity in a CPU cache to system ram operation and this is where a lot of the impact will be felt. It's every task switch and that will affect threaded processes like video streaming substantially.

      I know this because I wrote a lot of math to figure out application latency to tune out this very type of performance issue several years ago and what I expect to see is system time increasing as the CPU spends a lot more time shifting memory around than on my applications. You can't stop the system from context switching, it has to for the OS to work, you can only exercise some control over *when* it does. You still have to get things from RAM to CPU cache and it's not as if you can add more CPU cache to reduce CS, it's on the CPU for a reason.

      That frustrating feeling of what the fuck is this system doing is usually memory thrashing when you analyse it later.

      People have already run network tests and the KPTI patch has a minimum performance loss.

      That's probably because of buffering on the network card and IP stack however, like disk writes, it's only one part of the CPU scheduler's parameters.

      More than likely we are going to spend some of the next few months trying to figure out every way possible to claim back the performance hit while we re-learn how to tune the system properly again. Maybe even a new CPU or I/O scheduler. I used to really support Intel products and I'm amazed that they could screw up something this fundamental. Hopefully I've just got some of the detail wrong and its not as bad as I think. Not cool Intel.

      Ellison is probably kicking himself with Oracle about to get out of Sparc CPUs right now, it could of meant a lot of market for Oracle, so at least something good has come out of it ;)

      --
      My ism, it's full of beliefs.
  2. Performance by phantomfive · · Score: 4, Interesting
    "All you little people, performance doesn't matter for you." I do like this quote, though:

    "Intel believes its products are the most secure in the world"

    Yeah, more secure than all those other products who don't let you log in with an empty password.

    --
    "First they came for the slanderers and i said nothing."
    1. Re:Performance by Anonymous Coward · · Score: 5, Insightful

      "Intel believes its products are the most secure in the world"

      Jerry, just remember: it's not a lie if you believe it

  3. why are non broken AMD chips flagged intel? by Joe_Dragon · · Score: 3, Insightful

    why are non broken AMD chips flagged intel?

    1. Re:why are non broken AMD chips flagged intel? by ilsaloving · · Score: 2

      From what I'm reading, it's cause the code is still in development so they basically have it turned on for everything. They plan on fixing that soon.

      https://www.phoronix.com/scan....

      https://www.phoronix.com/scan....

  4. Re:Press the panic button by phantomfive · · Score: 5, Informative

    Yeah, notice the part where they tried to spread the blame to other CPU manufacturers.

    --
    "First they came for the slanderers and i said nothing."
  5. Nice try by blackomegax · · Score: 5, Interesting

    Nice try Intel, but phoronix benchmarks prove you wrong, and show even up to 60! % loss in some loads.

  6. They do not say anything about read by Anonymous Coward · · Score: 5, Informative

    Intel says "Intel believes these exploits do not have the potential to corrupt, modify or delete data."
    They do not say anything about read. This means exploit lets read protected memory.

    1. Re:They do not say anything about read by gweihir · · Score: 2

      They also do not say that the things that can be read (like credentials and crypto-keys) can of course be used to "corrupt, modify or delete data". A shameless lie by misdirection.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  7. They're magic 8 ball is broken too by ilsaloving · · Score: 4, Interesting

    I think their magic excuse 8-ball is broken too, cause I think this is the exact same excuse they've used for all their previous screw ups too.

  8. the "average computer user" my ass by Swave+An+deBwoner · · Score: 4, Funny

    All my users are above average.

    1. Re:the "average computer user" my ass by F.Ultra · · Score: 2

      No, it only counts as a single point of failure.

  9. Re:just like the Pentium bug by sizzzzlerz · · Score: 2

    This has the potential of making Intel recall the floating point bug times with great fondness, nostalgia, and affection.

  10. won't affect "average users" by goombah99 · · Score: 4, Interesting

    I wonder, does the average computer owner also have a bank account or conduct any transactions with vendors whose websites are hosted on shared instance cloud computers? (hint: that would be everyone except maybe kim jong). You are impacted by this even if it's not a computer you own. Furthermore, while we don't know the full details of this, it's entirely plausible that the program running in user space could be a web page javascript, java plugin or adobe flash program. If so such web pages could harvest your private data including website passwords, your bitcoin key, or any number of things you don't want leaking.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:won't affect "average users" by fuzzyfuzzyfungus · · Score: 2

      Nobody except the admins care if it gets slower; but I suspect a somewhat broader circle of people will care if it gets more expensive.

      A fair chunk of the internet is mostly profitable because VMs are cheap and low commitment; and shoveling out some database backed idiocy is relatively cheap and mature. That's about the worst place you could put an "we have to implement the fix because you could break the hypervisor otherwise; but it takes a nasty bite out of databases and I/O heavy stuff" announcement.

      Whatever Intel's carefully curated 'average user' does on their desktop; odds are excellent that they spend their time online hammering on a bunch of moderately database heavy workloads that live in VMs.

  11. Some info by Artem+S.+Tashkinov · · Score: 3, Informative

    I like how they've weaseled out of the whole fiasco (why didn't /. post a link to the original press release?):

    "Contrary to some reports, any performance impacts are workload-dependent, and, for the average computer user, should not be significant and will be mitigated over time".

    I'm not sure I can read between the lines properly but I guess new revisions of Coffee Lake/Kaby Lake/SkyLake(X) CPUs are coming and they will contain a hardware fix (though it still seems highly unlikely considering how difficult it's to deploy a new hardware design - however unlike other fabless companies, like AMD/NVIDIA/ARM/etc Intel has everything under control). After all they've known about this issue for almost half a year.

    Meanwhile as for consumer workloads they are correct. Two German websites have already tested a Windows build with a fix and found very little performance losses.

    Phoronix has also run a number of tests on Linux and found out that only few (mostly artificial) tasks are seriously affected.

    Intel home users may sleep well. As for enterprise customers no one has run virtualization tests yet though - that's what truly important for large deployments (clouds).

    1. Re:Some info by RogueyWon · · Score: 3, Interesting

      The Hardwareluxx benchmarks are interesting. They certainly don't show "no" impact on gaming. In fact, what they show is more or less what you would expect to see with decreased CPU performance.

      If you look at the 4K benchmarks, there is minimal-to-no impact. That's not surprising, because you would expect most modern games to be GPU-constrained at 4K, outside of some really fringe cases. Drop to 1080p, however, and you are looking at roughly a 4% or so reduction in framerates. Their test rig has a 1080 Ti - one of the best gaming cards money can buy right now and one that you would expect to be able to eat most games for breakfast at 1080p. It's not unusual for games on high-end graphics cards to hit CPU constraints at 1080p and, indeed, this is usually how sites like Eurogamer's Digital Foundry benchmark CPUs for gaming performance. By their usual standards, that 4% performance loss is pretty severe.

      Will it actually affect anybody's gaming performance in the real world? Possibly. Gamers with older CPUs but a more recent graphics card (a fairly common combination) still using 1080p monitors may well see modest but still noticable performance hits based on those benchmarks. Even if it's not a huge real-world impact, it's a massive reputational blow for Intel.

  12. Re:Will it significantly imact me? by guruevi · · Score: 5, Funny

    You'll now be running 1200-1600 servers depending on your workload.

    --
    Custom electronics and digital signage for your business: www.evcircuits.com
  13. Re:Many different vendors??? by Shikaku · · Score: 2, Informative

    Some ARM64 chips are affected as well actually. Citation: https://lwn.net/Articles/74039...

    I don't see why they would name AMD since it's unaffected however. https://lkml.org/lkml/2017/12/...

  14. Heard this before by Jason1729 · · Score: 3, Insightful

    When they had the Pentium floating point division bug they also said it wouldn't affect the average user. All they did was piss off their customers before they recalled the chips anyway.

    Some people never learn.

    1. Re:Heard this before by Zobeid · · Score: 2

      That's exactly what I thought of when reading the press release, too.

      For those who don't remember --> https://en.wikipedia.org/wiki/...

  15. "[Cannot]...corrupt, modify, or delete data"?? by Anonymous Coward · · Score: 5, Insightful

    If the 'sensitive information' they can gather includes credentials or tokens the user wouldn't otherwise have access to, it sure as shit allows modification of data

    1. Re:"[Cannot]...corrupt, modify, or delete data"?? by vadim_t · · Score: 2

      So the paper is out. I'm not yet done reading it, but so far what I gathered is this:

      There's a demonstrated attack capable of dumping all of kernel memory at a speed of 503 KB/s. This is 34 minutes per GB, so a full dump is going to take a while at this rate, but it seems plenty fast to cause some huge amounts of trouble if the attacker knows where the juicy stuff is.

      There's also a version for reading the memory of another process. This seems trickier to pull off, and the paper describes a speed of 10 KB/s of an unoptimized implementation.

      Still, this appears to mean that any memory at all in the machine can be read, which is bad news for sure.

    2. Re:"[Cannot]...corrupt, modify, or delete data"?? by silverdirk · · Score: 2

      I like this summary, so I'll elaborate a bit for those who don't want to read the paper.

      There are two attacks, being released together. Meltdown attacks Intel kernel memory, and Spectre attacks any peer userspace process. Meltdown (attack on kernel memory) only works on certain Intel designs. Specter works on any architecture that performs out-of-order execution of instructions and leaves junk behind in the cache even after the results of the instructions that shouldn't have been executed are wiped and where the cache is shared by multiple processes. Basically, any modern high-speed processor.

      The first one can be mitigated by not leaving any kernel pages mapped at all. The second one ... sounds like they're suggesting to just look for all the known patterns of instructions in your binaries and modify the source code to avoid that pattern. And keep doing that each time a new pattern is discovered.

      Both attacks work by checking "did a specific address end up in processor cache". The usual way to test this is by clearing the cache, performing the attack, and then seeing which memory accesses are fast and which are slow. For both, the attacker needs to be able to precisely time memory reads. For Spectre, the attacker also needs to know the machine code of the target (to find specific instruction sequences which it can attack), and be able to communicate with the target (to provide them with crafted inputs)

      While the requirements for Spectre sound like a high bar, the authors of the paper were able to demonstrate it by tweaking some javascript and looking at the machine code it generates in Chrome's JIT compiler, then having the javascript attack the host browser. This allowed the javascript to read the entire memory of the browser. It doesn't say they were able to attack things like SSH agent cached keys, but once they know everything in the browser's password cache they can work their way outward.

      A multi-user host would be the most vilnerable to Spectre.

      --
      Mark of the Coder fades from you. You perform Opening on World of Warcraft. Warcraft crits GPA for 4. GPA dies.
  16. Re:Many different vendors??? by Anonymous Coward · · Score: 5, Informative

    when did AMD say that? all reports say that both AMD and ARM are also affected

    AMD CPUs are NOT affected. Quit spreading lies.

    https://lkml.org/lkml/2017/12/27/2

  17. Looks like the Intel legal team was hard at work.. by QuietLagoon · · Score: 5, Interesting

    That was one of the most uninformative, denying-we-did-anything-wrong press releases I've read in a long while. Therefore I suspect it came from the legal team. If only Intel's CPU designers were as good as the Intel legal team.

  18. Just Wait A Week by tsqr · · Score: 4, Funny

    Intel will soon be announcing a $29 CPU replacement program for qualifying customers.

    1. Re:Just Wait A Week by sl3xd · · Score: 2

      Intel will soon be announcing a $29 CPU replacement program for qualifying customers.

      ...speaking of $29 to fix the battery (to speed up Apple's iPhones): Since ARM64 is also affected, every iOS device since the iPhone 5s (late 2013), as well as Android devices of similar vintage will also be seeing a slowdown from this.

      Here's the hard reality: It takes roughly a year to go from tape-out (end of chip development) to a fabricated chip. That doesn't count manufacturing time, integration into designs, physical distribution, and so on.

      Even if Intel (or any of the ARM64 makers) were to find and fix the problem when it first came to light six months ago, we won't see fixes until the next Presidential primaries are getting started in mid to late 2019.

      --
      -- Sometimes you have to turn the lights off in order to see.
  19. PR lies by gweihir · · Score: 5, Insightful

    Does not "corrupt, modify or delete data". Yes, nice. It can just steal your passwords and encryption keys and then use them to do that corruption, modification or deletion. A shameless lie by misdirection. Intel has no honor at all.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  20. Re:Can we pause the Panic Parade, please? by gweihir · · Score: 2

    This is on a computer. Apparently, you have no clue what that means. So to educate you (futile, I know): Computers can do tiny things very fast and very often and that results in not-tiny things. You argument is bogus.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  21. Too bad I went with AMD by Anonymous Coward · · Score: 3, Insightful

    Now I have nothing to complain about. Get the same performance with a much lower price.

  22. Re:Looks like the Intel legal team was hard at wor by gweihir · · Score: 5, Informative

    As Intel has been caught red-handed doing massively illegal things several times, like any good criminal enterprise they of course have a first-rate legal team.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  23. Re:Can we pause the Panic Parade, please? by mujadaddy · · Score: 2

    For the average home user, are you saying this is a full-alarm fire?

    I get why server farms are stocking up on Depends, but if I'm at home on a script-blocking browser, isn't my attack vector pretty small?

    --
    Populus vult decipi, ergo decipiatur...
    "Force shits upon Reason's back." - Poor Richard's Almanac
  24. Re:Many different vendors??? by gweihir · · Score: 3, Informative

    AMD does not have the flaw. Try to keep up.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  25. Re:I'm not affected, but am I? by glowworm · · Score: 2

    This bug is FUCKWIT, it's a new one and still under embargo. The test you ran is the older ME bug.

    --
    Orationem pulchram non habens, scribo ista linea in lingua Latina
  26. Re:Can we pause the Panic Parade, please? by GerryGilmore · · Score: 2

    Actually, I've been knowledgeable about CPUs since the days when I was doing chip-level repair on DG Nova III CPU boards but...whatever. You still have not explained even a tiny bit how having malware on your system (necessary for this to be of any impact at all) is OK, but if that malware can read kmem...HORROR! Did any of the ransomware or anything else which has killed tens of thousands of systems read kmem? No.

  27. Re:Can we pause the Panic Parade, please? by EndlessNameless · · Score: 3, Insightful

    The Linux and Windows kernels are being rewritten in a rather complicated fashion, which includes a performance hit. These changes will have a bigger impact than a typical security patch. No one wants to do something like this unless it is truly necessary.

    If all of the developers who have the details agree that something needs to be done, I'm willing to go along with it. When the guys who build something are worried about it falling over, you pay attention.

    I would rather not see a POC until a patch is released, tested, and deployed. The implications of this bug are dire, and malware authors can turn a POC into real-world malware in under 48 hours---simple, historical fact.

    Vendors have seen security patches reverse-engineered to produce malware within a week, so I'd be inclined to push this onto workstations and public-facing servers ASAP. Full details aren't available publicly yet, so maybe the danger is overblown. But it looks very bad right now, all things considered.

    --

    ---
    According to the latest ruleset, this post should be modded as Vorpal Flamebait +5.
  28. Re:why is intel saying many different vendors?? by ilsaloving · · Score: 2

    Do you have a link for that assertion? I've tried a couple searches using various combinations of "arm page table kernel" and came up empty.

  29. Re:Press the panic button by Anonymous Coward · · Score: 2, Interesting

    What a load of bullshit.

    The only ARM64's affected are those by Intel, because Intel "cleverly" re-used some of the low-level chip architecture.

  30. Re:Can we pause the Panic Parade, please? by MidSpeck · · Score: 2

    From Google's post: "Testing also showed that an attack running on one virtual machine was able to access the physical memory of the host machine, and through that, gain read-access to the memory of a different virtual machine on the same host."

    Source: http://security.googleblog.com...

    So yes, for the average home user, no big deal. For anyone running something on a cloud provider, bigger deal that the host gets patched.

  31. Re:why is intel saying many different vendors?? by sl3xd · · Score: 3, Informative
    --
    -- Sometimes you have to turn the lights off in order to see.
  32. Re: why is intel saying many different vendors?? by Ramze · · Score: 5, Informative

    AMD checks privileges before it runs the code. Intel chose to optimize their branch prediction in a way that checked the privileges AFTER the code was run, but before it was written/applied. This allowed a small window for someone to read the results of that illegal instruction before it was dumped for being flagged as an exception.

    I've read some info that speculates that Intel likely gained some performance by letting a lot of branch predictions run and then dumping those that are flagged after the fact instead of checking each and every one before it was run (because a lot of branches are dumped anyway for other reasons, so small price to pay to let things run and be wrong.) I don't know for sure, though. Sounds to me like they skimped on some silicon to check in hardware and put more into branch prediction.

    Basically the code runs like this:

    Hi, I'm a user program with user rights. I'd like to know where the super secret memory address of this part of the system is so I can read from it... and maybe even write to it later with a different exploit.

    AMD: No, you're in user land, you can't see kernel land.
    end of story

    Intel: Oh, let me fetch that for you... Here, I've typed up a handy map of things and notes on your way around the super-secret areas... just show me your security clearance first before I hand it over.
    Your malware: *glances at map, notes*
    Intel: WAIT... you're in user land. You can't have this. *lights the map and notes on fire after you've already seen them*

  33. Re:Many different vendors??? by gweihir · · Score: 3, Informative

    And that is relevant how? The whole discussion is 99.9...9% about AMD64.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  34. Re:Many different vendors??? by rl117 · · Score: 2

    Did you actually read the contents in detail, because the "tested processors" are not all equally vulnerable.

  35. Re: Many different vendors??? by hublan · · Score: 5, Informative

    Incorrect. From the FAQ on the page you linked to:

    Which systems are affected by Meltdown? ... We successfully tested Meltdown on Intel processor generations released as early as 2011. Currently, we have only verified Meltdown on Intel processors. At the moment, it is unclear whether ARM and AMD processors are also affected by Meltdown.

    --
    My spoon is too big.
  36. mitigated over time by fahrbot-bot · · Score: 3, Insightful

    ... any negative performance outcomes "will be mitigated over time."

    Meaning, when you buy a new CPU or computer - i.e. "fixed in the next release".

    --
    It must have been something you assimilated. . . .
  37. It's not a bug, it's a design decision by mveloso · · Score: 3, Interesting

    From what I've read, this "problem" looks to be a design decision on the part of Intel. Speculative access needs to be fast, and making it subject to access control basically removes the benefit of speculative access.

    Given how Intel the company operates, there's no way that this could be a bug

    I myself would rather run with the current behavior, since I don't particularly care about the problem; it's more an issue for shared hardware, and I don't generally share my hardware.

    1. Re:It's not a bug, it's a design decision by 110010001000 · · Score: 4, Insightful

      All hardware is "shared". Javascript in your browser can read other processes memory. You aren't safe. Any website can exploit this.

  38. Re:Many different vendors??? by silverdirk · · Score: 2

    Specter sounds like the worse of the two, to me, actually. In the paper for it they describe an attack where javascript is carefully crafted so that it generates specific processor instructions when compiled by the Chrome JIT compiler, and then the javascript is able to attack the browser host and read it's entire memory contents. And they have a working example of this supposedly.

    --
    Mark of the Coder fades from you. You perform Opening on World of Warcraft. Warcraft crits GPA for 4. GPA dies.
  39. Re:Not just Intel, also AMD and ARM by HiThere · · Score: 4, Insightful

    Based on other comments above, there is a fair chance you misunderstand the nature of the bug. It is reported that AMD validates requests for speculative execution before executing them, and Intel validates them afterwards. The bug is supposedly that it's possible to read the results of the speculative execution before the Intel chip notices that they were improperly executed. If that is so, then the AMD chips do *not* have this particular bug.

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  40. Read ex-Intel staff's opinion on why this happenes by ffkom · · Score: 3, Interesting
    ... written in 2015 at https://danluu.com/cpu-bugs/

    As someone who worked in an Intel Validation group for SOCs until mid-2014 or so I can tell you, yes, you will see more CPU bugs from Intel than you have in the past from the post-FDIV-bug era until recently. Why? Let me set the scene: It’s late in 2013. Intel is frantic about losing the mobile CPU wars to ARM. Meetings with all the validation groups. Head honcho in charge of Validation says something to the effect of: “We need to move faster. Validation at Intel 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 early 90’s FDIV bug, we need to move on. Our competition is moving much faster than we are” - I’m paraphrasing. Many of the engineers in the room could remember the FDIV bug and the ensuing problems caused for Intel 20 years prior. 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. That meeting there in late 2013 signaled a sea change at Intel to many of us who were there. And it didn’t seem like it was going to be a good kind of sea change. Some of us chose to get out while the getting was good. As someone who worked in an Intel Validation group for SOCs until mid-2014 or so I can tell you, yes, you will see more CPU bugs from Intel than you have in the past from the post-FDIV-bug era until recently.

    It's basically the same fuck-up as in the software industry: Profits and "time-to-market" prioritized over security.

  41. Re:Looks like the Intel legal team was hard at wor by Tablizer · · Score: 2

    As Intel has been caught red-handed doing massively illegal things several times, like any good criminal enterprise they of course have a first-rate legal team.

    To be fair, the existing laws are vague enough that good lawyers can talk judges and juries out of severe penalties. Thus, it's not technically "illegal", or at least not clearly illegal. "Devious" is probably a better word than "illegal". They dance in the grey areas of the law.

    It's also the main reason why Hillary (and other tech-sloppy politicians) are unlikely to be prosecuted. Vagueness is a key tool of powerful lawyers and why regular folks are less likely to get away with stuff that plutocrats like OJ and Hillary get away with.

    (I've been round and round in the Hillary email thing in many forums, and there are no known clear-cut laws to bust her on. Criminal prosecutions require "beyond a reasonable doubt". The law and the tech landscape provide plenty of doubt.)

  42. Re: why is intel saying many different vendors?? by Anonymous Coward · · Score: 5, Interesting

    Actually, not so quickly. Only because of Kernel-mode JIT.

    Read it very carefully.

    • * AMD chips are only vulnerable to variant 1.
    • * Variant one works on eBFP bytecode which is either interpreted or JIT'd by the kernel. If the malcode is JIT'd by the kernel, it is executed by the kernel in kernel space.
    • * AMD is thus still maintaining security and not speculatively executing instructions that violate security - as far as the chip is concerned, this is the kernel accessing kernel memory!

    The fixes are being more careful in the bytecode verifier prior to JIT'ing (if that's even possible!), or isolating the JIT'd code into its own space, or considering eBFP bytecode loading to be as security sensitive as insmod. And... I can't see how splitting kernel space into its own page table would avoid this particular variant.

    For more info about BPF, check this. Sadly, "... Tcpdump asks the kernel to execute a BPF program within the kernel context. This might sound risky, but actually isn't." didn't take timing attacks into consideration.

    They haven't demonstrated a user-mode reading kernel memory just yet. Securing a Linux box on AMD is as trivial as disabling eBPF.

    However, it really uncovers a fundamental issue in all JITs allowing what should be interpreted code to read things, using timing attacks, that it should not be able to (escaping its sandbox). Hence all the references about JavaScript - similar attack allows JavaScript code to read memory outside the JavaScript world, but as far as I can tell, not read anything that the JavaScript interpreter couldn't read (although it seems to require JIT compilation). If anything, it's a general class of attacks allowing anything to read about its underlying environment.

    The gotcha on Intel chips is that user-mode-x86 code can use this same timing attack on the kernel. On AMD, the timing attack is nullified because speculative reads fail before triggering cache loads.

  43. AMD bug only affect THE SAME PROCESS, unlike Intel by Anonymous Coward · · Score: 5, Informative

    Intel PR monkeys are trying to take AMD down with them, let's make this clear:

    For the 3 bugs, the biggest one only affect Intel CPUs, for bug 2 and 3:

    AMD bug only affect THE SAME PROCESS, unlike Intel, which allows exploit to cross process

    https://googleprojectzero.blog...

    As shown, AMD was only vulnerable to "the ability to read data inside mis-speculated execution within the same process, without crossing any privilege boundaries."

  44. Yep, tune your I/O size by raymorris · · Score: 2

    The questioner said "We do a lot of I/O". If you do io 512 bytes at a time, this may be noticeable. But that was a poor choice to begin with. 8192 bytes can be a lot faster, even without this issue, and even more so now. Each disk read is a call into kernel space. To minimize the number of calls, grab more data each time.

    Try different values and benchmark. It can make a big difference.

  45. Re:Press the panic button by Sloppy · · Score: 2

    It's called an Opportunity Button.

    any negative performance outcomes "will be mitigated over time."

    Buy a brand new Intel processor next year!

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  46. Re: why is intel saying many different vendors?? by complete+loony · · Score: 2

    You're describing Meltdown, Spectre is worse.

    Spectre exploits the implementation of the CPU branch predictor to trick a high privilege process to speculatively execute some number of ROP-like gadgets. The victim process *doesn't* trip over any privilege checks.

    This works because the Ivy Bridge, Haswell and Skylake indirect branch prediction state is shared between threads running on the same core. The Spectre paper claims that this also applies to AMD's Ryzen CPU's, but they didn't implement a working exploit.

    Spectre doesn't depend on having the kernel memory mapped into the process, so probably isn't mitigated by FUCKWIT (er KPTI).

    --
    09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
  47. Re: Many different vendors??? by aurasdoom · · Score: 2

    They are affected, but not by Meltdown but by Spectre

  48. Re:AMD bug only affect THE SAME PROCESS, unlike In by Anonymous Coward · · Score: 2, Informative

    AMD's Zen processors are immune to all 3 vulnerabilities FYI.

  49. Re:Not just Intel, also AMD and ARM by drinkypoo · · Score: 2

    Basically, this isn't an implementation bug, or even a design flaw... it's an architectural flaw, present in all modern CPUs.

    Except those from AMD.

    This is incredibly huge. To a first approximation, all computers are broken.

    All computers made by Intel, anyway. They have always been shitty at branch prediction. That's why the P4 sucked so hard; it had a long pipeline and their branch predictor wasn't up to snuff, and branch prediction happened fairly early in the pipeline so you had to throw away many cycles when it mispredicted. Intel addressed this inadequacy by playing fast and loose with OoO to get a performance improvement, and now there's a vulnerability. This is just more typical incompetence from Intel, but this time it's really going to screw them because it has a significant performance impact. FDIV couldn't kill them because the performance impact of mitigation was minimal. But this is fundamentally different; people chose Intel CPUs because it reduced the number of nodes they would need compared to AMD. Now they're going to have to buy more nodes, erasing that advantage. Actually having to spend more money because of Intel's screwup will make them think twice about any more homogeneous, intel-based networks of computers.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  50. Re:Not just Intel, also AMD and ARM by drinkypoo · · Score: 2

    Look at the blog post I linked.

    You mean the one that says "AMD provided the following link: http://www.amd.com/en/corporate/speculative-execution? It contains the following in a table:

    Variant One Bounds Check Bypass Resolved by software / OS updates to be made available by system vendors and manufacturers. Negligible performance impact expected.
    Variant Two Branch Target Injection Differences in AMD architecture mean there is a near zero risk of exploitation of this variant. Vulnerability to Variant 2 has not been demonstrated on AMD processors to date.
    Variant Three Rogue Data Cache Load Zero AMD vulnerability due to AMD architecture differences.

    So yes, some of the attacks work against AMD processors. However, due to architectural differences, mitigation will involve minimal performance impact, unlike Intel. Once again, we see that AMD has superior architecture, and Intel has superior process technology.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  51. Boundary violations by DrYak · · Score: 2

    They are affected, but not by Meltdown but by Spectre

    To expand :

    The whole shit storm affecting Intel, is about boundary violations.
    That means kernel information leaking into user-land software.

    Intel CPU are affected by this (they check access rights much later on, at a point where a lot has happened and that "lot" can be carefully timed and analyzed to leak information out of the kernel space). It allows to have information cross the boundary between kernel and users-space.

    AMD CPU are not affect by this (they check access rights ealier, at a point where not much has happened yet). Yes you can also do timing to guess stuff from speculative execution, BUT you are shut out of the kernel space. You can only user this to have one process leak its own memory space. You cannot use this to get things from the kernel into some javscript code, the CPU will block access to early for the attack to actually work.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  52. Focus by DrYak · · Score: 2

    Yeah so the fact that some obscure ARM64 demo board that hasn't seen that much actual real-world deployment (*) happens to be made by AMD, means that suddenly everybody must lose confidence in all x86-64 hardware, not only Intel's (which is totally affected by the security shit storm) but also AMD's (whose AMD64 is immune to the actual security leaking exploit. It's not affected by the security shit storm. It's just affected by some proof of concepts where an application can leak it's own memory space) ?

    While technically, the words of Intel aren't completely wrong (yup, there exist an obscure chip made by AMD that is affected), it's completely misleading: they want to make you think that it's affecting all manufacturer across the board similarly. It's not. Most of what AMD produces, all the chips you might be thinking about when thinking of AMD (i.e.: the AMD64 chips that make a sizeable chunk of AMD's production, and nearly all of their CPU production), they are not affected.

    ---
    *: honnestly, are there any significant number of machine shipped with Opteron-A ? I mean actual servers deployed in production widescale, not some SBC sold in small quantity to people wanting to experiment with the tech.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  53. Re:Read ex-Intel staff's opinion on why this happe by jbeaupre · · Score: 3, Interesting

    Except this bug predates 2013. I know it's hard when facts don't conform to your bias, but you'll survive.

    --
    The world is made by those who show up for the job.