Linux kernel security work

(kroah.com)

64 points | by chmaynard 6 hours ago

4 comments

  • miduil 1 hour ago
    > If you are forced to use encryption to report security problems, please reconsider this policy as it feels counterproductive (UK government, this means you…)

    LOL

  • DebugDruid 4 hours ago
    Sometimes I dream about a 100% secure OS. Maybe formal verification is the key, or Rust, I don’t know. But I would love to know that I can't be hacked.
    • themafia 2 hours ago
      > But I would love to know that I can't be hacked.

      Cool. So social engineering it is. You are your own worst enemy anyways.

    • jeffbee 3 hours ago
      The problem is that for the overwhelming majority of use cases the isolation features that are violated by security bugs are not being used for real isolation, but for manageability and convenience. Virtualization, physical host segregation, etc are used to achieve greater isolation. People don't necessarily care about these flaws because they aren't actually exposed to the worst case preconditions. So the amount of contributor attention you could get behind a "100% secure OS" might not be as large as you are hoping. Anyway if you want to work on such things there are various OS development efforts floating around.
      • nine_k 1 hour ago
        Isolation is one thing, correctness is another. You may have architecturally perfect, hardware-assisted isolation, but triggering a bug would breach it. This is how a typical break out of a VM, or a container, or a privilege escalation, happens.

        There is a difference between a provably secure-by-design system, and a formally proven secure implementation, like Sel4.

      • ameliaquining 1 hour ago
  • ryanisnan 3 hours ago
    [flagged]
    • cogman10 2 hours ago
      Why? What benefit would https provide over http when visiting a pure information (and I'm guessing statically generated) website?
      • fordsmith 2 hours ago
        If you are on a public network without using a VPN you open yourself up to MITM to inject something malicious
        • cogman10 2 hours ago
          Sure, but that's ultimately a pretty unlikely attack vector. An attacker still needs to exploit some unknown vulnerability of your web browser in order to get something malicious going.

          I basically expect that sort of attack to only be pulled off by a state actor or by a black hat convention for the lolz.

      • bqmjjx0kac 2 hours ago
        Confidentiality, integrity, and authenticity :)
        • cogman10 2 hours ago
          > Confidentiality

          Reading a blog post about linux security? Do you actually care if the NSA/FBI/CIA/FDA/USDA or anyone else knows you read this particular blog post?

          I could understand this argument if we were talking about a social media site, or something more substantial. But a blog post?

          > authenticity

          It's a linux security blog post. While it's technically possible for a MITM to get in between an inject false information... about linux security? Is that really a real threat?

          > integrity

          Maybe a real problem, assuming a malicious MITM is trying to target you. But, I suspect, there are other avenues that'd be more fruitful in that case. Just hoping that someone would visit an http site seems like a far fetched concern.

  • JCattheATM 5 hours ago
    Their view that security bugs are just normal bugs remains very immature and damaging. It it somewhat mitigated by Linux having so many eyes on it and so many developers, but a lot of problems in the past could have bee avoided if they adopted the stance the rest of the industry recognizes as correct.
    • tptacek 5 hours ago
      From their perspective, on their project, with the constraints they operate under, bugs are just bugs. You're free to operationalize some other taxonomy of bugs in your organization; I certainly wouldn't run with "bugs are just bugs" in mine (security bugs are distinctive in that they're paired implicitly with adversaries).

      To complicate matters further, it's not as if you could rely on any more "sophisticated" taxonomy from the Linux kernel team, because they're not the originators of most Linux kernel security findings, and not all the actual originators are benevolent.

      • JCattheATM 4 hours ago
        > From their perspective, on their project, with the constraints they operate under, bugs are just bugs.

        That's a pretty poor justification. Their perspective is wrong, and their constraints don't prevent them from treating security bugs differently as they should.

        • ada0000 4 hours ago
          > almost any bugfix at the level of an operating system kernel can be a “security issue” given the issues involved (memory leaks, denial of service, information leaks, etc.)

          On the level of the Linux kernel, this does seem convincing. There is no shared user space on Linux where you know how each component will react/recover in the face of unexpected kernel behaviour, and no SKUs targeting specific use cases in which e.g. a denial of service might be a worse issue than on desktop.

          I guess CVEs provide some of this classification, but they seem to cause drama amongst kernel people.

      • rwmj 5 hours ago
        For sure, but you don't need to file CVEs for every regular bug.
        • Skunkleton 4 hours ago
          In the context of the kernel, it’s hard to say when that’s true. It’s very easy to fix some bug that resulted in a kernel crash without considering that it could possibly be part of some complex exploit chain. Basically any bug could be considered a security bug.
          • SSLy 4 hours ago
            plainly, crash = DoS = security issue = CVE.

            QED.

            • michaelt 3 hours ago
              BRB, raising a CVE complaining the OOM killer exists.
              • pamcake 2 hours ago
                Memory leaks are usually (accurately) treated as DoS. OoM killer is a mitigation to contain them and not DoS the entire OS.
              • worthless-trash 27 minutes ago
                I could be wrong. But operation by design isn't considered a bug.
    • schmuckonwheels 23 minutes ago
      Linus has been very clear on avoiding the opposite, which is the OpenBSD situation: they obsess about security so much that nothing else matters to them, which is how you end up with a mature 30 year old OS that still has a dogshit unreliable filesystem in 2026.

      To paraphrase LT, security bugs are important, but so are all the other bugs.

    • akerl_ 4 hours ago
      This feels almost too obvious to be worth saying, but “the rest of the industry” does not in fact have a uniform shared stance on this.
    • jacobsenscott 3 hours ago
      Classifying bugs as security bugs is just theater - and any company or organization that tries to classify bugs that way is immature and hasn't put any thought into it.

      First of all "security" is undefined. Second, nearly every bug can be be exploited in a malicious way, but that way is usually not easy to find. So should every bug be classified as a security bug?

      Or should only bugs where a person can think of a way on the spot during triage to exploit that bug as a security bug? In that case only a small subset of your "security" bugs are classified as such.

      It is meaningless in all cases.

      • therealrootuser 2 hours ago
        > nearly every bug can be be exploited in a malicious way This is a bit contextually dependent. "This widget is the wrong color" is probably not a security issue in most cases, unless the widget happens to be a traffic signal, in which case it is a major safety concern.

        Even the line between "this is a bug" and "this is just a missing, incomplete, or poorly thought out feature" can get a bit blurry. At a certain point, many engineers get frustrated trying to pick apart the difference between all these ways of classifying the code they are writing and just want to get on with making the system work better.

      • JCattheATM 3 hours ago
        > First of all "security" is undefined.

        Nonsense.

    • firesteelrain 4 hours ago
      “A bug is a bug” is about communication and prioritization, not ignoring security. Greg’s post spells that out pretty clearly.
    • themafia 2 hours ago
      > a lot of problems in the past could have bee avoided

      Such as?

    • beanjuiceII 5 hours ago
      did you read it? because that's not their view at all