nfp: hold IPsec RX state under the XArray lock
Summary
| CVE | CVE-2026-98561 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:08 UTC |
| Updated | 2026-10-18 16:17:08 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
nfp: hold IPsec RX state under the XArray lock
nfp_net_ipsec_rx() drops the XArray lock before taking a reference to the
xfrm_state it found. The delete path can erase the entry and drop the last
state reference in that interval. RX can then try to increment a zero
refcount after the state has been queued for destruction.
The driver queues firmware invalidation asynchronously; the delete path
does not wait for the command to complete or drain pending RX processing.
The XFRM garbage collector waits for an RCU grace period before freeing
the state. That delays reclamation but does not make acquiring a reference
from zero valid.
Take the xfrm_state reference before releasing the XArray lock so
xa_erase() cannot run between lookup and reference acquisition. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 57f273adbcd44172cbe0bd10b8b7408dd255699f c1b1639fb138db52fcfbd1747e92f2454076c6d5 git |
Not specified |
| CNA |
Linux |
Linux |
affected 57f273adbcd44172cbe0bd10b8b7408dd255699f dd765023bb54f9650f8b9137906fb2c4a554dd1d git |
Not specified |
| CNA |
Linux |
Linux |
affected 57f273adbcd44172cbe0bd10b8b7408dd255699f 8468d05aa08dc430b5675beadf6f6fb8943f170b git |
Not specified |
| CNA |
Linux |
Linux |
affected 57f273adbcd44172cbe0bd10b8b7408dd255699f fe6c8ea8bfd5d1253bb0de682b1fcc2c4bb92488 git |
Not specified |
| CNA |
Linux |
Linux |
affected 57f273adbcd44172cbe0bd10b8b7408dd255699f 1a983a4e14c635c40354be110cd9a1a5c94e01e6 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.2 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.2 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.158 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.112 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.55 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.9 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3-rc5 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/8468d05aa08dc430b5675beadf6f6fb8943f170b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/c1b1639fb138db52fcfbd1747e92f2454076c6d5 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1a983a4e14c635c40354be110cd9a1a5c94e01e6 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/dd765023bb54f9650f8b9137906fb2c4a554dd1d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/fe6c8ea8bfd5d1253bb0de682b1fcc2c4bb92488 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.