# CVE-2026-64579: xfrm: policy: preallocate inexact bins before xfrm\_hash\_rebuild reinsert

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-05T08:09:34.346Z
- **Modified:** 2026-11-06T17:19:16.190Z

## Who should check

- Anyone running Linux \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< e48f4c3e3df35b34be719d72d737bbeaca77cf0c; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 1cdeed9df1306f1a277e715600772640d63defa9; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 43a4d510523779891cf8eca7ffb4a086b0b5d8bf; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< d9d9cc21cc90014724a14c447e3d587be9447107; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 94c00391a5117530188334f740ce26d3f1256190; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 7acc5ed2f33608a3d83b64f50a5766843b6e2485; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 6aa3796d18a9fda953ad76a62b57bf6c145cb9ef; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< f38f8cce2f7e79775b3db7e8a5eacda04ac908e4
- Anyone running Linux 5.0

## Description

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

xfrm: policy: preallocate inexact bins before xfrm\_hash\_rebuild reinsert

xfrm\_hash\_rebuild()'s first loop preallocates the bins/chains the reinsert
loop needs, so the reinsert (after hlist\_del\_rcu()) cannot allocate or
fail. But its guard is inverted: it skips policies with prefixlen \<
threshold and preallocates for the rest.

prefixlen \< threshold is exactly when policy\_hash\_bysel() returns NULL and
the reinsert takes the allocating xfrm\_policy\_inexact\_insert() path. So the
loop preallocates for the exact policies (which never allocate) and skips
the inexact ones, whose bin/node is then allocated GFP\_ATOMIC during
reinsert. On failure the error path only WARN\_ONCE()s and continues,
leaving a poisoned bydst node; the next rebuild's hlist\_del\_rcu()
dereferences LIST\_POISON2 and takes a GPF. Reachable under memory pressure,
deterministic via failslab.

Invert the guard so preallocation covers exactly the reinserted policies;
the reinsert then allocates nothing and cannot fail.

Crash:
  Oops: general protection fault, probably for non-canonical address
  0xfbd59c0000000024: 0000 \[\#1\] SMP KASAN NOPTI
  KASAN: maybe wild-memory-access in range \[0xdead...\]
  ...
  Workqueue: events xfrm\_hash\_rebuild
  RIP: 0010:xfrm\_hash\_rebuild+0x5b3/0x1190
  RAX: dead000000000122   (LIST\_POISON2 + offset)
  ...
  Call Trace:
   hlist\_del\_rcu (include/linux/rculist.h:599)
   xfrm\_hash\_rebuild (net/xfrm/xfrm\_policy.c:1365)
   process\_one\_work (kernel/workqueue.c:3322)
   worker\_thread (kernel/workqueue.c:3486)
   kthread (kernel/kthread.c:436)
   ret\_from\_fork (arch/x86/kernel/process.c:158)
   ret\_from\_fork\_asm (arch/x86/entry/entry\_64.S:245)
   ...
  Kernel panic - not syncing: Fatal exception in interrupt

## Affected and fixed versions

- Linux: \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< e48f4c3e3df35b34be719d72d737bbeaca77cf0c; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 1cdeed9df1306f1a277e715600772640d63defa9; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 43a4d510523779891cf8eca7ffb4a086b0b5d8bf; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< d9d9cc21cc90014724a14c447e3d587be9447107; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 94c00391a5117530188334f740ce26d3f1256190; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 7acc5ed2f33608a3d83b64f50a5766843b6e2485; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 6aa3796d18a9fda953ad76a62b57bf6c145cb9ef; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< f38f8cce2f7e79775b3db7e8a5eacda04ac908e4 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64579.md
Affected: Linux >= 24969facd704a5f0dd8e08da86bf32a9ce972bee, < e48f4c3e3df35b34be719d72d737bbeaca77cf0c; >= 24969facd704a5f0dd8e08da86bf32a9ce972bee, < 1cdeed9df1306f1a277e715600772640d63defa9; >= 24969facd704a5f0dd8e08da86bf32a9ce972bee, < 43a4d510523779891cf8eca7ffb4a086b0b5d8bf; >= 24969facd704a5f0dd8e08d…
Fixed in: Linux 1cdeed9df1306f1a277e715600772640d63defa9, Linux 43a4d510523779891cf8eca7ffb4a086b0b5d8bf, Linux 94c00391a5117530188334f740ce26d3f1256190, Linux 7acc5ed2f33608a3d83b64f50a5766843b6e2485, Linux 6aa3796d18a9fda953ad76a62b57bf6c145cb9ef

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-64579 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< e48f4c3e3df35b34be719d72d737bbeaca77cf0c; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 1cdeed9df1306f1a277e715600772640d63defa9; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 43a4d510523779891cf8eca7ffb4a086b0b5d8bf; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< d9d9cc21cc90014724a14c447e3d587be9447107; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 94c00391a5117530188334f740ce26d3f1256190; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 7acc5ed2f33608a3d83b64f50a5766843b6e2485; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< 6aa3796d18a9fda953ad76a62b57bf6c145cb9ef; \>= 24969facd704a5f0dd8e08da86bf32a9ce972bee, \< f38f8cce2f7e79775b3db7e8a5eacda04ac908e4; Linux 5.0.

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

Yes. Fixed in Linux 1cdeed9df1306f1a277e715600772640d63defa9, Linux 43a4d510523779891cf8eca7ffb4a086b0b5d8bf, Linux 94c00391a5117530188334f740ce26d3f1256190, Linux 7acc5ed2f33608a3d83b64f50a5766843b6e2485, Linux 6aa3796d18a9fda953ad76a62b57bf6c145cb9ef. No fix listed yet: follow the vendor advisory.

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

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/e48f4c3e3df35b34be719d72d737bbeaca77cf0c>
- other: <https://git.kernel.org/stable/c/1cdeed9df1306f1a277e715600772640d63defa9>
- other: <https://git.kernel.org/stable/c/43a4d510523779891cf8eca7ffb4a086b0b5d8bf>
- other: <https://git.kernel.org/stable/c/d9d9cc21cc90014724a14c447e3d587be9447107>
- other: <https://git.kernel.org/stable/c/94c00391a5117530188334f740ce26d3f1256190>
- other: <https://git.kernel.org/stable/c/7acc5ed2f33608a3d83b64f50a5766843b6e2485>
- other: <https://git.kernel.org/stable/c/6aa3796d18a9fda953ad76a62b57bf6c145cb9ef>
- other: <https://git.kernel.org/stable/c/f38f8cce2f7e79775b3db7e8a5eacda04ac908e4>

## 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-64579>

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