Announcement

Collapse
No announcement yet.

The Linux 5.2+ "Register Corruption" Bug / Golang Issue Was A One-Line Kernel Caching Issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by archsway View Post
    This bug is not just triggered by doing just any AVX work.

    It requires (from here):
    1. A thread doing AVX operations using YMM registers.
    2. A signal where the kernel must fault in stack pages to write the signal context.
    3. Context switches. Having a single task isn't sufficient.
    this is true, but anyone doing the first of those now needs to verify that the other two didn't happen. in practice, this means they have to run the computation again with a fixed kernel.

    Comment


    • #12
      subj ultimately shows usefulness of go

      Comment


      • #13
        Originally posted by pal666 View Post
        subj ultimately shows usefulness of go
        Actually, what it shows is that (again) Google has the resources to go deep when things go squirrely, at least in code they use and care about. With enough crash reports, all bugs are shallow.

        Comment


        • #14
          Originally posted by hotaru View Post

          we don't actually know that the fallout has been tiny:
          Well. I was under the impression that the context was corrupted. Not the actual data itself.
          So more likely to cause invalid code and state than data corruption.
          A wild guess...

          Comment


          • #15
            Originally posted by milkylainen View Post

            Well. I was under the impression that the context was corrupted. Not the actual data itself.
            So more likely to cause invalid code and state than data corruption.
            A wild guess...
            nope. if you look at the original Go bug report, it was about corrupted data.

            Comment

            Working...
            X