{"id":"CVE-2026-99566","aliases":[],"cve":{"records":[{"id":"CVE-2026-99566","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.422Z","published":"2026-11-20T05:49:02.562Z","modified":"2026-11-20T05:49:02.562Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-20T05:49:02.562Z"}],"references":[{"url":"https://git.kernel.org/stable/c/cd39c75fbd52017064879061c2f97fa573984c93","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/c9138a6357a68762e499143160d0d7e0cba3228c","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/c80609763abd3f8ee7c1fe69dd43b07abff474f0","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"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"}]}]}]}],"prioritization":[]},"title":"assoc_array: keep gc's cleanup out of the live tree on allocation failure","titleSource":"Linux","descriptionSource":"Linux","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.","score":null,"severity":"unknown","published":"2026-11-20T05:49:02.562Z","modified":"2026-11-20T05:49:02.562Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"cd39c75fbd52017064879061c2f97fa573984c93","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"c9138a6357a68762e499143160d0d7e0cba3228c","versionType":"git"},{"version":"3cb989501c2688cacbb7dc4b0d353faf838f53a1","status":"affected","lessThan":"c80609763abd3f8ee7c1fe69dd43b07abff474f0","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99566"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","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"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99566"}],"remediation":[],"references":["https://git.kernel.org/stable/c/cd39c75fbd52017064879061c2f97fa573984c93","https://git.kernel.org/stable/c/c9138a6357a68762e499143160d0d7e0cba3228c","https://git.kernel.org/stable/c/c80609763abd3f8ee7c1fe69dd43b07abff474f0"],"sources":[{"name":"CVE","id":"CVE-2026-99566","modified":"2026-11-20T05:49:02.562Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99566"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-20T06:04:08.844Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T13:00:31.692Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-21T14:30:35.047Z","attemptedAt":"2026-11-21T14:30:35.047Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-21T14:15:43.155Z","attemptedAt":"2026-11-21T14:15:43.155Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-21T13:55:33.943Z","attemptedAt":"2026-11-21T13:55:33.943Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-21T13:35:36.141Z","attemptedAt":"2026-11-21T13:35:36.141Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99566","url":"https://www.first.org/epss/","probability":0.00166,"percentile":0.0602,"date":"2026-11-20","checkedAt":"2026-11-21T13:35:36.141Z"},{"source":"ENISA EUVD","id":"EUVD-2026-131016","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-131016","modified":"Nov 20, 2026, 5:49:02 AM","checkedAt":"2026-11-21T13:55:33.943Z"},{"source":"GitHub Advisory Database","id":"GHSA-6q47-55q5-4jhc","url":"https://github.com/advisories/GHSA-6q47-55q5-4jhc","modified":"2026-11-20T06:32:02Z","checkedAt":"2026-11-21T14:15:43.155Z"},{"source":"NVD","id":"CVE-2026-99566","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99566","modified":"2026-11-20T06:17:47.403","checkedAt":"2026-11-21T14:30:35.047Z"}],"aiSummary":null}