Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99567

published high CVSS 3.1 · 7.8

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

Published
20 Nov 2026, 05:49:03 UTC
Updated
23 Nov 2026, 08:04:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < dc1105e231546fdef16b8a98a36bddee08644098 · 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 61fce0632e56f9e80140453a42c8d876efd0aee7 · 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 25097b7dd44d659ea396eca9fa11f351fffcbec2 · 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 340df159851513c3d1ab73c679e13c3f9576a698 · 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 517e7bbfaf5381d47e8d393ff54c61107f8fb1bb · 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 258745fea55ba057c062e0e680a54fde26630e95 · 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < a7990a72267f264f5284f6bcb90d397b29ac00ed · 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 48691075b0adc590a6831390723e3603dfca76fc · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.13 (affected) · 0 to < 3.13 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc4 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Debian trixie linux Advisory build 6.12.118-1 DSA-6652-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - add_key() and keyctl(KEYCTL_LINK) pass the key description to __key_link_begin(), which calls assoc_array_insert() and assoc_array_insert_shortcut(). The shortcut is built from that description's siphash in hash_key_type_and_desc(). AC:L - hash_key_type_and_desc() clears the low nibble of every keyring key, and keyring_read() returns assoc_array_iterate() order, where keys that share hash bits 4-7 form a contiguous run. Linking 16 keys from one run, key_unlink() of a key from a different run, then linking one more key from the same run calls assoc_array_insert_shortcut() with that node's back_pointer already a shortcut. A redraw fits in key_quota_maxkeys (200). PR:L - The caller needs possessor Write and Link on a keyring it created. add_key() performs no capability check; key_alloc() applies key_quota_maxkeys (200) for every uid other than global root. UI:N - The caller creates the keyring and issues the keyctl read, link, and unlink in its own task. keyring_read() and key_unlink() run under that caller's credentials. S:U - The oops and the shortcut-to-node cast both occur in the calling task's keyring, in the same kernel security authority as the caller. C:H - assoc_array_apply_edit() stores the new shortcut in the previous shortcut's next_node before it BUG_ON()s. keyctl_keyring_search() reaches search_nested_keyrings(), which casts that next_node via assoc_array_ptr_to_node() when the root shortcut's low index nibble is 0 and reads all 16 slots at offset 16. A one-word index_key is a 32-byte object, so the later slots are adjacent heap and are followed as pointers. I:H - search_nested_keyrings() and assoc_array_walk() cast the chained shortcut to an assoc_array_node and follow next_node, index_key, and the adjacent heap as slots. Those words are used as child nodes or leaves, a shortcut/node type confusion. A:H - The triggering link reaches assoc_array_apply_edit(). The nr_leaves_on_branch walk steps from the new node through the new shortcut and hits BUG_ON(!assoc_array_ptr_is_node(ptr)) because that shortcut's back_pointer is the previous shortcut, which oopses the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < dc1105e231546fdef16b8a98a36bddee08644098 (affected · git)3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 61fce0632e56f9e80140453a42c8d876efd0aee7 (affected · git)3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 25097b7dd44d659ea396eca9fa11f351fffcbec2 (affected · git)3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 340df159851513c3d1ab73c679e13c3f9576a698 (affected · git)3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 517e7bbfaf5381d47e8d393ff54c61107f8fb1bb (affected · git)3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 258745fea55ba057c062e0e680a54fde26630e95 (affected · git)3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < a7990a72267f264f5284f6bcb90d397b29ac00ed (affected · git)3cb989501c2688cacbb7dc4b0d353faf838f53a1 to < 48691075b0adc590a6831390723e3603dfca76fc (affected · git)Default: unaffected Linux · cna
Linux Linux 3.13 (affected)0 to < 3.13 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc4 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
e02e4b9df641cb50adace3744fe92d04628ccc0fd38cd2d6288afe01a5ec99c4
Ingested
23 Nov 2026, 14:37:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected