kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Linux@programming.devbyEk-Hou-Van-Braai@piefed.social
27 days

Chart of Linux security vulnerabilities fixed per kernel version

English

Source: https://github.com/gregkh/kernel-development/blob/master/graphs%2Fpatches_per_release%2Fcves_fixed_per_release.png

AI coding tools are pretty good at finding bugs and make it easier and faster to fix them.

Importantly, security vulnerabilities in new releases seem to stay roughly the same and the change to which bugs count as CVEs was around version 6.8 already.

31
    You must log in or register to comment.

    • lime!@feddit.nu
      27 days

      do we have one for regressions ? because that seems to be exploding for every other project.

        • Blue_Morpho@lemmy.world
          27 days

          The difference is that Linus uses LLM’s as a tool, not as a hands off content creator.

          The LLM points out something a human missed in the same way spell check finds typos. Then a human reads the suggestion and writes the fix.

            • lime!@feddit.nu
              27 days

              if that were entirely true, what i said would not be.

              but yes, in the hands of a skilled professional with over 30 years of experience on a single project it can probably be useful.

                • Blue_Morpho@lemmy.world
                  27 days

                  Your statement was about other projects having regressions because developers are using AI to write code for them completely hands off and compared it to Linux where AI is used to make suggestions but a human is ultimately responsible and has to write the patch.

                  Apples and Oranges.

                    • lime!@feddit.nu
                      27 days

                      i made no claims about their methodology.

                        • Blue_Morpho@lemmy.world
                          27 days

                          “if that were entirely true, what i said would not be.”

                          I explained the difference in methodology and you doubled down as if they were the same.

                            • lime!@feddit.nu
                              27 days

                              in that case i should have been more clear. i do not believe it’s strictly one or the other, which is why the word “entirely” is in there. you’re generalising over a huge range of developer quality and basically saying that they are all worse at building software than linus, despite the fact that we have been seeing regressions in projects like rsync, which has one of the most disciplined maintainers in the foss ecosystem.

                                • Blue_Morpho@lemmy.world
                                  27 days

                                  you’re generalising over a huge range of developer quality and basically saying that they are all worse at building software than linus

                                  You claimed that Linux could see regressions just like all other projects DESPITE the different methodology.

                                  basically saying that they are all worse at building software than linus

                                  That is claim that any AI use of any type results in regressions. That is obviously false.

                                  Just because AI suggested using glue on pizza doesn’t mean that everyone now puts glue on their pizza.

                      • thingsiplay@lemmy.ml
                        27 days

                        Those other projects are not at high quality control like Linux. They probably vibe slop it and introduce a lot of regressions. Such data would be interesting on Linux too, just to have some comparison. But I don’t think it’s exploding regressions, as there is no indication for that so far.

                        • MangoCats@feddit.itBanned
                          13 days
                      • fruitcantfly@programming.dev
                        27 days

                        For anyone curious about the number of bugs introduced in each kernel release, LWN.net has a plot of Bugs fixed and introduced in each kernel release.

                        However, it has the obvious limitation that recent releases will appear to have fewer commits introducing bugs, simply because kernel developers haven’t had as much time to find and fix the bugs introduced in those releases. So it’ll be a while before we can actually see the consequences (positive or negative) of more widespread LLM usage by kernel developers

                          • PotatoesFall@discuss.tchncs.de
                            27 days

                            As somebody who is quite critical of AI, I will say, it is a fantastic tool for finding bugs early. I advise getting all your changes reviewed by a decent LLM before you push them. It often finds edge cases I forgot in my testing

                            • yes_this_time@lemmy.world
                              27 days

                              That’s a pretty big limitation! They shouldnt have bothered plotting that, it’s basically just a plot of time.

                            • ShutUpWesley@piefed.zipEnglish
                              27 days

                              It will be fascinating when the data is available, to see a graph showing the number of security vulnerabilities added to the kernel with each commit, obviously they’ll have to be found and patched before that can be determined.

                                • 🌞 Alexander Daychilde 🌞@lemmy.worldEnglish
                                  27 days

                                  I haven’t even looked at this yet but someone posted https://lwn.net/Articles/914632/ elsewhere in the thread, so sending it to you. As noted, less time to find in recent versions.

                                • dusk@piefed.socialEnglish
                                  27 days

                                  ai, protecting people from ai.

                                    • jumping redditor [they/them]@sh.itjust.works
                                      27 days

                                      yes, you need to find the vulnerabilities before the hackers and it just so happens that LLMs aren’t terrible at it.

                                        • Avicenna@programming.dev
                                          26 days

                                          I think dusk means it would also be difficult for hackers to find these bugs without AI, which probably is true (given how long some of them seem to have existed). Hard to say how it balances out in the end though.

                                      • thingsiplay@lemmy.ml
                                        27 days

                                        Some people think its bad that so many CVEs are fixed. Because they think without Ai we wouldn’t have so many CVEs in the first place… go figure (not my opinion, but I saw such type of comments).

                                          • 🌞 Alexander Daychilde 🌞@lemmy.worldEnglish
                                            27 days

                                            It’s natural to think that way if you don’t think the implications through - like the infamous WWII plane showing holes in the fusilage and the implications on which parts of the aircraft needed reinforcement. :)

                                          • 6️⃣9️⃣4️⃣2️⃣0️⃣@lemmy.worldEnglish
                                            27 days

                                            AI coding tools are pretty good at finding writing bugs and make it easier and faster to fix write them.

                                              • Cypher@aussie.zone
                                                27 days

                                                If you checked the commits you would see that some of the bugs in Linux being found with AI tooling have been present for many years.

                                                I encourage everyone to go have a read for themselves.

                                                Linux hasn’t become some slop treadmill like you’re implying.

                                                  • shalafi@lemmy.worldEnglish
                                                    27 days

                                                    Been away for almost a year and came back to many here thinking they’re smarter than Torvalds. It’s stunning. Goes with what I’ve been saying about broad DC hate, it’s going to cause friendly fire.

                                                      • eremophila@lemmy.zip
                                                        27 days

                                                        If you put someone on a pedestal, they will eventually shit on you.

                                                    • Ek-Hou-Van-Braai@piefed.socialEnglish
                                                      27 days

                                                      Such a lemmy moment, unable to admit AI is capable of anything that might be considered useful.

                                                      Yes AI is good at writing bugs, it’s also good at finding exploits.

                                                        • dusk@piefed.socialEnglish
                                                          27 days

                                                          “such a lemmy moment” 🤣🥱

                                                      • Possibly linux@lemmy.zipEnglish
                                                        26 days

                                                        Some of it is due to AI but much of it is people finally paying attention to security. For a long time no one thought about security vulnerabilities. These days many bugs in Linux are considered a security issue and thus gets there own CVE

                                                        • NathanRanch@lemmy.zip
                                                          27 days

                                                          This was never an issue before, so it just appears as tho it’s adding bugs to be fixed later. Unless all these updates are strategically going somewhere.

                                                            • StabbingSky@lemmy.zip
                                                              27 days

                                                              Many of the bugs have been present for years. This is about finding bugs that humans didn’t, then humans fixing the bugs.

                                                              • Ephera@lemmy.ml
                                                                27 days

                                                                These were not a problem, because no one found them, but they were still there. Now they are being found, if not by the folks patching them, then by those looking to exploit them. There is no way to navigate this than to patch whatever is found.

                                                                  • Ek-Hou-Van-Braai@piefed.socialEnglish
                                                                    27 days

                                                                    Many governments and secret groups sit on Zero day exploits for years until they need to use them.

                                                                    Average people are finding them easier now using AI, which is a good thing. Instead of 3 letter organizations sitting on them.

                                                                Linux@programming.dev

                                                                linux@programming.dev

                                                                Subscribe from remote instance

                                                                Create post

                                                                Report community

                                                                Modlog
                                                                You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@programming.dev

                                                                A community for everything relating to the GNU/Linux operating system (except the memes!)

                                                                Also, check out:

                                                                • !linux_memes@programming.dev
                                                                • !linuxphones@lemmy.ca
                                                                • our Matrix group chat
                                                                • !reactos@programming.dev

                                                                Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

                                                                Visibility: Public

                                                                This community is visible to everyone.

                                                                • 265 users / Day
                                                                • 1.19K users / Week
                                                                • 2.8K users / Month
                                                                • 4.94K users / 6 months
                                                                • 4.88K posts
                                                                • 40.1K comments
                                                                • 1 local subscriber
                                                                • 15.5K subscribers
                                                                • UI: 1.0.0-beta.0
                                                                • BE: 1.0.0-alpha.20
                                                                • Modlog
                                                                • Instances
                                                                • Docs
                                                                • Code
                                                                • join-lemmy.org