{"id":"CVE-2026-98561","title":"nfp: hold IPsec RX state under the XArray lock","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfp: hold IPsec RX state under the XArray lock\n\nnfp_net_ipsec_rx() drops the XArray lock before taking a reference to the\nxfrm_state it found. The delete path can erase…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 57f273adbcd44172cbe0bd10b8b7408dd255699f < c1b1639fb138db52fcfbd1747e92f2454076c6d5","Linux >= 57f273adbcd44172cbe0bd10b8b7408dd255699f < dd765023bb54f9650f8b9137906fb2c4a554dd1d","Linux >= 57f273adbcd44172cbe0bd10b8b7408dd255699f < 8468d05aa08dc430b5675beadf6f6fb8943f170b","Linux >= 57f273adbcd44172cbe0bd10b8b7408dd255699f < fe6c8ea8bfd5d1253bb0de682b1fcc2c4bb92488","Linux >= 57f273adbcd44172cbe0bd10b8b7408dd255699f < 1a983a4e14c635c40354be110cd9a1a5c94e01e6","Linux 6.2"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:18:28.011Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98561","references":[{"url":"https://git.kernel.org/stable/c/c1b1639fb138db52fcfbd1747e92f2454076c6d5"},{"url":"https://git.kernel.org/stable/c/dd765023bb54f9650f8b9137906fb2c4a554dd1d"},{"url":"https://git.kernel.org/stable/c/8468d05aa08dc430b5675beadf6f6fb8943f170b"},{"url":"https://git.kernel.org/stable/c/fe6c8ea8bfd5d1253bb0de682b1fcc2c4bb92488"},{"url":"https://git.kernel.org/stable/c/1a983a4e14c635c40354be110cd9a1a5c94e01e6"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T15:45:12.260Z","slug":"CVE-2026-98561","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnfp: hold IPsec RX state under the XArray lock\n\nnfp_net_ipsec_rx() drops the XArray lock before taking a reference to the\nxfrm_state it found. The delete path can erase the entry and drop the last\nstate reference in that interval. RX can then try to increment a zero\nrefcount after the state has been queued for destruction.\n\nThe driver queues firmware invalidation asynchronously; the delete path\ndoes not wait for the command to complete or drain pending RX processing.\n\nThe XFRM garbage collector waits for an RCU grace period before freeing\nthe state. That delays reclamation but does not make acquiring a reference\nfrom zero valid.\n\nTake the xfrm_state reference before releasing the XArray lock so\nxa_erase() cannot run between lookup and reference acquisition.\n\n## Affected\n\n- `Linux >= 57f273adbcd44172cbe0bd10b8b7408dd255699f < c1b1639fb138db52fcfbd1747e92f2454076c6d5`\n- `Linux >= 57f273adbcd44172cbe0bd10b8b7408dd255699f < dd765023bb54f9650f8b9137906fb2c4a554dd1d`\n- `Linux >= 57f273adbcd44172cbe0bd10b8b7408dd255699f < 8468d05aa08dc430b5675beadf6f6fb8943f170b`\n- `Linux >= 57f273adbcd44172cbe0bd10b8b7408dd255699f < fe6c8ea8bfd5d1253bb0de682b1fcc2c4bb92488`\n- `Linux >= 57f273adbcd44172cbe0bd10b8b7408dd255699f < 1a983a4e14c635c40354be110cd9a1a5c94e01e6`\n- `Linux 6.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}