{"id":"CVE-2026-143430","state":"PUBLISHED","title":"assoc_array: don't lose objects when a root shortcut is split at level 4","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nassoc_array: don't lose objects when a root shortcut is split at level 4\n\nassoc_array_insert_mid_shortcut() takes level, the level of the node\nholding the shortcut as assoc_array_walk() reports it, and adds\nASSOC_ARRAY_LEVEL_STEP to get the level of a node in that shortcut's\nplace.  If the new key first differs from the shortcut no further in\nthan that, no shortcut is made in front of the split, and new_n0 takes\nthe old shortcut's place directly.\n\nA shortcut at the root is held by no node.  assoc_array_walk() reports\nlevel 0 for it, and whatever takes its place is the root, which is read\nat level 0.  So when the new key first differs from a root shortcut in\nbits 4-7, diff is 4, no shortcut is made in front, and new_n0, whose\nslots are indexed by bits 4-7, becomes the root and is indexed by bits\n0-3.  Objects already in the array can no longer be found, and the new\none lands in a slot its key does not select.\n\nEighteen keys are enough: seventeen that agree on bits 0-7 make the root\na shortcut, and one that agrees with them on bits 0-3 only splits it.\nThree of the eighteen objects can then not be found, and inserting one\nof those keys again adds a second object instead of replacing it.\n\nOnly add the step for a shortcut that hangs from a node.  A root\nshortcut split at level 4 then gets a shortcut in front of the split\nthat ends at level 4, as assoc_array_insert_into_terminal_node() already\nmakes when the leaves of a full root node first differ there.\n\nFound by a userspace test that builds a shortcut ending at every level\nand splits it at every level inside it, from the root and from a node:\nevery split of a root shortcut at level 4 failed, and nothing else did.","publishedAt":"2026-12-05T01:25:16.283Z","updatedAt":"2026-12-05T01:25:16.283Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"8c3ec98127caa4b789df10cd25ae5502bbe0a804","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"da0c5e0ea36153488ebc87c1b5af6696601e665b","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"ae89c62ddd211e4b179660a91b58f801e35c30bc","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"ec1eace9490083e495c6f0e7738dcdcfe38d7adb","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"f4bd73f6c2d41cf80828ecbceaae76a95528e8f4","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"aadaf6c7af2e5709e1ae4f19684403a541b3a54c","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"eb7793e6bb05627e1259d85b7910988c5540b074","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"20b436c1ae8d37032f888c725915729830dc52f2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["lib/assoc_array.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"5.10.275","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.226","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.118","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.64","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.5","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["lib/assoc_array.c"]}],"references":["https://git.kernel.org/stable/c/8c3ec98127caa4b789df10cd25ae5502bbe0a804","https://git.kernel.org/stable/c/da0c5e0ea36153488ebc87c1b5af6696601e665b","https://git.kernel.org/stable/c/ae89c62ddd211e4b179660a91b58f801e35c30bc","https://git.kernel.org/stable/c/ec1eace9490083e495c6f0e7738dcdcfe38d7adb","https://git.kernel.org/stable/c/f4bd73f6c2d41cf80828ecbceaae76a95528e8f4","https://git.kernel.org/stable/c/aadaf6c7af2e5709e1ae4f19684403a541b3a54c","https://git.kernel.org/stable/c/eb7793e6bb05627e1259d85b7910988c5540b074","https://git.kernel.org/stable/c/20b436c1ae8d37032f888c725915729830dc52f2"],"weaknesses":[],"ingestedAt":"2026-12-05T01:34:05.767Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143430.json","commit":"d550271dbdcc68d7ef4e19b8c09f34b6a4697132","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143430","state":"PUBLISHED","datePublished":"2026-12-05T01:25:16.283Z","dateUpdated":"2026-12-05T01:25:16.283Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.375Z"},"containers":{"cna":{"title":"assoc_array: don't lose objects when a root shortcut is split at level 4","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nassoc_array: don't lose objects when a root shortcut is split at level 4\n\nassoc_array_insert_mid_shortcut() takes level, the level of the node\nholding the shortcut as assoc_array_walk() reports it, and adds\nASSOC_ARRAY_LEVEL_STEP to get the level of a node in that shortcut's\nplace.  If the new key first differs from the shortcut no further in\nthan that, no shortcut is made in front of the split, and new_n0 takes\nthe old shortcut's place directly.\n\nA shortcut at the root is held by no node.  assoc_array_walk() reports\nlevel 0 for it, and whatever takes its place is the root, which is read\nat level 0.  So when the new key first differs from a root shortcut in\nbits 4-7, diff is 4, no shortcut is made in front, and new_n0, whose\nslots are indexed by bits 4-7, becomes the root and is indexed by bits\n0-3.  Objects already in the array can no longer be found, and the new\none lands in a slot its key does not select.\n\nEighteen keys are enough: seventeen that agree on bits 0-7 make the root\na shortcut, and one that agrees with them on bits 0-3 only splits it.\nThree of the eighteen objects can then not be found, and inserting one\nof those keys again adds a second object instead of replacing it.\n\nOnly add the step for a shortcut that hangs from a node.  A root\nshortcut split at level 4 then gets a shortcut in front of the split\nthat ends at level 4, as assoc_array_insert_into_terminal_node() already\nmakes when the leaves of a full root node first differ there.\n\nFound by a userspace test that builds a shortcut ending at every level\nand splits it at every level inside it, from the root and from a node:\nevery split of a root shortcut at level 4 failed, and nothing else did."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"8c3ec98127caa4b789df10cd25ae5502bbe0a804","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"da0c5e0ea36153488ebc87c1b5af6696601e665b","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"ae89c62ddd211e4b179660a91b58f801e35c30bc","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"ec1eace9490083e495c6f0e7738dcdcfe38d7adb","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"f4bd73f6c2d41cf80828ecbceaae76a95528e8f4","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"aadaf6c7af2e5709e1ae4f19684403a541b3a54c","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"eb7793e6bb05627e1259d85b7910988c5540b074","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"20b436c1ae8d37032f888c725915729830dc52f2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["lib/assoc_array.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"5.10.275","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.226","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.118","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.64","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.5","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["lib/assoc_array.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8c3ec98127caa4b789df10cd25ae5502bbe0a804"},{"url":"https://git.kernel.org/stable/c/da0c5e0ea36153488ebc87c1b5af6696601e665b"},{"url":"https://git.kernel.org/stable/c/ae89c62ddd211e4b179660a91b58f801e35c30bc"},{"url":"https://git.kernel.org/stable/c/ec1eace9490083e495c6f0e7738dcdcfe38d7adb"},{"url":"https://git.kernel.org/stable/c/f4bd73f6c2d41cf80828ecbceaae76a95528e8f4"},{"url":"https://git.kernel.org/stable/c/aadaf6c7af2e5709e1ae4f19684403a541b3a54c"},{"url":"https://git.kernel.org/stable/c/eb7793e6bb05627e1259d85b7910988c5540b074"},{"url":"https://git.kernel.org/stable/c/20b436c1ae8d37032f888c725915729830dc52f2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-05T01:25:16.283Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.4-rc4"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}