‹ BackHN Continuity

Thread

Several vulnerabilities have been discovered in the Linux kernel

576 points · 408 comments · luispa

  1. kalessin · · focus · HN ↗
    I thought the &quot;Security in the LLM age&quot; talk by Greg Kroah-Hartman published this week from Kernel Recipes was pretty interesting: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=NnV_cWeoo5Q" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=NnV_cWeoo5Q
    1. BLKNSLVR · · focus · HN ↗
      500 CVEs per release to 2000+

      Extending the ratio from my other comment. What are the token ratios between using LLMs to:

      1. Create functional software

      2. Find bugs in functional software

      3. Triage&#x2F;Prioritise a quadrupling of the reported CVEs

      4. Fix the bugs while keeping the software functional

      I&#x27;m assuming that #2, #3, and #4 require more tokens (each or cumulatively) that #1, then there will be increase in the amount of insecure software because, with the advent of LLMs (that allow otherwise non-software developers to become software developers), there will be (a lot?) more software being created.

      If we want software security to get better, then the existence of LLMs requires the increasing use of LLMs. I find this quite interesting.

      1. sick_of_slop · · focus · HN ↗

        [dead]

    2. sashank_1509 · · focus · HN ↗
      Yeah it’s a great video (TLDR from the video)

      1. LLMs have high false positive rate. From mythos 79 vulnerabilities found in the Linux kernel, only a single digit were actual bugs and they were all obscure so don’t panic.

      2. What does obscure mean? I don’t really understand it, but many of the bugs have to do with custom network drivers or other custom drivers that are very specific to certain organizational setups, not a general Linux distro issue.

      3. He’s very frustrated with the high false positive rate mythos generates. Even after multiple rounds of adversarial review and prompting strats, he mentions it is &gt; 20% false positive rate, which wastes a lot of time. When some random user on the internet brings up a bug with an LLM it’s almost always fake, he even says just push back a few times claiming it’s not a bug to see if it’s a real bug (LLMs very quickly cave and “notice their mistake” etc)

      4. General observation on the useful bugs mythos finds. Chain multiple smaller bugs to see if you can get a bigger breakage. Mythos is really good at constructing these long convoluted chains that fuzzers miss.

      5. Go through recent bug fixes and check if similar bugs are hidden elsewhere in the codebase. Mythos is good at such pattern matching albeit with a high false positive rate.

      Final conclusion: don’t panic, the bugs are getting fixed, this is not as bad as the first fuzzer bug mania and will be fixed quicker, he estimates a year and we won’t see huge bug reports anymore.

      1. aliasxneo · · focus · HN ↗
        I use daybreak to do most of my security scanning. I always tell it that any finding must be accompanied by a harness that faithfully reproduces it using the code at the current commit with no modifications. In my experience it eliminates most if not all of the false positives.
        1. smartbit · · focus · HN ↗
          And normal people who can not apply for access to daybreak, should we use Abliterated GLM-5.3 ? [0] [1] [2]

          [0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49605691">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49605691 [1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49897075">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49897075 [2] <a href="https:&#x2F;&#x2F;huggingface.co&#x2F;models?other=offensive-security" rel="nofollow">https:&#x2F;&#x2F;huggingface.co&#x2F;models?other=offensive-security

      2. pixl97 · · focus · HN ↗
        &gt;he mentions it is &gt; 20% false positive rate, which wastes a lot of time.

        If it&#x27;s just 20% that is really low. Especially for complicated long chain potential bugs.

        Most other detection tools have much higher rates of FP, or much higher rates of false negative.

        Then you have humans that miss bugs for 20+ years. Or, they don&#x27;t tell you about the things they thought were bugs they wasted hours on themselves. Because of this it&#x27;s really hard to measure how bad&#x2F;good the AI really is.

        It would be interesting to know why the more SOTA models are getting the FPs. Is it from a lack of understanding of C? Is it complex code with deep branches? Is it code smell and convoluted logic?

        1. p-o · · focus · HN ↗
          Maybe you should just go ahead and watch the video instead of throwing hundred of hypothesis. It&#x27;ll take just as long and you&#x27;ll be informed by then.
          1. keeda · · focus · HN ↗
            It&#x27;s an ~hour-long video! I don&#x27;t blame anyone for preferring the 2-minute TL;DR if it&#x27;s available! ¯\_(ツ)_&#x2F;¯

            If there&#x27;s something wrong or prone to misinterpretation in the TL;DR it would be better to call it out in response to that, rather than the users responding to the TL;DR, simply because it&#x27;s likely that&#x27;s what most people will respond to.

            1. voakbasda · · focus · HN ↗
              Yeah, if the only way to get content is video, I don’t consume it. It’s usually a complete waste of time, unless you speed it up until the speakers are chipmunks. The information density of video is poor compared to text.
        2. sashank_1509 · · focus · HN ↗
          He makes the exact opposite claim in the video. He thinks 20% is far too high and no one will pay for it once these tools are no longer available for free. He specifically cites the company Coverity that also found many useful bugs with their code analyzer but had a much smaller false positive rate (something like 5% I think), and no one paid for that, and the founder had to write a post mortem. He thinks the same’s going to happen to these LLM tools if they stop providing it for free.
          1. pixl97 · · focus · HN ↗
            There are a number of successful companies around doing just that, it&#x27;s this guy that wasn&#x27;t successful at it, not everyone.
      3. nananana9 · · focus · HN ↗
        If you push back against a LLM, you can convince it in almost anything.

        If it&#x27;s obviously a bug you can just fix it, and if it&#x27;s obviously not, you can ignore it. In either case you&#x27;ve already done the work to understand it.

        If it&#x27;s on the borderline, and you push back against the GPU with a plausible sounding reason, it&#x27;s likely to agree, regardless of whether oe nor it&#x27;s a bug.

        I&#x27;ve never gotten a good outcome out of arguing with the GPU.

      4. fwip · · focus · HN ↗
        &gt; push back a few times claiming it’s not a bug to see if it’s a real bug (LLMs very quickly cave and “notice their mistake” etc)

        I wonder how much more likely the LLM is to cave for a false-bug. There have been a number of times in my own (non-security) work that I&#x27;m told the LLM that it was wrong, it apologized and agreed, and then later that day I realized it was correct after all.

    3. omarali-me · · focus · HN ↗
      Excellent plug and recommendation!
    4. dannyw · · focus · HN ↗
      For additional context, Greg Kroah-Hartman has been contributing to Linux for 3 decades, and is _the_ maintainer for Linux&#x27;s stable branch, as well as many other core parts of Linux.

      My takeaways:

      * Do not panic. Do acknowledge that LLMs are sycophantic, and LLM companies are trying to sell their stuff. &quot;Yes, push back hard&quot;.

      * If it smells like AI slop, treat it like AI slop and relax. If someone sends you 50 security reports, and a few look wrong, just calm down and ignore them; or ask for proof-of-humanness.

      * A report without a patch is, for better or worse, worthless if you maintain widely used open source software.

      * Of course, there are real vulnerabilities being discovered and reported. Keep calm, keep fixing real bugs, and carry on.

      * Delete as much code as you possibly can. Reduce your surface area. Do the same thing you&#x27;ve always been doing.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.