‹ 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. 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.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.