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 9A7303815E7 for ; Sat, 25 Jul 2026 08:58:47 +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=1784969928; cv=none; b=Yt0AzMSIcU4LAFHof7NpQtGwzFqX6a5QEp499I3I2/hvKE4IUR5tx7HpPhi69Wa55krkdsl8MHX0DZTPykhKbCjBPViebiXd405dSDGNWAdXkfEgj2B5MdjqvtsAbEpe8C/bNUwNzlUTgqFVTUjMKH1HGzBBkWvyT7m2sSaIivI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969928; c=relaxed/simple; bh=pbGUahW6rl6gNNYlL2x5mBD7du3PYnWAsJcdb0ZWRCY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=omhYYp1u3rIJIe6+vwmUmVlNy4Nl/wAr00a0vpYAjA0D2ifiI6ACUtY4rceUHfm0RexP7/0Nvs5x5qeK7qnsq9yzTXqNMdYH1sTB48j5c2w6EIFNq8V2B9d08B5PzQ9PGqN8N6KDIh6wbfqlfDXZRADlJrnUi1fnD6G1J8OlAdk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CO2n3q4Y; 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="CO2n3q4Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFBAB1F000E9; Sat, 25 Jul 2026 08:58:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969927; bh=AcKnVWv654ZS8eR5NHvq/u/m21F5dUhocEUSznwNWW8=; h=From:To:Cc:Subject:Date:Reply-To; b=CO2n3q4YKd2XVlis2I+KEFTPHOkvTSrslSlymGJY7dO2vdS0V+CKqdndz5SVPKs/T nJkb7PRF5C5eAAOy5zcERavax3oNh3AMhNfMvqy57mmKppwqV+yNTrPM4dUK8hcttf auv/lZkaouA3IFhH1KsDfiGc8fbqtHO26bnq2Dm4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64430: NTB: epf: Avoid calling pci_irq_vector() from hardirq context Date: Sat, 25 Jul 2026 10:50:47 +0200 Message-ID: <2026072536-CVE-2026-64430-3346@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=3824; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TGw786GPumKSgMmgAoU8dv7xAjbdY/6+H0Xhrq/Emeg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFSnWrBNStGareHrmf+GVn/g10fbL9/tLnxzZnvl/q dkevQkvOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiT7kZFhy5fbpG60HCNfap QYtufam35OFKtmRY0P+kttDH71jitDt3jxxbPq1VyPv+bwA= 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: NTB: epf: Avoid calling pci_irq_vector() from hardirq context ntb_epf_vec_isr() calls pci_irq_vector() in hardirq context to derive the vector number. pci_irq_vector() calls msi_get_virq() that takes a mutex and can therefore trigger "scheduling while atomic" splats: BUG: scheduling while atomic: kworker/u33:0/55/0x00010001 ... Call trace: ... schedule+0x38/0x110 schedule_preempt_disabled+0x28/0x50 __mutex_lock.constprop.0+0x848/0x908 __mutex_lock_slowpath+0x18/0x30 mutex_lock+0x4c/0x60 msi_domain_get_virq+0xe8/0x138 pci_irq_vector+0x2c/0x60 ntb_epf_vec_isr+0x28/0x120 [ntb_hw_epf] __handle_irq_event_percpu+0x70/0x3a8 handle_irq_event+0x48/0x100 handle_edge_irq+0x100/0x1c8 ... Cache the Linux IRQ number for vector 0 when vectors are allocated and use it as a base in the ISR. Running the ISR in a threaded IRQ handler would also avoid the problem, but that would be unnecessary here. The Linux kernel CVE team has assigned CVE-2026-64430 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb and fixed in 5.15.212 with commit 33bba331a4a5fee8b6026fe72eca13cceeec1b7b Issue introduced in 5.12 with commit 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb and fixed in 6.1.178 with commit aff271b12a1eb8c8b3da19223ae1a6abe1e8168b Issue introduced in 5.12 with commit 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb and fixed in 6.6.145 with commit 1dba8444ac0100133d72374634f6d7451fff1ccc Issue introduced in 5.12 with commit 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb and fixed in 6.12.96 with commit 174a97f21bf9c54fa37ec0f321692e862ea130a3 Issue introduced in 5.12 with commit 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb and fixed in 6.18.39 with commit f71e8d9875069fa73e335f63f02ec6e52e3aaa51 Issue introduced in 5.12 with commit 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb and fixed in 7.1.4 with commit 6350df503897d57c5634f71b0767d48c3b837583 Issue introduced in 5.12 with commit 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb and fixed in 7.2-rc1 with commit 4dcddc1c794d1c65eda68f1f8dd04a0fecc0870f 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-64430 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/ntb/hw/epf/ntb_hw_epf.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/33bba331a4a5fee8b6026fe72eca13cceeec1b7b https://git.kernel.org/stable/c/aff271b12a1eb8c8b3da19223ae1a6abe1e8168b https://git.kernel.org/stable/c/1dba8444ac0100133d72374634f6d7451fff1ccc https://git.kernel.org/stable/c/174a97f21bf9c54fa37ec0f321692e862ea130a3 https://git.kernel.org/stable/c/f71e8d9875069fa73e335f63f02ec6e52e3aaa51 https://git.kernel.org/stable/c/6350df503897d57c5634f71b0767d48c3b837583 https://git.kernel.org/stable/c/4dcddc1c794d1c65eda68f1f8dd04a0fecc0870f