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 79C28370D7C for ; Sat, 25 Jul 2026 08:52:56 +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=1784969577; cv=none; b=UU6GyqiMPOHOCKrOrRShWzjsE7NOvXsxhKMezPDZtPcg6N6PVbHOjph4UvEfDjQRhQCiocZhOx1OeSqghNDU8lg9DtZx1ojzClpsYK5mgxTTj4t3UUjQ67lvD7WsnFqFZpN8TJTETgQ6Nv+n5UZOWwmSTiGa5CzpUcM1QoraKwk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969577; c=relaxed/simple; bh=5eaNKOHqiBm6+vJvNMBabjXFCZ+/Eyq5mbHJhqieSNo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gkaeyq8dISR2PwyVYreRCgpTNf8ZVTQQglhrvrksl15ckkKed2C1ohRPgLcarF6QvhgtAs2e+QO9PauQ+ppDx6TJUlpE6wAIpX+U/n3PMX0q6T20+hj6o+jxeuac0hqgYUfsWQzeiiYXBWsy6HSUtTmPBxLjBF9X/g8/LhKs4Uo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mC1rTiNB; 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="mC1rTiNB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C089D1F000E9; Sat, 25 Jul 2026 08:52:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969576; bh=Yn01Ik1seTUgqN3Z/qu2N6Y9rWR8zjOub4/2TJSLcyc=; h=From:To:Cc:Subject:Date:Reply-To; b=mC1rTiNBn8n7UePtWbZZjpAU4VrhsnYaH4yIxYDWuhobQiLexcToyBSBD8ftTZX57 rLlR10Z0y/9MKvNwEOCNBjAq9sET+iZ9I1/n0swGZmp2xuDQvL5X8QFc7CMlVXkSuW xP3W1FUvhxgYFMBhQ2CX0W5JS8CXKTuuBcTPjLLw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64305: crypto: qat - protect service table iterations with service_lock Date: Sat, 25 Jul 2026 10:48:42 +0200 Message-ID: <2026072507-CVE-2026-64305-6cea@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=3111; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=h7sUsl83Dh6Oef02xGq94XUGY5hEVWm4z4PAyJr5cXw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFe7eV7JWhbz+kPVxi+sbqdfV4YtyWt7MW5OivT1sx qeI+1MDOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiWlcZ5lkf/lHIkNV78qH2 uT0Tk8zWpjhcfMuwYP2yOadmrCsRvxn+fD37L0URlrkxIQA= 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: crypto: qat - protect service table iterations with service_lock The service_table list is protected by service_lock when entries are added or removed (in adf_service_add() and adf_service_remove()), but several functions iterate over the list without holding this lock. A concurrent adf_service_register() or adf_service_unregister() call could modify the list during traversal, leading to list corruption or a use-after-free. Fix this by holding service_lock across all list_for_each_entry() iterations of service_table in adf_dev_init(), adf_dev_start(), adf_dev_stop(), adf_dev_shutdown(), adf_dev_restarting_notify(), adf_dev_restarted_notify(), and adf_error_notifier(). The lock ordering is safe: callers of the static helpers (adf_dev_up() and adf_dev_down()) acquire state_lock before service_lock, and no event_hld callback or service_lock holder ever acquires state_lock in the reverse order. The Linux kernel CVE team has assigned CVE-2026-64305 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit d8cba25d2c68992a6e7c1d329b690a9ebe01167d and fixed in 6.12.96 with commit 222fa7b453b612f4407f260146d89a2ce2bc831d Issue introduced in 3.17 with commit d8cba25d2c68992a6e7c1d329b690a9ebe01167d and fixed in 6.18.39 with commit c3c5925791cff3b84d313293fd60f384d877d793 Issue introduced in 3.17 with commit d8cba25d2c68992a6e7c1d329b690a9ebe01167d and fixed in 7.1.4 with commit 0dbcecea740d943002c1cbdafa39bdfc108e32a5 Issue introduced in 3.17 with commit d8cba25d2c68992a6e7c1d329b690a9ebe01167d and fixed in 7.2-rc1 with commit 5c6f845e77ec35f9b7b047cc8f9789bf397cdd3e 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-64305 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/crypto/intel/qat/qat_common/adf_init.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/222fa7b453b612f4407f260146d89a2ce2bc831d https://git.kernel.org/stable/c/c3c5925791cff3b84d313293fd60f384d877d793 https://git.kernel.org/stable/c/0dbcecea740d943002c1cbdafa39bdfc108e32a5 https://git.kernel.org/stable/c/5c6f845e77ec35f9b7b047cc8f9789bf397cdd3e