{"id":"CVE-2026-143430","aliases":["EUVD-2026-145027","GHSA-954p-xgmg-hxwq"],"status":"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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2026-12-05T01:25:16Z","modified":"2026-12-05T03:30:37Z","fixes":[{"ecosystem":"Linux","package":"Kernel","fixed_in":["5.10.275","5.15.226","6.1.193","6.6.163","6.12.118","6.18.64","7.3.5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Linux","package":"Kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.13.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}]}],"products":[{"vendor":"linux","product":"linux"}],"references":[{"url":"https://git.kernel.org/stable/c/8c3ec98127caa4b789df10cd25ae5502bbe0a804","tags":["web"]},{"url":"https://git.kernel.org/stable/c/da0c5e0ea36153488ebc87c1b5af6696601e665b","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ae89c62ddd211e4b179660a91b58f801e35c30bc","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ec1eace9490083e495c6f0e7738dcdcfe38d7adb","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f4bd73f6c2d41cf80828ecbceaae76a95528e8f4","tags":["web"]},{"url":"https://git.kernel.org/stable/c/aadaf6c7af2e5709e1ae4f19684403a541b3a54c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/eb7793e6bb05627e1259d85b7910988c5540b074","tags":["web"]},{"url":"https://git.kernel.org/stable/c/20b436c1ae8d37032f888c725915729830dc52f2","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143430","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-954p-xgmg-hxwq"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143430.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-143430","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.","status":"published","published":"2026-12-05T01:25:16.283Z","modified":"2026-12-05T01:25:16.283Z","updated_at":"2026-12-05T01:30:06.365121Z"}],"euvd":[{"id":"EUVD-2026-145027","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.","status":"published","published":"2026-12-05T01:25:16Z","modified":"2026-12-05T01:25:16Z","updated_at":"2026-12-05T02:44:01.14226Z"}],"ghsa":[{"id":"GHSA-954p-xgmg-hxwq","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nassoc_array: don't lose...","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.","status":"published","published":"2026-12-05T03:30:29Z","modified":"2026-12-05T03:30:37Z","updated_at":"2026-12-05T03:31:20.896926Z"}],"nvd":[{"id":"CVE-2026-143430","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.","status":"published","published":"2026-12-05T03:19:54.557Z","modified":"2026-12-05T03:19:54.557Z","updated_at":"2026-12-05T03:21:31.003878Z"}],"osv":[{"id":"CVE-2026-143430","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.","status":"published","published":"2026-12-05T01:25:16.283Z","modified":"2026-12-05T03:01:08.951352276Z","updated_at":"2026-12-05T03:12:25.577237Z"}]}}
