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 94BFB3D47A1 for ; Mon, 10 Aug 2026 12:10:41 +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=1786363842; cv=none; b=E/pzQFweNJFL/wbgfLIrAwFXK8m88dFtMblFA4An1KHhRXY48ccCsMM32ujvCQWkg5WfGWovQ8yruFLQRhv0RXGCtqKLfXZkGIUWT57/0EDKZ3MHQ7D+RJMK9R5s7C7p146t5qPnW5LjJDlVoh8IFiFp8pzLw7P+MCJ4PUbq4I0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363842; c=relaxed/simple; bh=cQ+/SKEZcGseZ7kcY0qFKfb5fN07GoD0TmSQrG7T6GQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dPzwRuoGvXBgJUP/xLZsKxMKSAWGNSLqjeCcXdc5btCW7ii1sbYlUcW2n+ixe1dy7/YNjpJZPfIlXaMyRYIt9Me1z//3H1SzPmCQSgPux13/uaYKuXn8ZmYTBEnEACfRxgWuTa/0+8GZX4b5l/5laCWhmagMr3RVs/2fXpG+fgo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mEuQiV7v; 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="mEuQiV7v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1577C1F000E9; Mon, 10 Aug 2026 12:10:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363841; bh=BX7dL2txHmEdrEEsp4/eeZKwZLZOuwd4Q3UTwSLixz8=; h=From:To:Cc:Subject:Date:Reply-To; b=mEuQiV7vvjM4xKmCim0OvbdRc83UhH81OgBO4nXYsnOkudvXwKJaw7dmsb/RJ43qW CKIrRsvwJi2vMDuVidKJn+lBDr5Z02OKloBM+AAn3ZmiijnM47XFnnUxIDHaz5bMoR g4uaj7WUPMp57auPpYwv673JRq36Cys6KPKReRBk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68328: nfp: Check resource mutex allocation Date: Mon, 10 Aug 2026 14:00:45 +0200 Message-ID: <2026081035-CVE-2026-68328-1662@gregkh> X-Mailer: git-send-email 2.55.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=3200; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YmuXpXIgBfXfLxG9Zia9sIZsrZ+UZ5H27r5aioQ2Qc8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe9ZfTHwbybzqQ+Z5W9asF943YiU73/6y+nmNdxfnj o+NL9cmd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEAt8xzPd3OHfowqX1+a2S OWWmL3wzvgScbGZYsCNf0y6pnmFfd+4M4/2qJ+9n6tY/AwA= 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: Check resource mutex allocation nfp_cpp_resource_find() allocates a CPP mutex handle for the matching resource-table entry and then reports success. nfp_resource_try_acquire() immediately passes that handle to nfp_cpp_mutex_trylock(). However, nfp_cpp_mutex_alloc() returns NULL on failure. If that happens for a matching table entry, the resource lookup still returns success and the following trylock dereferences a NULL mutex pointer while opening the resource. nfp_resource_acquire() already treats failure to allocate the table mutex as -ENOMEM. Do the same for the resource mutex and fail the lookup before publishing the rest of the resource handle. This issue was found by a static analysis checker and confirmed by manual source review. The Linux kernel CVE team has assigned CVE-2026-68328 to this issue. Affected and fixed versions =========================== Issue introduced in 4.11 with commit f01a2161577d31b14581e0db3bbbdfa963f145b6 and fixed in 6.6.148 with commit 6dbd428119cb1fd1b73cf6968c711f4ea964dc8b Issue introduced in 4.11 with commit f01a2161577d31b14581e0db3bbbdfa963f145b6 and fixed in 6.12.101 with commit cfa119aa781c4044dab5b4c1e5864600f53a26bc Issue introduced in 4.11 with commit f01a2161577d31b14581e0db3bbbdfa963f145b6 and fixed in 6.18.42 with commit 3b1d4fc3b73ea6faf008a0996ce6190c6e43efc3 Issue introduced in 4.11 with commit f01a2161577d31b14581e0db3bbbdfa963f145b6 and fixed in 7.1.6 with commit a7dc30b6828c3a30252892827b12b676749f250f Issue introduced in 4.11 with commit f01a2161577d31b14581e0db3bbbdfa963f145b6 and fixed in 7.2-rc5 with commit a61b4db34a753bdf5c9e77a7f3d3dddd41dcfacc 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-68328 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/nfpcore/nfp_resource.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/6dbd428119cb1fd1b73cf6968c711f4ea964dc8b https://git.kernel.org/stable/c/cfa119aa781c4044dab5b4c1e5864600f53a26bc https://git.kernel.org/stable/c/3b1d4fc3b73ea6faf008a0996ce6190c6e43efc3 https://git.kernel.org/stable/c/a7dc30b6828c3a30252892827b12b676749f250f https://git.kernel.org/stable/c/a61b4db34a753bdf5c9e77a7f3d3dddd41dcfacc