{"api_version":"1","generated_at":"2026-12-03T05:42:35+00:00","cve":"CVE-2026-142869","urls":{"html":"https://cve.report/CVE-2026-142869","api":"https://cve.report/api/cve/CVE-2026-142869.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142869","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142869"},"summary":{"title":"assoc_array: don't lose objects when a shortcut is split on a word boundary","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nassoc_array: don't lose objects when a shortcut is split on a word boundary\n\nWhen assoc_array_insert_mid_shortcut() splits a shortcut at level diff,\nthe new shortcut in front of the split, new_s0, gets the first\nround_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE) bits of the old shortcut's\nindex key, and the bits from diff onwards are then cleared from its\nlast word:\n\n\tblank = ULONG_MAX << (diff & ASSOC_ARRAY_KEY_CHUNK_MASK);\n\tnew_s0->index_key[keylen - 1] &= ~blank;\n\nWhen diff is a multiple of ASSOC_ARRAY_KEY_CHUNK_SIZE, the shift is 0,\nblank is all ones, and the whole last word is cleared, although all of\nit lies below diff.  A walk then compares the key it is looking for\nagainst that zeroed word, takes the shortcut to point elsewhere, and\nevery object below it can no longer be found.\n\nassoc_array_insert_into_terminal_node() trims a new shortcut's key the\nsame way, and only when the level is not a multiple of the chunk size.\nDo the same here.\n\nFound by a userspace build of the array with a test that inserts, in\norder, string keys whose first word is their length and the rest their\nbytes.  The 102nd key split a shortcut at bit 256, and 76 of the keys\nalready in the array could no longer be found; AddressSanitizer also\nreported assoc_array_walk() reading a word past the end of a shortcut's\nindex key.  With this change the test passes, and AddressSanitizer and\nUndefinedBehaviorSanitizer report nothing.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 04:18:24","updated_at":"2026-12-03 04:18:24"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/2a62c32760a8fbf464a7388853d19bc62c5cc423","name":"https://git.kernel.org/stable/c/2a62c32760a8fbf464a7388853d19bc62c5cc423","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/82e9025f6b7ee56dbdce7afa3fbc7d8bebb94bee","name":"https://git.kernel.org/stable/c/82e9025f6b7ee56dbdce7afa3fbc7d8bebb94bee","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/268f2e407f0ce2283fb6499ecdb8d638fd7194df","name":"https://git.kernel.org/stable/c/268f2e407f0ce2283fb6499ecdb8d638fd7194df","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ef21e27b5023cfca26a7b60fbdfd65580bee98ad","name":"https://git.kernel.org/stable/c/ef21e27b5023cfca26a7b60fbdfd65580bee98ad","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/60da029528d18a26123be34875cb91fb0f5e959f","name":"https://git.kernel.org/stable/c/60da029528d18a26123be34875cb91fb0f5e959f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8eadc369b9dbd31ac8d4d8815f1cb671f355d29c","name":"https://git.kernel.org/stable/c/8eadc369b9dbd31ac8d4d8815f1cb671f355d29c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/06b33bfc0be74737482ee78dc7b2fcc153e6b567","name":"https://git.kernel.org/stable/c/06b33bfc0be74737482ee78dc7b2fcc153e6b567","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d1cecb9eb3aefdbfb080dbbe25759cc88f156227","name":"https://git.kernel.org/stable/c/d1cecb9eb3aefdbfb080dbbe25759cc88f156227","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142869","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142869","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb989501c2688cacbb7dc4b0d353faf838f53a1 60da029528d18a26123be34875cb91fb0f5e959f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb989501c2688cacbb7dc4b0d353faf838f53a1 06b33bfc0be74737482ee78dc7b2fcc153e6b567 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb989501c2688cacbb7dc4b0d353faf838f53a1 82e9025f6b7ee56dbdce7afa3fbc7d8bebb94bee git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb989501c2688cacbb7dc4b0d353faf838f53a1 268f2e407f0ce2283fb6499ecdb8d638fd7194df git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb989501c2688cacbb7dc4b0d353faf838f53a1 d1cecb9eb3aefdbfb080dbbe25759cc88f156227 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb989501c2688cacbb7dc4b0d353faf838f53a1 ef21e27b5023cfca26a7b60fbdfd65580bee98ad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb989501c2688cacbb7dc4b0d353faf838f53a1 8eadc369b9dbd31ac8d4d8815f1cb671f355d29c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb989501c2688cacbb7dc4b0d353faf838f53a1 2a62c32760a8fbf464a7388853d19bc62c5cc423 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["lib/assoc_array.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"60da029528d18a26123be34875cb91fb0f5e959f","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"},{"lessThan":"06b33bfc0be74737482ee78dc7b2fcc153e6b567","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"},{"lessThan":"82e9025f6b7ee56dbdce7afa3fbc7d8bebb94bee","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"},{"lessThan":"268f2e407f0ce2283fb6499ecdb8d638fd7194df","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"},{"lessThan":"d1cecb9eb3aefdbfb080dbbe25759cc88f156227","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"},{"lessThan":"ef21e27b5023cfca26a7b60fbdfd65580bee98ad","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"},{"lessThan":"8eadc369b9dbd31ac8d4d8815f1cb671f355d29c","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"},{"lessThan":"2a62c32760a8fbf464a7388853d19bc62c5cc423","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["lib/assoc_array.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.13"},{"lessThan":"3.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc4","versionStartIncluding":"3.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nassoc_array: don't lose objects when a shortcut is split on a word boundary\n\nWhen assoc_array_insert_mid_shortcut() splits a shortcut at level diff,\nthe new shortcut in front of the split, new_s0, gets the first\nround_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE) bits of the old shortcut's\nindex key, and the bits from diff onwards are then cleared from its\nlast word:\n\n\tblank = ULONG_MAX << (diff & ASSOC_ARRAY_KEY_CHUNK_MASK);\n\tnew_s0->index_key[keylen - 1] &= ~blank;\n\nWhen diff is a multiple of ASSOC_ARRAY_KEY_CHUNK_SIZE, the shift is 0,\nblank is all ones, and the whole last word is cleared, although all of\nit lies below diff.  A walk then compares the key it is looking for\nagainst that zeroed word, takes the shortcut to point elsewhere, and\nevery object below it can no longer be found.\n\nassoc_array_insert_into_terminal_node() trims a new shortcut's key the\nsame way, and only when the level is not a multiple of the chunk size.\nDo the same here.\n\nFound by a userspace build of the array with a test that inserts, in\norder, string keys whose first word is their length and the rest their\nbytes.  The 102nd key split a shortcut at bit 256, and 76 of the keys\nalready in the array could no longer be found; AddressSanitizer also\nreported assoc_array_walk() reading a word past the end of a shortcut's\nindex key.  With this change the test passes, and AddressSanitizer and\nUndefinedBehaviorSanitizer report nothing."}],"providerMetadata":{"dateUpdated":"2026-12-03T03:23:30.415Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/60da029528d18a26123be34875cb91fb0f5e959f"},{"url":"https://git.kernel.org/stable/c/06b33bfc0be74737482ee78dc7b2fcc153e6b567"},{"url":"https://git.kernel.org/stable/c/82e9025f6b7ee56dbdce7afa3fbc7d8bebb94bee"},{"url":"https://git.kernel.org/stable/c/268f2e407f0ce2283fb6499ecdb8d638fd7194df"},{"url":"https://git.kernel.org/stable/c/d1cecb9eb3aefdbfb080dbbe25759cc88f156227"},{"url":"https://git.kernel.org/stable/c/ef21e27b5023cfca26a7b60fbdfd65580bee98ad"},{"url":"https://git.kernel.org/stable/c/8eadc369b9dbd31ac8d4d8815f1cb671f355d29c"},{"url":"https://git.kernel.org/stable/c/2a62c32760a8fbf464a7388853d19bc62c5cc423"}],"title":"assoc_array: don't lose objects when a shortcut is split on a word boundary","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142869","datePublished":"2026-12-03T03:23:30.415Z","dateReserved":"2026-12-03T03:10:28.334Z","dateUpdated":"2026-12-03T03:23:30.415Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 04:18:24","lastModifiedDate":"2026-12-03 04:18:24","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142869","Ordinal":"1","Title":"assoc_array: don't lose objects when a shortcut is split on a wo","CVE":"CVE-2026-142869","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142869","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nassoc_array: don't lose objects when a shortcut is split on a word boundary\n\nWhen assoc_array_insert_mid_shortcut() splits a shortcut at level diff,\nthe new shortcut in front of the split, new_s0, gets the first\nround_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE) bits of the old shortcut's\nindex key, and the bits from diff onwards are then cleared from its\nlast word:\n\n\tblank = ULONG_MAX << (diff & ASSOC_ARRAY_KEY_CHUNK_MASK);\n\tnew_s0->index_key[keylen - 1] &= ~blank;\n\nWhen diff is a multiple of ASSOC_ARRAY_KEY_CHUNK_SIZE, the shift is 0,\nblank is all ones, and the whole last word is cleared, although all of\nit lies below diff.  A walk then compares the key it is looking for\nagainst that zeroed word, takes the shortcut to point elsewhere, and\nevery object below it can no longer be found.\n\nassoc_array_insert_into_terminal_node() trims a new shortcut's key the\nsame way, and only when the level is not a multiple of the chunk size.\nDo the same here.\n\nFound by a userspace build of the array with a test that inserts, in\norder, string keys whose first word is their length and the rest their\nbytes.  The 102nd key split a shortcut at bit 256, and 76 of the keys\nalready in the array could no longer be found; AddressSanitizer also\nreported assoc_array_walk() reading a word past the end of a shortcut's\nindex key.  With this change the test passes, and AddressSanitizer and\nUndefinedBehaviorSanitizer report nothing.","Type":"Description","Title":"assoc_array: don't lose objects when a shortcut is split on a wo"}]}}}