Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-64149

MEDIUM 5.5EPSS 3%

dma-mapping: move dma_map_resource() sanity check into debug code

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < 181e67bc11c5ec5b87c6c512c2078752b23ca8d4; >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < 004a777879ff629f6e0ca3d09ad09fa3452bcc4d; >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < af0c3f05866237f7592219bfe05387bc3bfc99b5
  • Anyone running Linux 6.18

Vulnerability facts

Affected
Linux >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < 181e67bc11c5ec5b87c6c512c2078752b23ca8d4; >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < 004a777879ff629f6e0ca3d09ad09fa3452bcc4d; >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < af0c3f05866237f7592219bfe05387bc3bfc99b5; Linux 6.18
Fixed in
Linux 181e67bc11c5ec5b87c6c512c2078752b23ca8d4, Linux 004a777879ff629f6e0ca3d09ad09fa3452bcc4d
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: dma-mapping: move dma_map_resource() sanity check into debug code dma_map_resource() uses pfn_valid() to ensure the range is not RAM. However, pfn_valid() only checks for availability of the memory map for a PFN but it does not ensure that the PFN is actually backed by RAM. On ARM64 with SPARSEMEM (128MB section granularity), MMIO addresses that share a section with RAM will falsely trigger the WARN_ON_ONCE and cause dma_map_resource() to return DMA_MAPPING_ERROR. This causes a WARNING on Raspberry Pi 4 during spi_bcm2835 probe because the SPI FIFO register (0xfe204004) falls in the same sparsemem section as the end of RAM (0xf8000000-0xfbffffff), both in section 31 (0xf8000000-0xffffffff). Move the sanity check from dma_map_resource() into debug_dma_map_phys() and replace the unreliable pfn_valid() with pfn_valid() && !PageReserved(), which correctly identifies actual usable RAM without false positives for MMIO regions that happen to have struct pages. Since dma_map_resource() is dma_map_phys(DMA_ATTR_MMIO), the check applies equally to both APIs. Any non-reserved page represents kernel memory to a sufficient degree that using DMA_ATTR_MMIO on it is almost certainly wrong and risks breaking coherency on non-coherent platforms. ZONE_DEVICE pages used for PCI P2P DMA (MEMORY_DEVICE_PCI_P2PDMA) have PageReserved set, so they will not trigger a false positive. The check no longer blocks the mapping and uses err_printk() to integrate with dma-debug filtering.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= f7326196a781622b33bfbdabb00f5e72b5fb5679, < 181e67bc11c5ec5b87c6c512c2078752b23ca8d4; >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < 004a777879ff629f6e0ca3d09ad09fa3452bcc4d; >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < af0c3f05866237f7592219bfe05387bc3bfc99b5—cvelist
Linux6.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-64149.md
Affected: Linux >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < 181e67bc11c5ec5b87c6c512c2078752b23ca8d4; >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < 004a777879ff629f6e0ca3d09ad09fa3452bcc4d; >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < af0c3f05866237f7592219bfe05387bc3bfc99b5; Linux 6.18
Fixed in: Linux 181e67bc11c5ec5b87c6c512c2078752b23ca8d4, Linux 004a777879ff629f6e0ca3d09ad09fa3452bcc4d

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.

References

FAQ

Is CVE-2026-64149 being exploited?

There is no confirmed exploitation: CVE-2026-64149 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-64149?

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

Which versions are affected by CVE-2026-64149?

Linux >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < 181e67bc11c5ec5b87c6c512c2078752b23ca8d4; >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < 004a777879ff629f6e0ca3d09ad09fa3452bcc4d; >= f7326196a781622b33bfbdabb00f5e72b5fb5679, < af0c3f05866237f7592219bfe05387bc3bfc99b5; Linux 6.18.

Is there a fix for CVE-2026-64149?

Yes. Fixed in Linux 181e67bc11c5ec5b87c6c512c2078752b23ca8d4, Linux 004a777879ff629f6e0ca3d09ad09fa3452bcc4d. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors