CVE-2026-64430: NTB: epf: Avoid calling pci_irq_vector() from hardirq context

Published Jul 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

NTB: epf: Avoid calling pciirqvector() from hardirq context

ntbepfvecisr() calls pciirqvector() in hardirq context to derive the vector number. pciirqvector() calls msigetvirq() 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 schedulepreemptdisabled+0x28/0x50 mutexlock.constprop.0+0x848/0x908 mutexlockslowpath+0x18/0x30 mutexlock+0x4c/0x60 msidomaingetvirq+0xe8/0x138 pciirqvector+0x2c/0x60 ntbepfvecisr+0x28/0x120 [ntbhwepf] handleirqeventpercpu+0x70/0x3a8 handleirqevent+0x48/0x100 handleedgeirq+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.

Affected Software

7 affected components
Linux Linux kernel
Linux Linux kernel>=5.12<5.15.212
Linux Linux kernel>=5.16<6.1.178
Linux Linux kernel>=6.2<6.6.145
Linux Linux kernel>=6.7<6.12.96
Linux Linux kernel>=6.13<6.18.39
Linux Linux kernel>=6.19<7.1.4

Event History

Jul 25, 2026
CVE Published
via MITRE·08:51 AM
Data Sourced
via MITRE·08:51 AM
DescriptionSeverity
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

Which systems are affected?

Affected systems are Linux kernel deployments using the NTB endpoint-function driver path involving ntb_hw_epf and its interrupt service routine. The issue occurs when that ISR calls pci_irq_vector() from hardirq context.

2

What is the practical impact?

The hardirq-context call can reach a mutex and trigger a "scheduling while atomic" condition. The supplied CVSS vector rates the impact as high availability impact, with no confidentiality or integrity impact.

3

Does exploitation require authentication or user interaction?

The supplied CVSS vector indicates network attack vector, low attack complexity, no privileges required, and no user interaction. The vulnerability data does not provide further exploit prerequisites.

4

What should be done if patching cannot happen immediately?

The provided data identifies an alternative implementation approach: handling the interrupt through a threaded IRQ handler would avoid the hardirq-context problem, though it is described as unnecessary for the fix. The available patch instead caches the Linux IRQ number for vector 0 during vector allocation and uses it as the ISR base.

5

How can administrators identify the issue in logs?

Affected systems may report "BUG: scheduling while atomic" messages. The shown call trace includes pci_irq_vector(), ntb_epf_vec_isr() from ntb_hw_epf, and mutex locking functions such as msi_domain_get_virq().

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203