3 min Devops

Linux developers are gaining better control over AI bugs

Linux developers are gaining better control over AI bugs

Last week, Linus Torvalds released the first release candidate for Linux 7.4, which included many changes after a long development period. RC2 followed on Sunday. Although it also contains an unusually large number of changes, Torvalds says most of the adjustments are not very significant. 

According to the Linux founder, developers are showing signs they are getting a handle on bugs discovered by AI. Torvalds attributes part of the size of Linux 7.4-rc2 to automated code updates generated using Coccinelle. This is a tool for identifying and modifying patterns in source code. These changes were supposed to be included in rc1. However, they postponed the implementation because Torvalds was traveling.

Most of the updates involve just one or two lines of code. However, because they affect thousands of files, statistics on change size are skewed. Aside from the automatically generated updates, the changes follow a familiar pattern. About one-third relate to device drivers, particularly for graphics, networking, and audio. Another third concerns networking and the Berkeley Packet Filter (BPF), while the remainder consists mainly of updates for file systems, memory management, and architecture.

AI increases developers’ workload

AI-driven bug detection continues to influence kernel development, as Torvalds noted earlier. Developers are facing a growing number of issues identified by AI tools. For them, this adds to their existing workload during development cycles. 

According to The Register, the launch of Anthropic’s Mythos last April accelerated automated vulnerability detection. This is also evident from the number of security patches. In September alone, Microsoft addressed 974 vulnerabilities, while Oracle fixed 1,449 flaws in a single month. These figures highlight the challenges facing developers and IT teams.

Torvalds sees signs that the situation is finally improving, at least in certain areas. According to developers, fixes for the BPF subsystem, which allows programs to perform tasks such as network monitoring and security analysis within the Linux kernel, are now being released faster than new bug reports are coming in. This would indicate a significant development following a period in which AI-assisted testing actually caused a sharp increase in the number of issues. Torvalds warns, however, that most other parts of the kernel have likely not yet reached the same point.

The progress with BPF gives him hope that the balance between newly discovered bugs and resolved issues can improve. He remains cautious about how quickly this can happen and asks developers and users to keep testing 7.4.