CVE-2026-142869 assoc_array: don't lose objects when a shortcut is split on a word boundary
linux linux: no CVSS score yet. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
On this page
In the Linux kernel, the following vulnerability has been resolved:
assoc_array: don't lose objects when a shortcut is split on a word boundary
When assoc_array_insert_mid_shortcut() splits a shortcut at level diff,
the new shortcut in front of the split, new_s0, gets the first
round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE) bits of the old shortcut's
index key, and the bits from diff onwards are then cleared from its
last word:
blank = ULONG_MAX << (diff & ASSOC_ARRAY_KEY_CHUNK_MASK);
new_s0->index_key[keylen - 1] &= ~blank;
When diff is a multiple of ASSOC_ARRAY_KEY_CHUNK_SIZE, the shift is 0,
blank is all ones, and the whole last word is cleared, although all of
it lies below diff. A walk then compares the key it is looking for
against that zeroed word, takes the shortcut to point elsewhere, and
every object below it can no longer be found.
assoc_array_insert_into_terminal_node() trims a new shortcut's key the
same way, and only when the level is not a multiple of the chunk size.
Do the same here.
Found by a userspace build of the array with a test that inserts, in
order, string keys whose first word is their length and the rest their
bytes. The 102nd key split a shortcut at bit 256, and 76 of the keys
already in the array could no longer be found; AddressSanitizer also
reported assoc_array_walk() reading a word past the end of a shortcut's
index key. With this change the test passes, and AddressSanitizer and
UndefinedBehaviorSanitizer report nothing.
- EPSS
- 0.3% estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
- Published
- Assigned by
- Linux (CNA)
- NVD analysis
- Awaiting analysis
- Record from
- the NVD, synced
Fix and patched versions
- Linux Linux: fixed in 5.10.275
- Linux Linux: fixed in 5.15.226
- Linux Linux: fixed in 6.1.193
- Linux Linux: fixed in 6.6.163
- Linux Linux: fixed in 6.12.118
- Linux Linux: fixed in 6.18.64
- Linux Linux: fixed in 7.3.5
- Linux Linux: fixed in 7.4-rc4
- Debian: fixed package versions per release
Ask an AI about this CVE
Show the prompt
Explain CVE-2026-142869 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-142869?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-142869?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-142869 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | 3.13 and later |
Fixed in
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 5.10 | 5.10.275 |
| Linux | 5.15 | 5.15.226 |
| Linux | 6.1 | 6.1.193 |
| Linux | 6.6 | 6.6.163 |
| Linux | 6.12 | 6.12.118 |
| Linux | 6.18 | 6.18.64 |
| Linux | 7.3 | 7.3.5 |
| Linux | later releases | 7.4-rc4 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | linux | no fix listed | DEBIAN-CVE-2026-142869 |
| Debian | 13 | linux | 6.12.118-1 | DEBIAN-CVE-2026-142869 |
| Debian | 14 | linux | 7.3.5-1 | DEBIAN-CVE-2026-142869 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
References
- https://git.kernel.org/stable/c/06b33bfc0be74737482ee78dc7b2fcc153e6b567
- https://git.kernel.org/stable/c/268f2e407f0ce2283fb6499ecdb8d638fd7194df
- https://git.kernel.org/stable/c/2a62c32760a8fbf464a7388853d19bc62c5cc423
- https://git.kernel.org/stable/c/60da029528d18a26123be34875cb91fb0f5e959f
- https://git.kernel.org/stable/c/82e9025f6b7ee56dbdce7afa3fbc7d8bebb94bee
- https://git.kernel.org/stable/c/8eadc369b9dbd31ac8d4d8815f1cb671f355d29c
- https://git.kernel.org/stable/c/d1cecb9eb3aefdbfb080dbbe25759cc88f156227
- https://git.kernel.org/stable/c/ef21e27b5023cfca26a7b60fbdfd65580bee98ad