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 6339A40802F for ; Wed, 27 May 2026 13:03: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=1779887037; cv=none; b=DSXr+SCDxvc/2xXIwjr2nudZunQsc0fw/6um9t6PpgZMpwdyEqA+5ANiGu7YipTbu4/oa+sXRRFB2mFCq3LBVbJoxulLeiHkztPEuFqPq9BY1N6+EVrZ2OYhb0ldMfWN2f2n/27eGXT7AUyu06GdnLixtxja7ctpJ2jlGs9zPcY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887037; c=relaxed/simple; bh=bYa1f4eezFz5m9hcQFV1BLJLksQMs8nXwKKKF0GmN48=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NgZCN7ui7OiSD71KP0rYseNL0DONtUUrbPMnNEKOX6hPMjVBUqR1zUh5deVGJQ9m5yXHazDN3h8rogH9fVKwF9zYpYlABtA6RTMb6qG5gwNF6LxC7CEHDEmbIk+OUHHd5DdtV7UFoxL/hzUwy9+CfbPKjObdRCFiLUlaiO8eB5I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Lr5CgfGH; 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="Lr5CgfGH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACF3A1F000E9; Wed, 27 May 2026 13:03:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887036; bh=cI2+c+uIPMpmaOpXRMXr/wXN8WjXa5+BkGprWjJ1Yxo=; h=From:To:Cc:Subject:Date:Reply-To; b=Lr5CgfGHNjsW7f0oaiJ0Qc+9HqGexHE7g6DR9iFAi+0p3t3KGWEDlOurOngK9ofBm HiImT2XNYZdPohIcUL6y6aE6x9NxjUNBZh4yWFcLOgr7UCwUp9ac9HQvcsVQxfsJQa Y5x4vgVp36D8noCEjqD24/ZCP+H6gdgb+2mnqy6Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46060: crypto: qat - fix IRQ cleanup on 6xxx probe failure Date: Wed, 27 May 2026 14:59:51 +0200 Message-ID: <2026052755-CVE-2026-46060-38cc@gregkh> X-Mailer: git-send-email 2.54.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=3044; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EsQvZ9fMYBn3bFxdM8j6h5R02c0PPvVJ7WXJCDlc338=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir/oTXh+Z++i9RuJfTr43Dz8GJTnoXLzQ7DlVZVXRz 4BHRa9CO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi/jMZFmy1E89p3f/UJjjC cNH32QW5PZOvfmNYsGOC2Z4ve+TnCW904DfkePXxyiWWNwA= 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 - fix IRQ cleanup on 6xxx probe failure When adf_dev_up() partially completes and then fails, the IRQ handlers registered during adf_isr_resource_alloc() are not detached before the MSI-X vectors are released. Since the device is enabled with pcim_enable_device(), calling pci_alloc_irq_vectors() internally registers pcim_msi_release() as a devres action. On probe failure, devres runs pcim_msi_release() which calls pci_free_irq_vectors(), tearing down the MSI-X vectors while IRQ handlers (for example 'qat0-bundle0') are still attached. This causes remove_proc_entry() warnings: [ 22.163964] remove_proc_entry: removing non-empty directory 'irq/143', leaking at least 'qat0-bundle0' Moving the devm_add_action_or_reset() before adf_dev_up() does not solve the problem since devres runs in LIFO order and pcim_msi_release(), registered later inside adf_dev_up(), would still fire before adf_device_down(). Fix by calling adf_dev_down() explicitly when adf_dev_up() fails, to properly free IRQ handlers before devres releases the MSI-X vectors. The Linux kernel CVE team has assigned CVE-2026-46060 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 17fd7514ae68c541bf952876ce2005cb4a53f283 and fixed in 6.18.27 with commit 27f561bf894e46bdc2d6209c50884adad79d8277 Issue introduced in 6.16 with commit 17fd7514ae68c541bf952876ce2005cb4a53f283 and fixed in 7.0.4 with commit 7cd651f1357dcc477e6483c3a4706836b46bdc92 Issue introduced in 6.16 with commit 17fd7514ae68c541bf952876ce2005cb4a53f283 and fixed in 7.1-rc1 with commit 95aed2af87ec43fa7624cc81dd13d37824ad4972 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-46060 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_6xxx/adf_drv.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/27f561bf894e46bdc2d6209c50884adad79d8277 https://git.kernel.org/stable/c/7cd651f1357dcc477e6483c3a4706836b46bdc92 https://git.kernel.org/stable/c/95aed2af87ec43fa7624cc81dd13d37824ad4972