All vulnerabilities

Servers and applications

CVE-2026-64525

xfrm: move policy_bydst RCU sync from per-netns .exit to .pre_exit

Severity
Unrated
Published
25 Jul 2026
Last changed
30 Oct 2026
Added to UpHeron
30 Oct 2026
Fixed in
6.2, 6.7, 6.12.93, 6.18.35, 6.20, 7.0.12
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 19 Nov 2026
Sources
CVE Program

Description

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

The struct pernet_operations docstring in include/net/net_namespace.h explicitly warns against blocking RCU primitives in .exit handlers:

Exit methods using blocking RCU primitives, such as synchronize_rcu(), should be implemented via exit_batch. [...] Please, avoid synchronize_rcu() at all, where it's possible.

Note that a combination of pre_exit() and exit() can be used, since a synchronize_rcu() is guaranteed between the calls.

xfrm_policy_fini() violates this: it calls synchronize_rcu() before freeing the policy_bydst hash tables (so no RCU reader is mid- traversal at free time), but runs from xfrm_net_ops.exit -- once per namespace -- so a cleanup_net() of N namespaces pays N full RCU grace periods serially.

Use the documented pre_exit/exit split. Move the policy flush (and the workqueue drains it depends on) into a new .pre_exit handler; xfrm_policy_fini() then runs in .exit and frees the hash tables after…

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 7.0 before 6.12.93
  • From 6.19.14 before 6.20
  • From 6.19 before 7.0.12
  • From 6.18.24 before 6.18.35
All 8 release lines
  • From 6.1.191 before 6.2
  • From 6.6.136 before 6.7
  • From 6.12.83 before 6.12.93
  • From 6.13 before 6.18.35
  • From 6.18.24 before 6.18.35
  • From 6.19 before 7.0.12
  • From 6.19.14 before 6.20
  • From 7.0 before 6.12.93

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-64525