Microsoft AI Uncovers Linux Kernel Flaw That Lets Attackers Gain Root Access on Linux and Android

An AI scanning system to find dozens of Linux kernel bugs. Some of them let a normal local user become root on Linux and Android devices.

The work came from Microsoft’s FORGE Lab, which used a tool with the codename MDASH. It scanned parts of the Linux kernel from late May to mid-June 2026.

One full-time researcher and one intern led the effort. It has so far produced 59 public upstream reports and 33 assigned CVEs.

The team confirmed working root privilege-escalation exploits for eight of those CVEs. Fixes for 38 reports are already merged into mainline Linux.

AI Uncovers Linux Vulnerability

The AI scan produced 26,502 raw findings in about two weeks. The team filtered out low-confidence claims and cut the pool to 11,769 candidates.

AI agents then tried to reproduce each bug in QEMU, a virtual machine tool. Experts reviewed the 621 cases that had proof-of-concept evidence.

Only 59 of those 621 cases (9.5%) became public reports. Most of the rest were dropped for one of three reasons:

  • 266 cases shared a root cause with another case.
  • 163 cases had limited security impact.
  • 133 cases were already reported or fixed.

Turning findings into reports took over four person-months. Humans remain the bottleneck, because Linux maintainers expect each report to come with a working patch.

Scan-to-report workflow. 26,502 raw findings → 11,769 screened candidates → 621 PoC-backed cases → 59 upstream reports (Source: microsoft)
Scan-to-report workflow. 26,502 raw findings → 11,769 screened candidates → 621 PoC-backed cases → 59 upstream reports (Source: microsoft)

Agents helped draft fixes, but people validated them and worked with maintainers. Reaching a mainline release took a median of 41 days after the first public patch.

Many of the bugs were old. The average bug was 8.1 years old when reported, and one flaw in cls_u32 (CVE-2026-74544) had existed for at least 21 years. Of the 33 CVEs, 24 are rated High or above (CVSS 7.0 or higher).

The most detailed case is CVE-2026-64563, a one-line bug in rhashtable, the kernel’s shared resizable hash table. Kernel code uses it to store objects such as sockets.

When a program asks for a long list of them, the kernel can pause the listing and resume it later. The iterator remembers its place with a pointer called iter->p.

A 2018 change moved the pointer reset into the resume code but missed one path. If a resize freed the old table during the pause, the stale pointer stayed set. The next step could then read freed memory. The fix is a single line, iter->p = NULL.

The bug is exploitable through Netlink socket diagnostics. Unprivileged users can reach it on standard kernels, and user space controls the pause between replies.

An attacker can pause the dump, resize the table, free the socket, and reallocate that memory. This produces a fake socket pointer and a constrained 64-bit kernel write.

Combined with other common techniques, that write is enough for local privilege escalation. It worked on Linux and on Android with SELinux enforcing, without special kernel settings or user namespaces, microsoft said.

The bug was hard to hit by accident. It needs a paused and resumed walk, a table resize, and a freed entry all in the same walk. Researchers at NebuSec also found it independently and supplied working exploits.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

Varshini
Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies..

Trending News

Related Stories