CVE-2026-99567: Public PoC for Linux kernel assoc_array keyring local privilege escalation to root (CVSS 7.8)
Researcher Daniel Wade published bug notes and a public PoC for CVE-2026-99567, a local privilege escalation flaw (CVSS 7.8) in the Linux kernel assoc_array keyring code (lib/assoc_array.c). The article says the flaw has existed since kernel 3.13. Nils Ollrogge reported it and Linus Torvalds wrote the fix. On a hardened Linux 7.2-rc5 VM the exploit chain reportedly reached an 88% root-shell success rate. The article says NVD, Debian Security Tracker and CISA KEV show no exploitation in the wild. This research was based on the article alone, with no web verification.
Entenda a falha
A vulnerabilidade
CVE-2026-99567 (CVSS 7.8) is a local privilege escalation flaw in the Linux kernel keyring code, the assoc_array implementation in lib/assoc_array.c. A local user with no special privileges and no namespaces can use it to gain CAP_SETUID and then become root. The chain also needs a heap oracle built on AF_ALG sockets. Affected: kernel 3.13 and later, before 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5 and 7.4-rc4, which are the fixed releases.
Como funciona
The keyring code stores keys in a radix tree made of nodes and shortcut hops, and a shortcut should never point directly at another shortcut. After a specific sequence of key additions and a deletion, assoc_array_insert_into_terminal_node() places a new shortcut behind an existing one. Two things then go wrong. assoc_array_apply_edit() hits a BUG_ON() and kills the inserting thread. Meanwhile a reader parked in key_link walks the malformed tree and misreads the second shortcut as a normal node. It lands on an attacker-controlled object and treats it as a struct key.
Por que é vulnerável
The root cause is a broken invariant: the insertion logic can chain a new shortcut onto an existing shortcut, which the rest of the code assumes never happens. The reader trusts the tree shape and does not handle that state, so it treats attacker-controlled memory as a struct key. The article says the flaw has existed since kernel 3.13. The fix, titled 'assoc_array: don't chain a new shortcut onto an existing one', stops that chaining.
Onde está
The flaw is in lib/assoc_array.c, in assoc_array_insert_into_terminal_node() and assoc_array_apply_edit(), reached through the reader in key_link. The upstream fix is commit 48691075b0ad.
Como foi descoberta
According to the article, Nils Ollrogge reported the bug and Linus Torvalds wrote the fix. Researcher Daniel Wade then published full bug notes and a public PoC on GitHub. The article says NVD, Debian Security Tracker and CISA KEV show no exploitation in the wild. It does not say how Ollrogge found the bug or when it was reported.
PoC pública
Daniel Wade published a working exploit and write-up on GitHub. The chain aligns the fake key's user pointer just below a real struct cred, so the kernel's key-quota counters overwrite the effective capabilities, giving CAP_SETUID and then a root shell. On a hardened Linux 7.2-rc5 VM it reportedly reached an 88% root-shell success rate. It needs the AF_ALG heap oracle, and no extra privileges or namespaces. A public, reliable exploit raises urgency, especially on shared servers and cloud hosts. Until you can reboot, block unprivileged AF_ALG access.
Publicada em: securityonline.info/cve-2026-99567-linux-kernel-lpe-poc/ ↗
Explicação gerada por IA a partir da matéria e dos artigos, em 03/12/2026 00:16.
Detalhes técnicos
After specific key additions and a deletion, assoc_array_insert_into_terminal_node() can chain a new shortcut behind an existing shortcut. This triggers a BUG_ON() in assoc_array_apply_edit(), and a reader in key_link misreads the tree. The reader lands on an attacker-controlled object that it treats as a struct key. The chain aligns the fake key's user pointer just below a real struct cred, so key-quota counters overwrite the effective capabilities. The attacker gains CAP_SETUID and then switches to root. The chain needs a heap oracle through AF_ALG sockets. No special privileges or namespaces are required.
Remediação
Fixed kernels: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5 and 7.4-rc4, which carry commit 48691075b0ad. Debian Sid has the fix in 7.3.5-1. Debian Bookworm and Trixie, Ubuntu and RHEL updates are pending or deferred. If a reboot is not possible, block unprivileged AF_ALG socket access.
Linha do tempo
-
CVE-2026-99567: Public PoC for Linux kernel assoc_array keyring local privilege escalation to root (CVSS 7.8)
ler a análise desta fonte ocultar
Researcher Daniel Wade published bug notes and a public PoC for CVE-2026-99567, a local privilege escalation flaw (CVSS 7.8) in the Linux kernel assoc_array keyring code (lib/assoc_array.c). The article says the flaw has existed since kernel 3.13. Nils Ollrogge reported it and Linus Torvalds wrote the fix. On a hardened Linux 7.2-rc5 VM the exploit chain reportedly reached an 88% root-shell success rate. The article says NVD, Debian Security Tracker and CISA KEV show no exploitation in the wild. This research was based on the article alone, with no web verification.
Technical Details
After specific key additions and a deletion,
assoc_array_insert_into_terminal_node()can chain a new shortcut behind an existing shortcut. This triggers a BUG_ON() inassoc_array_apply_edit(), and a reader in key_link misreads the tree. The reader lands on an attacker-controlled object that it treats as a struct key. The chain aligns the fake key's user pointer just below a real struct cred, so key-quota counters overwrite the effective capabilities. The attacker gains CAP_SETUID and then switches to root. The chain needs a heap oracle through AF_ALG sockets. No special privileges or namespaces are required.Remediation
Fixed kernels: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5 and 7.4-rc4, which carry commit 48691075b0ad. Debian Sid has the fix in 7.3.5-1. Debian Bookworm and Trixie, Ubuntu and RHEL updates are pending or deferred. If a reboot is not possible, block unprivileged AF_ALG socket access.