Skip to main content
VulnerabilityPublished

CVE-2026-139394: Linux kernel · spi: meson-spicc: fix invalid DMA unmap on mapping failure

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in 4978cf22bbce163a6209b60dc3c0955fb0c8db3b : update Linux kernel when convenient.

Data as of 30 Nov 2026, 14:00 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 4978cf22bbce163a6209b60dc3c0955fb0c8db3b, 9d71f9fe5b5de916bded51343138b09b1eb103ed, 6a8a2e45db5f556fa4d7a1613902ef6e7b69ec79

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade Linux kernel to 4978cf22bbce163a6209b60dc3c0955fb0c8db3b, 9d71f9fe5b5de916bded51343138b09b1eb103ed or 6a8a2e45db5f556fa4d7a1613902ef6e7b69ec79.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 18197e98353d931fc7bb2bb9ec671d3aa407831d, < 4978cf22bbce163a6209b60dc3c0955fb0c8db3b
Fixed in
  • 4978cf22bbce163a6209b60dc3c0955fb0c8db3b
LinuxLinuxAffected
  • ≥ 18197e98353d931fc7bb2bb9ec671d3aa407831d, < 9d71f9fe5b5de916bded51343138b09b1eb103ed
Fixed in
  • 9d71f9fe5b5de916bded51343138b09b1eb103ed
LinuxLinuxAffected
  • ≥ 18197e98353d931fc7bb2bb9ec671d3aa407831d, < 6a8a2e45db5f556fa4d7a1613902ef6e7b69ec79
Fixed in
  • 6a8a2e45db5f556fa4d7a1613902ef6e7b69ec79
LinuxLinuxAffected
  • =6.16
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: spi: meson-spicc: fix invalid DMA unmap on mapping failure meson_spicc_dma_unmap() decided whether a buffer had to be unmapped by testing its DMA address for non-zero. On a mapping failure dma_map_single() returns DMA_MAPPING_ERROR (typically non-zero), so the error path in meson_spicc_transfer_one() passed that error value to dma_unmap_single(), unmapping an address which was never mapped. The same happened for t->rx_dma on TX mapping failure, which is not written at all. Initialize both addresses to DMA_MAPPING_ERROR before mapping and use dma_mapping_error() to decide, so only buffers which were actually mapped are unmapped.

References

Community reviews

Loading reviews…