# CVE-2026-99566: assoc\_array: keep gc's cleanup out of the live tree on allocation failure

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-20T05:49:02.562Z
- **Modified:** 2026-11-23T08:17:58.603Z

## Who should check

- Anyone running Linux \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 86ea23a14af6e909dd4d3f92ff370f3b06bc6827; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< f1c3efeb27f2663f1bcd6f794e22aca96c61f018; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 5511f84917cc4021b46fdf626ae354f28824dacb; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 8d7e5fade0a956775d7d695499df490ef3e96a07; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< cd39c75fbd52017064879061c2f97fa573984c93; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< c9138a6357a68762e499143160d0d7e0cba3228c; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< c80609763abd3f8ee7c1fe69dd43b07abff474f0; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 8afff2e4b90978b8203f9e3898995dcf86821b49
- Anyone running Linux 3.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

assoc\_array: keep gc's cleanup out of the live tree on allocation failure

assoc\_array\_gc() builds a copy of the tree.  Where the copy reaches a
shortcut, it allocates the copy of the shortcut with kmalloc\_flex(),
fills it with memcpy(), links it into the new tree, and only then
allocates the copy of the node after it.  The memcpy() leaves the new
shortcut's next\_node pointing at the old tree's node, so if that second
allocation fails, the cleanup, assoc\_array\_destroy\_subtree() on the new
tree, follows the new shortcut into the old tree, and the BUG\_ON() on
the old node's back pointer fires.

Allocate the node first, and the shortcut once the node exists, freeing
the node again if the shortcut cannot be allocated.  A copied shortcut
is then only linked into the new tree when the copy of its node is there
to follow it.  Nothing else changes: with no allocation failing, the
trees gc builds are the same as before.

Found by a userspace test that makes each allocation of each operation
fail in turn.

## Affected and fixed versions

- Linux: \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 86ea23a14af6e909dd4d3f92ff370f3b06bc6827; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< f1c3efeb27f2663f1bcd6f794e22aca96c61f018; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 5511f84917cc4021b46fdf626ae354f28824dacb; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 8d7e5fade0a956775d7d695499df490ef3e96a07; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< cd39c75fbd52017064879061c2f97fa573984c93; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< c9138a6357a68762e499143160d0d7e0cba3228c; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< c80609763abd3f8ee7c1fe69dd43b07abff474f0; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 8afff2e4b90978b8203f9e3898995dcf86821b49 (cvelist)
- Linux: 3.13 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 8afff2e4b90978b8203f9e3898995dcf86821b49 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99566. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99566.md
Affected: Linux >= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, < 86ea23a14af6e909dd4d3f92ff370f3b06bc6827; >= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, < f1c3efeb27f2663f1bcd6f794e22aca96c61f018; >= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, < 5511f84917cc4021b46fdf626ae354f28824dacb; >= 3cb989501c2688cacbb7dc4…
Fixed in: Linux 86ea23a14af6e909dd4d3f92ff370f3b06bc6827, Linux 5511f84917cc4021b46fdf626ae354f28824dacb, Linux 8d7e5fade0a956775d7d695499df490ef3e96a07, Linux 8afff2e4b90978b8203f9e3898995dcf86821b49

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99566 being exploited?

There is no confirmed exploitation: CVE-2026-99566 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99566?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99566?

Linux \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 86ea23a14af6e909dd4d3f92ff370f3b06bc6827; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< f1c3efeb27f2663f1bcd6f794e22aca96c61f018; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 5511f84917cc4021b46fdf626ae354f28824dacb; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 8d7e5fade0a956775d7d695499df490ef3e96a07; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< cd39c75fbd52017064879061c2f97fa573984c93; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< c9138a6357a68762e499143160d0d7e0cba3228c; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< c80609763abd3f8ee7c1fe69dd43b07abff474f0; \>= 3cb989501c2688cacbb7dc4b0d353faf838f53a1, \< 8afff2e4b90978b8203f9e3898995dcf86821b49; Linux 3.13.

### Is there a fix for CVE-2026-99566?

Yes. Fixed in Linux 86ea23a14af6e909dd4d3f92ff370f3b06bc6827, Linux 5511f84917cc4021b46fdf626ae354f28824dacb, Linux 8d7e5fade0a956775d7d695499df490ef3e96a07, Linux 8afff2e4b90978b8203f9e3898995dcf86821b49. Upgrade Linux to 8afff2e4b90978b8203f9e3898995dcf86821b49 or later.

### How do I check if I'm affected by CVE-2026-99566?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/86ea23a14af6e909dd4d3f92ff370f3b06bc6827>
- other: <https://git.kernel.org/stable/c/f1c3efeb27f2663f1bcd6f794e22aca96c61f018>
- other: <https://git.kernel.org/stable/c/5511f84917cc4021b46fdf626ae354f28824dacb>
- other: <https://git.kernel.org/stable/c/8d7e5fade0a956775d7d695499df490ef3e96a07>
- other: <https://git.kernel.org/stable/c/cd39c75fbd52017064879061c2f97fa573984c93>
- other: <https://git.kernel.org/stable/c/c9138a6357a68762e499143160d0d7e0cba3228c>
- other: <https://git.kernel.org/stable/c/c80609763abd3f8ee7c1fe69dd43b07abff474f0>
- other: <https://git.kernel.org/stable/c/8afff2e4b90978b8203f9e3898995dcf86821b49>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99566>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99566> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99566>
