AI found Linux kernel bugs that remained undetected for decades
VulnA Microsoft research project combining AI agents with human security researchers uncovered 59 Linux kernel vulnerabilities, including bugs that had survived in production code for more than 20 years. While AI dramatically accelerated the discovery process, the researchers found that validating flaws, developing patches, and working with maintainers remained overwhelmingly human-intensive. The research, conducted by Microsoft’s FORGE Lab under the codename MDASH, generated 26,502 potential findings in approximately two weeks of scanning selected Linux kernel subsystems. Automated screening, proof-of-concept testing, and human validation narrowed these down to 59 public upstream reports, Microsoft said in a blog post. “We developed working root privilege-escalation exploits for eight of those CVEs, and fixes for 38 of our reports have been merged into mainline,” the researchers said in the blog post. From thousands of findings to 59 reports Microsoft said it scanned selected kernel components covering networking, filesystems, and security modules. The initial findings were reduced to 11,769 candidates through automated screening. AI agents then attempted to reproduce potential vulnerabilities using QEMU, an open-source machine emulator. This produced 621 cases with proof-of-concept evidence. Human researchers reviewed these cases to identify root causes, merge duplicates, and prepare upstream submissions, the blog post added. Of the 621 cases, 59 resulted in public upstream reports. Microsoft said another 266 shared root causes with other findings and could be addressed through the same patch. A further 163 were not reported following review, mostly because of limited security impact, while 133 had already been reported or fixed upstream. Microsoft said its first public report was submitted on June 27, 2026. By September 1, 55 of the 59 reports had been posted to public mailing lists. The remaining four were reported privately during the same period and routed to public lists by mid-October. Of the 33 CVEs assigned to the findings, 24 carry a High or higher severity rating, based on CVSS v3.1 scores of at least 7.0, according to Microsoft. Eight vulnerabilities had working exploits The eight vulnerabilities for which Microsoft developed working local privilege-escalation exploits affect several kernel components, including IPv4 and IPv6 networking, IPsec routing, encrypted-key handling and the resizable hash-table implementation. Some demonstrations required non-default settings or disabled exploit mitigations, the researchers said. One finding, CVE-2026-64563, involves the kernel’s rhashtable implementation, a shared resizable hash-table library used by different kernel subsystems. Microsoft traced the flaw to a 2018 code change that allowed a table-walk operation to retain a pointer when paused. Under specific conditions involving table resizing and the removal of an entry, the kernel could subsequently access freed memory through that stale pointer. The researchers identified an exploitable path through Netlink socket diagnostics, which are accessible to unprivileged users. By manipulating memory, an attacker could turn the flaw into a constrained kernel memory-write primitive that, combined with other exploitation techniques, could enable local privilege escalation, Microsoft explained. The company said this vulnerability was exploitable on standard Linux configurations without requiring special kernel configurations or user namespaces. It also affected Android devices with SELinux enforcing. Across the 59 reports, the average age of a bug was 8.1 years when Microsoft first reported it publicly. One vulnerability, CVE-2026-74544, had been present in the kernel for at least 21 years, the researchers said. Patching remains a lengthy process While AI agents helped identify potential vulnerabilities, generate proof-of-concept demonstrations and draft initial patches, Microsoft said human investigation remained necessary to validate findings and work with Linux kernel maintainers. “Upstream Linux typically requires vulnerability reports to come with a working patch. Agents helped draft initial fixes, but human validation, subsystem understanding, and iterating with maintainers during review remained essential,” the researchers wrote. Fixes for 38 of the 59 reports had been merged into the upstream Linux mainline at the time of publication. Half were accepted with the initial submission, while the others required between one and four revisions. The median time from the first public patch submission to a mainline release was 41 days, with the longest taking 108 days, Microsoft said. Work with maintainers on the remaining reports was continuing. Microsoft said the initial scans took about two weeks, but converting the findings into validated reports and patches required more than four person-months of work. “Finding bugs and fixing them are drastically out of balance,” the researchers wrote. “For complex infrastructure like the Linux kernel, keeping humans in the loop is still necessary, making human effort the bottleneck.” The researchers said the project covered only a small fraction of the Linux kernel and that further tuning of the AI-assisted approach could uncover additional bugs. However, they cautioned that finding more vulnerabilities would not necessarily make systems more secure. “More tokens may yield more bugs, but not a secure system,” the blog post concluded.
Read full story at CSO Online →