‹ 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. SAI_Peregrinus · · focus · HN ↗
      Tautologically every bug can legitimately be assigned a CVE, since every bug prevents some feature from working as intended. It&#x27;s therefore a denial of service, which by the definition of the CVE system using CVSS means every bug is at least a 1&#x2F;Low level vulnerability to CVSS v4.0.

      If you&#x27;re willing to stretch, missing but planned features also deny the use of said features since they haven&#x27;t been added yet, and so are CVSS 1&#x2F;Low vulnerabilities.

      Resume-driven development for security researchers has never been easier!

      1. viraptor · · focus · HN ↗
        &gt; It&#x27;s therefore a denial of service

        That doesn&#x27;t follow. In the extremely simple example, an adding service returning 1+1=3 has a bug, but it&#x27;s not a possible DoS situation at all.

        &gt; missing but planned features also deny the use of said features

        That&#x27;s not what DoS is.

        This whole situation with CVE assigning comes from the whole process being far from ideal. But it doesn&#x27;t mean it&#x27;s completely useless and doesn&#x27;t follow any rules at all.

        1. Gigachad · · focus · HN ↗
          &gt;but it&#x27;s not a possible DoS situation at all.

          Until someone finds there is a user input they can trigger this bug causing some other bit of code to read data from the wrong offset and now it&#x27;s a whole exploit.

          1. viraptor · · focus · HN ↗
            That&#x27;s an issue in the other code, not in the addition service. It would be lumped together if it was an addition function close to the other code. But I wrote service there on purpose.
            1. someonebaggy · · focus · HN ↗
              Why couldn&#x27;t a crash caused by filesystem corruption caused by a + operator that says 1+1=3 be filed as a DoS?
              1. tsimionescu · · focus · HN ↗
                It could. But it&#x27;s a CVE in the system that crashed or in the filesystem, not in the calculator web service that we were discussing. If a filesystem decides to use a bad online calculator for its internal logic, that&#x27;s a vulnerability on the filesystem, not the calculator.
                1. asdfaoeu · · focus · HN ↗
                  We aren&#x27;t talking about a calculator web service though we are talking about the Linux kernel and if there&#x27;s a bug in the kernel that could conceivably cause a crash in an otherwise correctly written application then that would be a CVE in the kernel.
        2. asdfaoeu · · focus · HN ↗
          It&#x27;s not hard to imagine an application for which 1+1 = 3 leads to security issue.
          1. viraptor · · focus · HN ↗
            <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49929389">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49929389
        3. nikanj · · focus · HN ↗
          That’s not what Mitre thinks though, they are very happy to host a 9.8 severity CVE for 1+1=3. They’ll probably publish one for 1-1=0 too, if you preface with ”The users of mathematics might not be prepared for zero values”
          1. eastbound · · focus · HN ↗
            This is why you need a library for additions. At least CVEs can be tracked appropriately, rather than the developer rolling out their NIH solution.
            1. josephg · · focus · HN ↗
              There’s probably an npm library for that. Not all heroes wear capes.
          2. viraptor · · focus · HN ↗
            You&#x27;re memeing on bad cve handling, but that&#x27;s so far outside of what the real issues are, it just doesn&#x27;t make sense. How about telling people about what the real problems with vulnerability classification are, rather than mitre=bad?
            1. nikanj · · focus · HN ↗
              The real problem with vulnerability classification is that mitre=bad

              <a href="https:&#x2F;&#x2F;daniel.haxx.se&#x2F;blog&#x2F;2026&#x2F;06&#x2F;24&#x2F;a-cve-dispute&#x2F;" rel="nofollow">https:&#x2F;&#x2F;daniel.haxx.se&#x2F;blog&#x2F;2026&#x2F;06&#x2F;24&#x2F;a-cve-dispute&#x2F;

              1. literalAardvark · · focus · HN ↗
                Not really. cURL developers just have NIH syndrome.

                Organizations that track their software and patch systems for CVEs have their own risk management system.

                Publish xlow as low, we&#x27;ll filter them out if we want to. As even they state in that article, they do NOT have the necessary context to filter stuff out. So why are they doing it?

                1. woodruffw · · focus · HN ↗
                  From experience: many companies have a “risk management system” that involves nagging OSS projects to do free work for them, even when the advisory is manifestly nonsense or has no impact in context. Many teams have a “green dot” mindset, and CVE directly encourages that behavior by stapling CVSS scores to identifiers.
                2. kbolino · · focus · HN ↗
                  &gt; cURL developers just have NIH syndrome.

                  What does this even mean? cURL is one of the most load-bearing pieces of software in existence. It, and the Linux kernel, which takes a similarly dim view of the CVE system, are the inventors. &quot;Not Invented Here&quot; seems to imply that there is a vast body of peer work for them to draw on to resolve this problem, but who are their peers? As far as I can tell, the answer is something like &quot;Microsoft and Apple&quot;, on the one hand, who exist in a totally different, mostly closed-source or at least closed-development, ecosystem, or something like &quot;glibc and OpenSSL&quot; on the other hand, which have their own storied CVE history.

                  1. dzhiurgis · · focus · HN ↗
                    &gt; cURL is one of the most load-bearing pieces of software in existence.

                    Is it really, or it&#x27;s trivially replaceable by wget?

                    1. kbolino · · focus · HN ↗
                      You may never have dug that deep into their respective documentation, and you may never have even heard of libcurl, but their superficial overlap in ability to download a single file from an HTTP server does not make them &quot;trivially replaceable&quot; with each other (in either direction).

                      Regardless, even if hypothetical product X could do everything cURL and libcurl do for most people, that wouldn&#x27;t make cURL&#x2F;libcurl much less load-bearing, any more than the existence of FreeBSD or Illumos make Linux less load-bearing.

              2. viraptor · · focus · HN ↗
                Tell us about a system for managing vulnerability database that works across enterprise, private and open source, is staffed enough to research both impact and disputes, is funded enough to work for decades, isn&#x27;t partisan to any industry interests, can classify vulnerabilities in a non ambiguous way, can handle public submissions at any volume in a timely manner...

                and one that will never make decisions that is incorrect or disliked by any party.

                1. nikanj · · focus · HN ↗
                  I&#x27;ll get back to this conversation after Mitre publicly says &quot;We handled CVE-123 wrong&quot;. Everybody gets one wrong sometimes, but what happens after that
                  1. viraptor · · focus · HN ↗
                    The linked article ends with mitre confirming the outcome is what the curl project wanted. The dispute process is there exactly because some cases are ambiguous, or hard, or people involved are annoying. Whenever there are two sides with a dispute, one will likely claim Mitre handled something wrong, by definition of a dispute. They get to make decisions. So what exactly do you want from this case? Perfect decision making every time? They&#x27;re handling thousands of cases and there will always be mistakes at that scale - some will be subjective things that people will disagree about forever.
        4. [deleted] · · focus · HN ↗

          [deleted]

        5. goodmythical · · focus · HN ↗
          &gt;hash of supplied password does not match hash of stored password, access denied

          Resulting from miscalc of either stored or supplied would indeed create DoS.

          If the off by one is in a graphical driver that causes an overflow leading to no output, that&#x27;s DoS.

          If the off by one is in the memory mapping of input devices leading to no available input, that&#x27;s DoS.

          Simple math is kind of everywhere in the kernel and userland apps. If the math is wrong and results in memory mapping wrong such that kernel panics or is unuseable, that&#x27;s a breaking bug regardless of simplicity.

          1. viraptor · · focus · HN ↗
            <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49929389">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49929389

            I&#x27;m using specific words and it&#x27;s been explained and linked twice already. Come on!

      2. jeroenhd · · focus · HN ↗
        Loads of bugs aren&#x27;t CVE-worthy. If you tell the computer to make a light green but it makes the light red, that&#x27;s a bug but no DoS or other CVE-worthy bug.

        However, the Linux kernel is supposed to run any userland program without crashing, so anything that crashes the kernel is a local DoS and there are a lot of them. It&#x27;s also supposed to shield processes from each other and maintain privilege levels correctly, so many incorrect memory leaks are also CVE worthy. Whether a CVE applies depends on the people and programs using the kernel, and the kernel team can&#x27;t read your code to tell you if it applies or not.

        People reading CVEs wrong (&quot;it&#x27;s got a high number so we must patch within a day&quot;) must be going crazy over this, but the point of CVEs is to let you make judgement calls, not to be a cool statistic about how secure something is.

        Most CVEs are irrelevant to most people, that&#x27;s always been the case.

        1. somat · · focus · HN ↗
          &quot;why did the ship crash?&quot;

          Unpatched bug, wrong color lights.

          Yes, it is a bit of a stretch, I desperately hope programmable navigation lights are not a thing. And I also don&#x27;t think every bug needs a CVE. But in the correct context nearly any bug could be critical.

          1. seanhunter · · focus · HN ↗
            Computer Weekly in the UK did some pioneering journalism into a helicopter crash[1] that had initially been blamed on the two pilots but seems very likely to have been caused by a failure of a computer system that was controlling the fuelling of the engines. Iirc this system seems to have crashed causing engine failure of both engines in heavy fog, bringing the helicopter down with a loss of everyone on board, however for reasons somewhat unclear, the MOD wanted to cover the failure up by blaming the pilots.

            Now this was a windows system[2] rather than linux but the point remains - if there was an external vulnerability in a crucial control system and this system was part of a network (eg to connect telemetry) then any exploit of that system could result in loss of life.

            [1] <a href="https:&#x2F;&#x2F;www.computerweekly.com&#x2F;news&#x2F;1280091718&#x2F;Chinook-computer-was-positively-dangerous-say-newly-disclosed-MoD-documents" rel="nofollow">https:&#x2F;&#x2F;www.computerweekly.com&#x2F;news&#x2F;1280091718&#x2F;Chinook-compu...

              After an assessment of the Fadec software the Superintendent of Engineering Systems said that the density of deficiencies was so high that the software was unintelligible.
            
            [2] Which, why? Why build the fuel controller for a helicopter engine on windows?
            1. rjsw · · focus · HN ↗
              Are you sure that the Chinook used Windows? I have not read this elsewhere.

              There have been documented problems with Windows for Warships.

              1. seanhunter · · focus · HN ↗
                My memory is ancient so may be flawed but that is what I remember. This seems to be a full chronology of the incident if you’re interested <a href="https:&#x2F;&#x2F;www.computerweekly.com&#x2F;news&#x2F;1280096804&#x2F;Chronology-The-Chinook" rel="nofollow">https:&#x2F;&#x2F;www.computerweekly.com&#x2F;news&#x2F;1280096804&#x2F;Chronology-Th...
              2. sas224dbm · · focus · HN ↗
                A windows system controlling the refuelling ? Worked in aviation software for a while and the certification for flight control (or similar) systems is subject to rigorous path testing&#x2F;inspections&#x2F;approvals etc DO-178C (level A or B likely). Not sure if any windows OS is certified to level A?? Typically certifiable RTOS&#x27;es are procured for those purposes
          2. jeroenhd · · focus · HN ↗
            That&#x27;s still not cause for a CVE, even if it&#x27;s a bad bug.
        2. MyMemoryfails · · focus · HN ↗
          Unless that computer happens be on traffic lights. Will this become CVE? Human life would be at risk.
          1. GTP · · focus · HN ↗
            This is actually the point of the parent comment: you have to read the CVE and see for yourself if it impacts your specific system or not.
            1. sigmoid10 · · focus · HN ↗
              If only the user can tell whether something is potentially dangerous, then either every bug or none of them should get a CVE. There are countless systems out there that are commonly used in ways beyond what even the developer intended, how should a third party authority like the CNA be able to discern this?
              1. TeMPOraL · · focus · HN ↗
                They can&#x27;t. Which is why security discussions are such a hot mess.

                The vendors fixing them arguably prioritize these reports right. Most of the CVEs, even severe ones, are irrelevant in practice, and as parents note, are more like regular bugs with security flavor in reporting. The CVE label instead of regular bug tracking number makes them seem important.

                Linux Kernel may be one of the few legitimate exceptions, indeed, due to the position in which it sits in the software stack. Also LLMs make previously unexploitable-in-practice vulnerabilities exploitable (by making targeted &#x2F; personalized attack cheap enough to give them positive ROI), which complicates things.

          2. openasocket · · focus · HN ↗
            I think you have to make a distinction between bugs and actual vulnerabilities. Therac-25 killed people, but I wouldn’t consider anything about it to be a security vulnerability. In my mind, the distinction between a bug and a vulnerability is that a bug is triggered during “normal” operations and can do anything. Whereas a vulnerability requires an adversary to “trigger” the vulnerability, and can do this to achieve some cognizable malicious goal. There’s probably some overlap on the edges; whether an issue in a library is a bug or a vulnerability may depend on how it is used, for example.

            But I think the most important thing to keep in mind is that a bug isn’t necessarily less serious or less important than a vulnerability. A serious bug should be patched just as urgently as a serious vulnerability.

        3. funcDropShadow · · focus · HN ↗
          Unless it is the led showing the status of a camera.
          1. literalAardvark · · focus · HN ↗
            Yeah in that case it&#x27;s a feature and management can proudly proclaim &quot;we own the glass&quot;
          2. [deleted] · · focus · HN ↗

            [deleted]

        4. Sesse__ · · focus · HN ↗
          &gt; but the point of CVEs is to let you make judgement calls

          Realistically, most admins cannot make judgment calls about 1000+ CVEs for a kernel release.

          1. jurgenburgen · · focus · HN ↗
            Usually the security team mandates a zero CVE policy on all deployments and the organization complies.
            1. lstodd · · focus · HN ↗
              we in security teams can only dream of such incompetent management

              zero CVE policy = halt on business development.

          2. dormento · · focus · HN ↗
            And not only that, remember the hn crowd is not at all representative of the average.

            Even more realistically, many admins do not have the background to be able to reason (by themselves) about the actual risk of most CVEs, so just going along with specialized media coverage is often a sound strategy.

            1. wang_li · · focus · HN ↗
              &gt;And not only that, remember the hn crowd is not at all representative of the average.

              We should keep our hopes up, someday we may get there.

      3. spragl · · focus · HN ↗

        [dead]

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.