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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-07-25T08:51:06.612Z
- Modified: 2026-09-03T18:30:19.423Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb before 33bba331a4a5fee8b6026fe72eca13cceeec1b7b; from 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb before aff271b12a1eb8c8b3da19223ae1a6abe1e8168b; from 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb before 1dba8444ac0100133d72374634f6d7451fff1ccc; from 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb before 174a97f21bf9c54fa37ec0f321692e862ea130a3; from 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb before f71e8d9875069fa73e335f63f02ec6e52e3aaa51; from 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb before 6350df503897d57c5634f71b0767d48c3b837583; from 812ce2f8d14ea791edd88c36ebcc9017bf4c88cb before 4dcddc1c794d1c65eda68f1f8dd04a0fecc0870f; 5.12 (not affected: before 5.12; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.12 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/33bba331a4a5fee8b6026fe72eca13cceeec1b7b> (patch)
- <https://git.kernel.org/stable/c/aff271b12a1eb8c8b3da19223ae1a6abe1e8168b> (patch)
- <https://git.kernel.org/stable/c/1dba8444ac0100133d72374634f6d7451fff1ccc> (patch)
- <https://git.kernel.org/stable/c/174a97f21bf9c54fa37ec0f321692e862ea130a3> (patch)
- <https://git.kernel.org/stable/c/f71e8d9875069fa73e335f63f02ec6e52e3aaa51> (patch)
- <https://git.kernel.org/stable/c/6350df503897d57c5634f71b0767d48c3b837583> (patch)
- <https://git.kernel.org/stable/c/4dcddc1c794d1c65eda68f1f8dd04a0fecc0870f> (patch)

## Sources

- CVE List: [CVE-2026-64430](https://www.cve.org/CVERecord?id=CVE-2026-64430), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-64430](https://nvd.nist.gov/vuln/detail/CVE-2026-64430), Public domain, modified 2026-09-03

---

Page: https://cve.day/CVE-2026-64430 · Whole record: https://cve.day/CVE-2026-64430.json · Rebuilt by cve.day 2026-11-25T22:59:30.115Z
