Cloudanix VulnDB

CVE-2026-64254

Medium · 5.5

CVSS

5.5

EPSS

0.1%

Published

Jul 24, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A Linux driver bug can cause affected specialized hardware systems to become unstable during device or driver removal, so they should be updated through normal kernel patching.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Moderate
Impact
Denial Of Service
Component
OS kernel
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

This Linux kernel flaw is in the NTB EPF PCI driver teardown path. When the PEER_SPAD and CONFIG regions share the same PCI BAR, the driver can call pci_iounmap() on an already-mapped I/O memory area using an offset rather than unmapping only the original mapping. This results in an invalid vunmap/iounmap operation and a kernel warning during device or module removal. The most realistic technical impact is local denial of service or operational instability during driver unload, device detach, hot-unplug, or related teardown activity. There is no current indication of remote code execution, privilege escalation, public exploit availability, KEV listing, or ransomware use.

Why it matters to the business

Systems using the affected Linux kernel NTB EPF driver may experience kernel warnings, degraded reliability, or possible disruption during hardware teardown, driver removal, or maintenance operations. The business risk is primarily service instability on specialized systems that use PCI endpoint/non-transparent bridge functionality, rather than broad internet-exposed compromise. Because EPSS is very low, the issue is not in CISA KEV, and no mature exploit is reported, remediation should be handled through normal kernel maintenance unless the affected driver and hardware configuration are present in production or high-availability environments.

How an attack unfolds

An attacker would need a way to trigger the affected NTB EPF PCI driver teardown path on a system where BAR_PEER_SPAD and BAR_CONFIG share the same PCI BAR. In practice, this generally requires local administrative capability, control over driver loading/unloading, device removal, hot-plug events, or access to a management path that can cause the PCI driver to detach. When teardown occurs, the driver attempts to unmap an offset inside an already-mapped I/O memory region, which causes the kernel to warn about trying to vunmap a nonexistent vm area. Depending on kernel configuration and operational context, this may result only in a logged warning, or it may contribute to service disruption if warnings are treated as fatal, if kernel panic-on-warn is enabled, or if the device removal path is part of a critical workload.

How to fix it

Apply a Linux kernel version or vendor kernel update that includes the fix to unmap the shared BAR only once when PEER_SPAD and CONFIG use the same PCI BAR. If no fixed package version is provided by the distribution yet, track the relevant kernel stable branch and vendor advisories for this NTB EPF driver fix. As interim mitigation, avoid unloading or repeatedly rebinding the affected NTB EPF driver on systems using this hardware configuration, restrict root/module-management access, disable panic-on-warn where operationally appropriate, and avoid unnecessary PCI hot-unplug or maintenance actions involving the affected device until patched.

How to confirm the fix worked

Confirm exposure by checking whether the system runs a kernel build containing the affected NTB EPF code and whether the ntb_hw_epf driver is present or loaded. Validate remediation by installing the patched kernel, rebooting into it, and confirming that NTB EPF driver detach or module removal no longer produces kernel messages such as 'Trying to vunmap() nonexistent vm area' with a call trace through ntb_epf_pci_remove, pci_iounmap, iounmap, or vunmap. Use distribution package metadata, kernel changelogs, or vendor advisories to confirm the fix is included in the running kernel rather than only installed on disk.

Typical attack path

  1. Identify a Linux system using the NTB EPF PCI driver with PEER_SPAD and CONFIG sharing a PCI BAR.
  2. Obtain local privileged access or another capability that can trigger PCI device removal, driver detach, or module unload.
  3. Trigger the teardown path, for example by unloading the NTB EPF module, unbinding the PCI device from the driver, or initiating device removal.
  4. Cause the driver to call pci_iounmap() incorrectly on an offset mapping.
  5. Observe kernel warnings and potential service instability or denial of service, especially on systems configured to panic on kernel warnings.

How to detect it

Look for evidence that the affected teardown path has already been triggered in kernel logs. Relevant sources include dmesg output, journald kernel logs, /var/log/kern.log, /var/log/messages, /var/log/syslog, crash dumps, and monitoring alerts for kernel warnings or panics. Search for the warning text 'Trying to vunmap() nonexistent vm area' and call traces containing ntb_epf_pci_remove, ntb_hw_epf, pci_iounmap, iounmap, or vunmap. Also review audit logs, shell history, configuration management logs, and systemd journal entries for module unloads, PCI driver unbinds, modprobe/rmmod activity, or maintenance actions involving the NTB EPF driver shortly before the warning. Because no public exploit or threat actor activity is reported, detection should focus on kernel-warning artifacts and suspicious or unexpected local administrative actions that triggered driver teardown.

  • Trying to vunmap() nonexistent vm area
  • WARNING: mm/vmalloc.c
  • vunmap+0x58/0x68
  • iounmap+0x34/0x48
  • pci_iounmap+0x2c/0x40
  • ntb_epf_pci_remove
  • ntb_hw_epf
  • pci_device_remove
  • device_release_driver_internal
  • pci_unregister_driver
  • ntb_epf_pci_driver_exit
  • modprobe
  • rmmod ntb_hw_epf
  • modprobe -r ntb_hw_epf
  • /sys/bus/pci/drivers/ntb_hw_epf/unbind

What your security team should do

  • Prioritize inventory: identify Linux systems using NTB/PCI endpoint functionality and the ntb_hw_epf driver.
  • Patch affected systems through the normal kernel update process, with higher priority for production systems where kernel warnings can cause outages or where panic-on-warn is enabled.
  • Restrict local administrative access, kernel module loading/unloading, PCI driver bind/unbind operations, and hardware management interfaces that could trigger the affected teardown path.
  • Review kernel logs for prior warnings involving vunmap, iounmap, pci_iounmap, and ntb_epf_pci_remove to determine whether the condition has already occurred.
  • Coordinate with infrastructure and hardware teams before NTB device maintenance, hot-plug, or driver reload activities on unpatched systems.
  • Monitor vendor advisories for exact fixed kernel package versions, since no product-specific fixed versions were provided in the input.

The record

In the Linux kernel, the following vulnerability has been resolved: NTB: epf: Avoid pci_iounmap() with offset when PEER_SPAD and CONFIG share BAR When BAR_PEER_SPAD and BAR_CONFIG share one PCI BAR, the module teardown path ends up calling pci_iounmap() on the same iomem with some offset, which is unnecessary and triggers a kernel warning like the following: Trying to vunmap() nonexistent vm area (0000000069a5ffe8) WARNING: mm/vmalloc.c:3470 at vunmap+0x58/0x68, CPU#5: modprobe/2937 [...] Call trace: vunmap+0x58/0x68 (P) iounmap+0x34/0x48 pci_iounmap+0x2c/0x40 ntb_epf_pci_remove+0x44/0x80 [ntb_hw_epf] pci_device_remove+0x48/0xf8 device_remove+0x50/0x88 device_release_driver_internal+0x1c8/0x228 driver_detach+0x50/0xb0 bus_remove_driver+0x74/0x100 driver_unregister+0x34/0x68 pci_unregister_driver+0x34/0xa0 ntb_epf_pci_driver_exit+0x14/0xfe0 [ntb_hw_epf] [...] Fix it by unmapping only when PEER_SPAD and CONFIG use difference bars.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities