‹ BackHN Continuity

Thread

Several vulnerabilities have been discovered in the Linux kernel

576 points · 408 comments · luispa

  1. john_strinlai · · focus · HN ↗
    note that _any_ bugfix is assigned a cve, which makes for big numbers.

    >“Due to the layer at which the Linux kernel is in a system, almost any bug might be exploitable to compromise the security of the kernel… Because of this, the CVE assignment team is overly cautious and assign CVE numbers to any bugfix that they identify.”

    <a href="https:&#x2F;&#x2F;docs.kernel.org&#x2F;process&#x2F;cve.html" rel="nofollow">https:&#x2F;&#x2F;docs.kernel.org&#x2F;process&#x2F;cve.html

    &quot;number of cves&quot; is a useless metric, especially when it comes to the kernel.

    1. mbreese · · focus · HN ↗
      &gt; note that _any_ bugfix is assigned a cve

      I do find it interesting though, that in the interest of transparency, every bugfix gets a CVE. Which ends up being a huge number… which will ultimately yield a more insecure environment as we’re getting conditioned to ignore&#x2F;discount CVEs by the volume.

      Over-reporting in this case seems to risk being counterproductive.

      1. Gigachad · · focus · HN ↗
        Depends on the end consumers stance on security. I&#x27;ve watched it shift from &quot;Only update if we can prove we are impacted&quot; to &quot;Update everything immediately just in case&quot;.

        The frequency and severity of cyber attacks has increased to the point a much more cautious approach has become common. It&#x27;s also easier to sell this work to management when you can point at the security tab on some tool and say &quot;Look we need to patch these CVEs&quot;

        1. autoexec · · focus · HN ↗
          &quot;Update everything immediately just in case&quot; is a lot less attractive when you see more downtime from updates breaking things than you do from hackers. Windows updates are an endless source of pain, but now every program seems to demand to be updated practically daily. Even things that you shouldn&#x27;t have to think about like keyboards, mice, and printers beg to be updated all the time.
          1. Gigachad · · focus · HN ↗
            Downtime is annoying but workable. You can&#x27;t unleak customer data after your system gets hacked.
            1. 1718627440 · · focus · HN ↗
              There is no reason, why a newer version has less bugs, than an older version. Both are essentially an unknown number. The only thing you know, is that you likely know a higher percentage of bugs for the older than for the newer version.
              1. Gigachad · · focus · HN ↗
                It certainly has less known bugs. And when you have to make a statement to the media, “we were hacked by an undiscovered 0 day exploit” sounds a lot better than “we were hacked by a known exploit because we didn’t update”
                1. 1718627440 · · focus · HN ↗
                  If you do know about it, you can also just mitigate that.
                  1. seb1204 · · focus · HN ↗
                    I do this this is theoretical, especially with recent spread ups.
                2. fwip · · focus · HN ↗
                  &gt; It certainly has less known bugs.

                  This isn&#x27;t necessarily true, and will be less true in the coming age of LLM-automated vulnerability scanning. The version that you&#x27;re downloading (after being nagged for a day) that adds Feature A may contain 3 vulnerabilities that are already known before you even download the update, and may or may not fix old vulnerabilities.

          2. izacus · · focus · HN ↗
            Yeah, the fact that security forces you to update has been used with great effect by product managers and feature engineers to shove their changes down everyone&#x27;s throat and quickly drop support for previous versions. Neat for them.
        2. cesarb · · focus · HN ↗
          &gt; I&#x27;ve watched it shift from &quot;Only update if we can prove we are impacted&quot; to &quot;Update everything immediately just in case&quot;.

          &gt; [...] a much more cautious approach has become common.

          I&#x27;d argue that this is a less cautious approach, not more. It takes time to carefully evaluate, review, and test each change.

      2. socializer · · focus · HN ↗
        It&#x27;s not very interesting. Linus, and by extension the Linux kernel, long had a dismissive attitude toward security research. This is basically a childish swing from one extreme (nothing gets a CVE) to another (everything gets a CVE).

        Kernel development is well-funded, both via grants and by direct employment at big tech companies, and if they wanted to properly triage and annotate vulnerabilities, and provide reasonable assessments of what is or isn&#x27;t likely to be a security risk, they absolutely could. They almost certainly could go to Google and say &quot;we need two people full-time on your payroll for this&quot; and they would get it.

        I don&#x27;t want to dunk on them too much because they&#x27;re generally doing God&#x27;s work, but these absolutist security stances are not worth being taken seriously.

        It&#x27;s basically saying that they can&#x27;t possibly provide a valuable service for 99.999% of the install base because there might a hypothetical person out there using Linux in a really weird way. If Microsoft tried to make an argument like that, they&#x27;d get crucified.

        1. vlovich123 · · focus · HN ↗
          The counterpoint is that by putting CVEs on bugs that are more easily exploitable provides a roadmap for attackers. Of course, in the current LLM age that&#x27;s probably a moot point, but that could be the reason for this.
          1. seb1204 · · focus · HN ↗
            security by obscurity?
            1. cannonpalms · · focus · HN ↗
              Obscurity is a valuable layer of defense-in-depth
        2. asdfaoeu · · focus · HN ↗
          Let&#x27;s say they do and only 5% are &quot;security issues&quot; you still need to update either way.
        3. serbuvlad · · focus · HN ↗
          I don&#x27;t think that Linus is dismissive of security, it is that he is very much a proponent of always rolling to the latest stable release.

          Linux only ever wanted to promise support for the latest release and even Linux LTS is a concession.

          And CVEs are basically a useless concept if you roll. (or at least not any more useful than any other bug tracker which supports tags)

          1. LtWorf · · focus · HN ↗
            &gt; Linux only ever wanted to promise support for the latest release and even Linux LTS is a concession.

            If he kept true of his &quot;we don&#x27;t break user space&quot; instead of it being &quot;we don&#x27;t break user space until we do and then it&#x27;s on you to deal with it&quot; perhaps more people would be willing to run the latest release.

            1. serbuvlad · · focus · HN ↗
              I have had way more issues provoked on RHEL-compatibles by RHEL&#x27;s Frankenstein backporty kernel than I ever have on Arch or Nix by the latest stable kernel.

              Linux LTS is much more about proprietary drivers targeting a stable internal kernel API&#x2F;ABI than about anything else.

              1. LtWorf · · focus · HN ↗
                I mean… good for you. How does that help me when my software crashes because they changed some API?
                1. mwwaters · · focus · HN ↗
                  Which userspace API was changed?

                  Internal Kernel API changes all the time which can break proprietary drivers. But userspace API has a far higher guarantee.

                  1. LtWorf · · focus · HN ↗
                    setsockopt changing behaviour and crashing processes.
                2. doublepg23 · · focus · HN ↗
                  What user space APIs have they been routinely breaking?
                  1. throwaway7356 · · focus · HN ↗
                    The ones to manage IP filtering rules for example. Those APIs are even security-critical.
                  2. LtWorf · · focus · HN ↗
                    setsockopt that do nothing easily go to crashing the process in later versions…
        4. DSMan195276 · · focus · HN ↗
          &gt; if they wanted to properly triage and annotate vulnerabilities, and provide reasonable assessments of what is or isn&#x27;t likely to be a security risk, they absolutely could.

          I&#x27;ll challenge this, I don&#x27;t think that&#x27;s really possible, at least not to any high degree of confidence. Nobody can realistically evaluate if any particular out-of-bounds read&#x2F;write or use-after-free is &quot;safe&quot;, and if you&#x27;re going to consider all of those as security risks then there&#x27;s not really a point in trying to filter out the few bug fixes that might not lead to those things.

          Try going to the linked page, pick any random CVE, and read it. I&#x27;ve checked a bunch and I&#x27;d say _at least_ 8&#x2F;10 of them are variations on those two things.

      3. someonebaggy · · focus · HN ↗
        They chose to do it this way, in. part, because CVEs were already like that, and too many people were pretending they weren&#x27;t.
      4. weinzierl · · focus · HN ↗
        Counterproductive for whom? The stance of the kernel developers is that whether a bug is a vulnerability or not depends on intended use. They say, we do not dictate use, therefore this decision is out of scope for us. This makes kernel development more focussed and productive.

        I would argue that it is more productive for the enduser as well. Not making a decision they cannot reasonably make is better then blindly believing in a decision that is likely wrong for your usecase.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.