{"id":"CVE-2026-99567","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-20T06:17:47.540","lastModified":"2026-11-23T08:17:58.737","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nassoc_array: don't chain a new shortcut onto an existing one\n\nWhen a full node's leaves and the new key all share the node's segment,\nassoc_array_insert_into_terminal_node() replaces the node with a\nshortcut to a pair of new nodes.  If the node is itself the target of a\nshortcut, the new shortcut is installed as that shortcut's next node,\nand a shortcut leading to a shortcut is something nothing expects:\nassoc_array_walk() indexes the second one as a node, and\nassoc_array_apply_edit() hits the BUG_ON() in the loop that adjusts\nnr_leaves_on_branch, on that same insertion.\n\nDeletion gets a node there.  When the subtree below a shortcut shrinks\nenough, assoc_array_delete() collapses it into one node below the\nshortcut, and the leaves it collects can all share that node's segment.\nThe next key that shares it too takes this path.  Eighteen insertions\nand a deletion are enough: sixteen keys that agree on bits 0-11, one\nthat leaves them at bit 8 and is deleted again, and one more that agrees\nwith the sixteen.\n\nHave the new shortcut replace the one in front of the node as well.\nassoc_array_insert_shortcut() gives it that shortcut's back pointer and\nparent slot, so the caller installs it where that one was, and excises\nthe old shortcut along with the node, which takes a second entry in\nexcised_meta[].  The new shortcut's index key comes from the new key up\nto the new skip level, so it covers what the old one did.\n\nFound by a userspace test doing random insertions and deletions on keys\nthat share long prefixes; a targeted case builds a shortcut, deletes\ndown to the collapse and inserts one more key."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["include/linux/assoc_array_priv.h","lib/assoc_array.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","lessThan":"dc1105e231546fdef16b8a98a36bddee08644098","versionType":"git","status":"affected"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","lessThan":"61fce0632e56f9e80140453a42c8d876efd0aee7","versionType":"git","status":"affected"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","lessThan":"25097b7dd44d659ea396eca9fa11f351fffcbec2","versionType":"git","status":"affected"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","lessThan":"340df159851513c3d1ab73c679e13c3f9576a698","versionType":"git","status":"affected"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","lessThan":"517e7bbfaf5381d47e8d393ff54c61107f8fb1bb","versionType":"git","status":"affected"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","lessThan":"258745fea55ba057c062e0e680a54fde26630e95","versionType":"git","status":"affected"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","lessThan":"a7990a72267f264f5284f6bcb90d397b29ac00ed","versionType":"git","status":"affected"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","lessThan":"48691075b0adc590a6831390723e3603dfca76fc","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["include/linux/assoc_array_priv.h","lib/assoc_array.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3.13","status":"affected"},{"version":"0","lessThan":"3.13","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc4","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/25097b7dd44d659ea396eca9fa11f351fffcbec2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/258745fea55ba057c062e0e680a54fde26630e95","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/340df159851513c3d1ab73c679e13c3f9576a698","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/48691075b0adc590a6831390723e3603dfca76fc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/517e7bbfaf5381d47e8d393ff54c61107f8fb1bb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/61fce0632e56f9e80140453a42c8d876efd0aee7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a7990a72267f264f5284f6bcb90d397b29ac00ed","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dc1105e231546fdef16b8a98a36bddee08644098","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}