Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A4AC447242 for ; Sun, 18 Oct 2026 15:29:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337342; cv=none; b=DV6e1RA86ssy4Rg4cklf19nijTWpuNcavecc8A55Q0bPrByHAB9L9fzxtJ9SLjirunxV9KfpLsIbQjBooOOWLWbfH8X3nrMOsLvy6z1MfzVYGen08xfksHjm3GmKp6phpR/H6rn8eIqA4wZOsb4OVn2p43tVCMJBKqwn5Fa1UwM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337342; c=relaxed/simple; bh=gZl/l9QkaLm9X0IuiUeIhF5RTYuC3jA1jyUpkWXIiDY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KYgrk8ZavwisGxvW66n+J9dgVQdfhN2J0aKFy1lYQFY9JWaaCeHyX227jr6AemffYVI1E6o5xkdjj1WAHHAweNloLzElIvaUsQXVXxSlo6MmoCWGLruiyQhF0IqLilAbG8EcxObHXYxciZ1Cw5WK+hbhsIVcf1c2arp3zr5jWwg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KPy0jMeq; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="KPy0jMeq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BCB01F000C4; Sun, 18 Oct 2026 15:28:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337339; bh=arpTvJojNg5i/pYkCwjKohh+UfAeUnSJq4Vv2RBGIFI=; h=From:To:Cc:Subject:Date:Reply-To; b=KPy0jMeqp20sM9nxAyS7ibS735teBh+1uaG0nqs0TZYqKEcP/nOQOHFOdHENIbqUB QonuG3OUkevo2dO/wD33tLLwp1Cdo83m4X/NBBPciGtCBilewZys/Ax7zwkyilVPRJ 3veqFL5WWFOrT4WNHD/+CNLxnYOJ1soPeG0PSeJg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98561: nfp: hold IPsec RX state under the XArray lock Date: Sun, 18 Oct 2026 17:17:05 +0200 Message-ID: <2026101830-CVE-2026-98561-f0d9@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3196; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aVrqwK61q1cRvoIbGNlN8P8zvfl5jTDnTqVG1sSXpBc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHk1yvlvb3Fy5cONvmac789ud2daWZ64PVX6Rab8tx XDLG7bdHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRVX8Z5hltWDPh6nM9o3dT jv7bYttilXLpsDnDXKnABVltL1x4218y1apVy+74VTTPHAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98561 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 57f273adbcd44172cbe0bd10b8b7408dd255699f and fixed in 6.6.158 with commit c1b1639fb138db52fcfbd1747e92f2454076c6d5 Issue introduced in 6.2 with commit 57f273adbcd44172cbe0bd10b8b7408dd255699f and fixed in 6.12.112 with commit dd765023bb54f9650f8b9137906fb2c4a554dd1d Issue introduced in 6.2 with commit 57f273adbcd44172cbe0bd10b8b7408dd255699f and fixed in 6.18.55 with commit 8468d05aa08dc430b5675beadf6f6fb8943f170b Issue introduced in 6.2 with commit 57f273adbcd44172cbe0bd10b8b7408dd255699f and fixed in 7.2.9 with commit fe6c8ea8bfd5d1253bb0de682b1fcc2c4bb92488 Issue introduced in 6.2 with commit 57f273adbcd44172cbe0bd10b8b7408dd255699f and fixed in 7.3-rc5 with commit 1a983a4e14c635c40354be110cd9a1a5c94e01e6 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98561 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/netronome/nfp/crypto/ipsec.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/c1b1639fb138db52fcfbd1747e92f2454076c6d5 https://git.kernel.org/stable/c/dd765023bb54f9650f8b9137906fb2c4a554dd1d https://git.kernel.org/stable/c/8468d05aa08dc430b5675beadf6f6fb8943f170b https://git.kernel.org/stable/c/fe6c8ea8bfd5d1253bb0de682b1fcc2c4bb92488 https://git.kernel.org/stable/c/1a983a4e14c635c40354be110cd9a1a5c94e01e6