CVE-2026-143430: assoc_array: don't lose objects when a root shortcut is split at level 4

Published Dec 5, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

assocarray: don't lose objects when a root shortcut is split at level 4

assocarrayinsertmidshortcut() takes level, the level of the node holding the shortcut as assocarraywalk() reports it, and adds ASSOCARRAYLEVELSTEP to get the level of a node in that shortcut's place. If the new key first differs from the shortcut no further in than that, no shortcut is made in front of the split, and newn0 takes the old shortcut's place directly.

A shortcut at the root is held by no node. assocarraywalk() reports level 0 for it, and whatever takes its place is the root, which is read at level 0. So when the new key first differs from a root shortcut in bits 4-7, diff is 4, no shortcut is made in front, and newn0, whose slots are indexed by bits 4-7, becomes the root and is indexed by bits 0-3. Objects already in the array can no longer be found, and the new one lands in a slot its key does not select.

Eighteen keys are enough: seventeen that agree on bits 0-7 make the root a shortcut, and one that agrees with them on bits 0-3 only splits it. Three of the eighteen objects can then not be found, and inserting one of those keys again adds a second object instead of replacing it.

Only add the step for a shortcut that hangs from a node. A root shortcut split at level 4 then gets a shortcut in front of the split that ends at level 4, as assocarrayinsertintoterminalnode() already makes when the leaves of a full root node first differ there.

Found by a userspace test that builds a shortcut ending at every level and splits it at every level inside it, from the root and from a node: every split of a root shortcut at level 4 failed, and nothing else did.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 5, 2026
CVE Published
via MITRE·01:25 AM
Data Sourced
via MITRE·01:25 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the object-loss behavior?

An assoc_array must first form a root shortcut using at least seventeen keys that agree on bits 0-7. Inserting an eighteenth key that agrees only on bits 0-3 causes the root shortcut to split at bits 4-7, making existing objects unreachable.

2

What is the practical impact after the faulty split occurs?

Previously inserted objects can no longer be found, and the newly inserted object is placed in a slot that its key does not select. The description states that three of the eighteen objects can become unfindable.

3

How can I determine whether a system may already be affected?

Look for assoc_array instances that have received the key pattern described: seventeen keys sharing bits 0-7 followed by a key sharing only bits 0-3. Affected arrays may exhibit failed lookups for objects that were successfully inserted earlier.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203