{"affected":[{"defaultStatus":"unaffected","product":"Linux","source":"CNA: Linux","vendor":"Linux","versions":[{"lessThan":"cd39c75fbd52017064879061c2f97fa573984c93","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"},{"lessThan":"c9138a6357a68762e499143160d0d7e0cba3228c","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"},{"lessThan":"c80609763abd3f8ee7c1fe69dd43b07abff474f0","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"},{"lessThan":"8afff2e4b90978b8203f9e3898995dcf86821b49","status":"affected","version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","source":"CNA: Linux","vendor":"Linux","versions":[{"status":"affected","version":"3.13"},{"lessThan":"3.13","status":"unaffected","version":"0","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"}]}],"cveId":"CVE-2026-99566","cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nassoc_array: keep gc's cleanup out of the live tree on allocation failure\n\nassoc_array_gc() builds a copy of the tree.  Where the copy reaches a\nshortcut, it allocates the copy of the shortcut with kmalloc_flex(),\nfills it with memcpy(), links it into the new tree, and only then\nallocates the copy of the node after it.  The memcpy() leaves the new\nshortcut's next_node pointing at the old tree's node, so if that second\nallocation fails, the cleanup, assoc_array_destroy_subtree() on the new\ntree, follows the new shortcut into the old tree, and the BUG_ON() on\nthe old node's back pointer fires.\n\nAllocate the node first, and the shortcut once the node exists, freeing\nthe node again if the shortcut cannot be allocated.  A copied shortcut\nis then only linked into the new tree when the copy of its node is there\nto follow it.  Nothing else changes: with no allocation failing, the\ntrees gc builds are the same as before.\n\nFound by a userspace test that makes each allocation of each operation\nfail in turn.","epss":{"date":"2026-11-22","percentile":0.05915,"score":0.00166},"exploits":[],"kev":null,"metrics":[],"modifiedAt":1795411188115,"publishedAt":1795153742562,"references":[{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/cd39c75fbd52017064879061c2f97fa573984c93"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/c9138a6357a68762e499143160d0d7e0cba3228c"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/c80609763abd3f8ee7c1fe69dd43b07abff474f0"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/8afff2e4b90978b8203f9e3898995dcf86821b49"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/c80609763abd3f8ee7c1fe69dd43b07abff474f0"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/c9138a6357a68762e499143160d0d7e0cba3228c"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/cd39c75fbd52017064879061c2f97fa573984c93"}],"remediation":[],"revision":"891487f5be294dd3fe53d995d6e9f1dc1d137fb1a389a7385aac911ee7eea7fe","sources":[{"modifiedAt":1795411188115,"name":"CNA: Linux","retrievedAt":1795414105921,"url":"https://www.cve.org/CVERecord?id=CVE-2026-99566"},{"modifiedAt":1795155467403,"name":"NVD","retrievedAt":1795177005533,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99566"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1795414107677,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99566"}],"ssvc":null,"status":"published","title":"assoc_array: keep gc's cleanup out of the live tree on allocation failure","updatedAt":1795414107677}