# CVE-2026-64254: NTB: epf: Avoid pci\_iounmap() with offset when PEER\_SPAD and CONFIG share BAR

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2026-07-24T15:31:22.293Z
- **Modified:** 2026-11-08T16:10:00.183Z

## Who should check

- Anyone running Linux \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< eb47b9bffd07a47b84910847cb5ea066ce184055; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< 06f6dd2ff2bd07eaf7178a807407ff27e85122b4; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< a4be4a1308f02bff79a30eea2d04ead5b63685f2; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< 81371dbd23601f67f01372817fdbab42c5601e43; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< 9764a786ba98db58f0725913c369e721253aba33; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< d876153680e3d721d385e554def919bce3d18c74
- Anyone running Linux 6.0

## Description

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 and fixed versions

- Linux: \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< eb47b9bffd07a47b84910847cb5ea066ce184055; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< 06f6dd2ff2bd07eaf7178a807407ff27e85122b4; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< a4be4a1308f02bff79a30eea2d04ead5b63685f2; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< 81371dbd23601f67f01372817fdbab42c5601e43; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< 9764a786ba98db58f0725913c369e721253aba33; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< d876153680e3d721d385e554def919bce3d18c74 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64254. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64254.md
Affected: Linux >= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, < eb47b9bffd07a47b84910847cb5ea066ce184055; >= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, < 06f6dd2ff2bd07eaf7178a807407ff27e85122b4; >= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, < a4be4a1308f02bff79a30eea2d04ead5b63685f2; >= e75d5ae8ab88b7ffb3d1d56…
Fixed in: Linux 06f6dd2ff2bd07eaf7178a807407ff27e85122b4, Linux 81371dbd23601f67f01372817fdbab42c5601e43, Linux 9764a786ba98db58f0725913c369e721253aba33

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64254 being exploited?

There is no confirmed exploitation: CVE-2026-64254 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64254?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64254?

Linux \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< eb47b9bffd07a47b84910847cb5ea066ce184055; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< 06f6dd2ff2bd07eaf7178a807407ff27e85122b4; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< a4be4a1308f02bff79a30eea2d04ead5b63685f2; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< 81371dbd23601f67f01372817fdbab42c5601e43; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< 9764a786ba98db58f0725913c369e721253aba33; \>= e75d5ae8ab88b7ffb3d1d56124b003f3555f74b4, \< d876153680e3d721d385e554def919bce3d18c74; Linux 6.0.

### Is there a fix for CVE-2026-64254?

Yes. Fixed in Linux 06f6dd2ff2bd07eaf7178a807407ff27e85122b4, Linux 81371dbd23601f67f01372817fdbab42c5601e43, Linux 9764a786ba98db58f0725913c369e721253aba33. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64254?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/eb47b9bffd07a47b84910847cb5ea066ce184055>
- patch: <https://git.kernel.org/stable/c/06f6dd2ff2bd07eaf7178a807407ff27e85122b4>
- patch: <https://git.kernel.org/stable/c/a4be4a1308f02bff79a30eea2d04ead5b63685f2>
- patch: <https://git.kernel.org/stable/c/81371dbd23601f67f01372817fdbab42c5601e43>
- patch: <https://git.kernel.org/stable/c/9764a786ba98db58f0725913c369e721253aba33>
- patch: <https://git.kernel.org/stable/c/d876153680e3d721d385e554def919bce3d18c74>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64254>

HTML: <https://flawdb.com/CVE-2026-64254> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64254>
