Security mailing lists by PureSourceCode

CVE-2026-139394

not scored yet

spi: meson-spicc: fix invalid DMA unmap on mapping failure

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 18197e98353d931fc7bb2bb9ec671d3aa407831d, < 6a8a2e45db5f556fa4d7a1613902ef6e7b69ec79; >= 18197e98353d931fc7bb2bb9ec671d3aa407831d, < 4978cf22bbce163a6209b60dc3c0955fb0c8db3b; >= 18197e98353d931fc7bb2bb9ec671d3aa407831d, < 9d71f9fe5b5de916bded51343138b09b1eb103ed 6a8a2e45db5f556fa4d7a1613902ef6e7b69ec79, 4978cf22bbce163a6209b60dc3c0955fb0c8db3b, 9d71f9fe5b5de916bded51343138b09b1eb103ed
CVE List Linux Linux = 6.16

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.