Vulnerability in Linux
CVE-2026-99567
- CVSS v3
- 7.8 High
- Public exploits
- 1 repository
- EPSS
- 0.002 · 4.3th percentile
- Published
- 2026-11-20
In the Linux kernel, the following vulnerability has been resolved:
assoc_array: don't chain a new shortcut onto an existing one
When a full node's leaves and the new key all share the node's segment,
assoc_array_insert_into_terminal_node() replaces the node with a
shortcut to a pair of new nodes. If the node is itself the target of a
shortcut, the new shortcut is installed as that shortcut's next node,
and a shortcut leading to a shortcut is something nothing expects:
assoc_array_walk() indexes the second one as a node, and
assoc_array_apply_edit() hits the BUG_ON() in the loop that adjusts
nr_leaves_on_branch, on that same insertion.
Deletion gets a node there. When the subtree below a shortcut shrinks
enough, assoc_array_delete() collapses it into one node below the
shortcut, and the leaves it collects can all share that node's segment.
The next key that shares it too takes this path. Eighteen insertions
and a deletion are enough: sixteen keys that agree on bits 0-11, one
that leaves them at bit 8 and is deleted again, and one more that agrees
with the sixteen.
Have the new shortcut replace the one in front of the node as well.
assoc_array_insert_shortcut() gives it that shortcut's back pointer and
parent slot, so the caller installs it where that one was, and excises
the old shortcut along with the node, which takes a second entry in
excised_meta[]. The new shortcut's index key comes from the new key up
to the new skip level, so it covers what the old one did.
Found by a userspace test doing random insertions and deletions on keys
that share long prefixes; a targeted case builds a shortcut, deletes
down to the collapse and inserts one more key.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 4.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 3.13
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Rat5ak/CVE-2026-99567-ASSOC_ARRAY_SHORTCUT-CHAIN-EoP (33 stars, last pushed 2026-11-15): Linux keyring assoc_array shortcut-chain bug - unprivileged local user to root on hardened 7.2-rc5. A public patch exists but has not landed in mainline.
References
- git.kernel.org/stable/c/517e7bbfaf5381d47e8d393ff54c61107f8fb1bb
- git.kernel.org/stable/c/258745fea55ba057c062e0e680a54fde26630e95
- git.kernel.org/stable/c/a7990a72267f264f5284f6bcb90d397b29ac00ed
- git.kernel.org/stable/c/48691075b0adc590a6831390723e3603dfca76fc
- git.kernel.org/stable/c/25097b7dd44d659ea396eca9fa11f351fffcbec2
- git.kernel.org/stable/c/340df159851513c3d1ab73c679e13c3f9576a698
- git.kernel.org/stable/c/61fce0632e56f9e80140453a42c8d876efd0aee7
- git.kernel.org/stable/c/dc1105e231546fdef16b8a98a36bddee08644098
This CVE has public exploit evidence. See the latest CVEs with public exploits.