CVE-2026-99786 json
xfrm: retry inexact policy lookup after node reinsertion
published 3d ago modified 5h ago also EUVD-2026-130903
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
xfrm: retry inexact policy lookup after node reinsertion
An inexact policy lookup first records pointers to candidate hlist heads and then traverses the lists. A concurrent policy insertion can merge inexact tree nodes between those operations:
lookup policy insertion ------ ---------------- find inexact candidates save obsolete hlist head write_seqcount_begin(&bin->count) merge inexact tree nodes hlist_del_rcu(&policy->bydst) reinsert policy->bydst in survivor write_seqcount_end(&bin->count) evaluate saved candidate list miss the moved policy
The merge immediately reinserts the same hlist node into the surviving tree node. RCU keeps the policy alive, but it does not provide a consistent view while its list node is moved. A lookup that selected the obsolete list can observe it empty. A lookup already traversing a moved policy can instead follow the next pointer rewritten by the reinsertion. Either case can return an incorrect IPsec policy result.
The per-bin sequence counter already brackets calls to xfrm_policy_inexact_insert_node(), including node merges. The read side, however, currently validates the counter only while searching an individual rb-tree. A successful search returns without validation, and the later candidate-list traversal is outside that read-side section.
Snapshot the per-bin sequence before discovering candidate heads and validate it after evaluating all candidate lists. Retry the lookup if the inexact policy tree changes while it is being searched.
Patch / fix
- Linux Linux 7.4-rc2
- linux Debian 13 6.12.118-1
- linux Debian 14 7.3.5-1
debian advisories DEBIAN-CVE-2026-99786
- git.kernel.org/stable/c/a8595be59bd8b4efe12febe24e88be8aaf30408a commit
- git.kernel.org/stable/c/e89a27224b3018177a4410042a1a9d77aafc70d1 commit
- git.kernel.org/stable/c/0dd6f109432ad24422f2b021c05782f06f66fcd9 commit
- git.kernel.org/stable/c/de8314052f753a6f500c1613c92107709a072575 commit
- git.kernel.org/stable/c/f10bd6c317cef7aa15e185e514513e8548f9ce77 commit
- git.kernel.org/stable/c/6f66839895b7e9c2673df5bd9dd8d5a82033c825 commit
- git.kernel.org/stable/c/50d8f2c52093320c70676e9f8af686ff6740abd0 commit
- git.kernel.org/stable/c/868f63c8bfafa9b827168c9126f85264c39c02ec commit
Is CVE-2026-99786 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-99786 updated cvss 4.8
kernel: kernel: IPsec policy bypass via race condition during xfrm policy lookup
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9, openshift/ose-rhel-coreos-10affected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-23).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/a8595be59bd8b4efe12febe24e88be8aaf30408a
- git.kernel.org /stable/c/e89a27224b3018177a4410042a1a9d77aafc70d1
- git.kernel.org /stable/c/0dd6f109432ad24422f2b021c05782f06f66fcd9
- git.kernel.org /stable/c/de8314052f753a6f500c1613c92107709a072575
- git.kernel.org /stable/c/f10bd6c317cef7aa15e185e514513e8548f9ce77
- git.kernel.org /stable/c/6f66839895b7e9c2673df5bd9dd8d5a82033c825
- git.kernel.org /stable/c/50d8f2c52093320c70676e9f8af686ff6740abd0
- git.kernel.org /stable/c/868f63c8bfafa9b827168c9126f85264c39c02ec
Sources
- CVE List CVE-2026-99786
- NVD CVE-2026-99786
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.