Skip to content
statance
MenuClose
high · CVSS 7.8

CVE-2026-99567

assoc_array: don't chain a new shortcut onto an existing one

Published 20 Nov 2026 · Source updated 23 Nov 2026 · Retrieved 2026-12-04 23:42 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

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.

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < dc1105e231546fdef16b8a98a36bddee08644098; affected: 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 61fce0632e56f9e80140453a42c8d876efd0aee7; affected: 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 25097b7dd44d659ea396eca9fa11f351fffcbec2; affected: 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 340df159851513c3d1ab73c679e13c3f9576a698; affected: 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 517e7bbfaf5381d47e8d393ff54c61107f8fb1bb; affected: 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 258745fea55ba057c062e0e680a54fde26630e95; affected: 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < a7990a72267f264f5284f6bcb90d397b29ac00ed; affected: 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 48691075b0adc590a6831390723e3603dfca76fcSee vendor advisory
LinuxLinuxaffected: 3.13; unaffected: 0 to < 3.13; unaffected: 5.10.275 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc4 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-12-05 02:05 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed