assoc_array: don't chain a new shortcut onto an existing one
CVE-2026-99567Published 20 Nov 2026, 05:49 UTC
Real-world risk
4.8/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 3.13 | 7.4-rc4 |
What to do
Update to a fixed version: 7.4-rc4.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Public proof of concept on GitHub
EPSS 0.2% chance of exploitation in 30 days (percentile 15), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.5 × threat 0.954.750
- Rounded to one decimal between 0.1 and 104.8
Exploitation and evidence timeline
- 20 Nov 2026 Published
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Risk 4.8 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/dc1105e231546fdef16b8a98a36bddee08644098
- https://git.kernel.org/stable/c/61fce0632e56f9e80140453a42c8d876efd0aee7
- https://git.kernel.org/stable/c/25097b7dd44d659ea396eca9fa11f351fffcbec2
- https://git.kernel.org/stable/c/340df159851513c3d1ab73c679e13c3f9576a698
- https://git.kernel.org/stable/c/517e7bbfaf5381d47e8d393ff54c61107f8fb1bb
- https://git.kernel.org/stable/c/258745fea55ba057c062e0e680a54fde26630e95
- https://git.kernel.org/stable/c/a7990a72267f264f5284f6bcb90d397b29ac00ed
- https://git.kernel.org/stable/c/48691075b0adc590a6831390723e3603dfca76fc
- CVE-2026-99567 on CVE.org