CVE-2026-139360

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

spi: omap2-mcspi: handle DMA setup failures

The DMA paths ignore failures from dmaengine_slave_config(), descriptor preparation and dmaengine_submit(), and carry FIXME comments about falling back to PIO. A failed setup can leave a half-started transfer or wait for a completion that never arrives.

Check each step and clean up with dmaengine_terminate_sync() on error. Prepare both descriptors before issuing either channel. Fall back to PIO only for host-mode transfers that have a TX buffer, when no DMA has been started and cleanup succeeded. RX-only and target-mode transfers return the error instead, since the bus may already be clocking.

The FIFO is enabled before the DMA attempt, but the PIO path polls per-word TXS/RXS and does not expect FIFO mode. Disable the FIFO, with the channel off while its bits change, before falling back.

Tested on an AM642 board with a TI 6.12.57 vendor kernel built with this patch and booted from RAM. On a McSPI bus using DMA, 200 iterations of 4096-byte TX and 1024-byte RX spidev transfers completed with no errors, timeouts or kernel warnings. With a temporary change that fails every DMA-sized TX setup, 60 spidev writes fell back to PIO with no errors or timeouts. That test used a bus with no device attached and did not show a difference with and without the FIFO disable, which is based on reading the code.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-1393617.8In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Add refcount for races between drain and unlink We added a CVE-2026-139362In the Linux kernel, the following vulnerability has been resolved: irqchip/mips-gic: Fix recursive acquisition of gic_lock in gic_set_affiCVE-2026-139363In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3: Don't register a redistributor that was never counted CVE-2026-139364In the Linux kernel, the following vulnerability has been resolved: irqchip/mst-intc: Validate the DT interrupt range The driver takes an CVE-2026-1393657.0In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3-its: Clear vpt_page after freeing the pending table itsCVE-2026-139366In the Linux kernel, the following vulnerability has been resolved: IB/IPoIB: Cancel normal flush work on device stop ipoib_ib_dev_flush_nCVE-2026-139367In the Linux kernel, the following vulnerability has been resolved: net: axienet: free outstanding TX buffers in axienet_dma_bd_release() CVE-2026-139368In the Linux kernel, the following vulnerability has been resolved: scsi: libsas: Fix out-of-bounds memcpy() in sas_ssp_task_response() ThCVE-2026-139369In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: use skb_share_check() in the loopback selftest hook The looCVE-2026-139376.5Insufficient policy enforcement in Passwords in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the rendeCVE-2026-139370In the Linux kernel, the following vulnerability has been resolved: net: selftests: use skb_share_check() in the loopback receive hook TheCVE-2026-139371In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MSFT: Serialize handle map cleanup with event processing MS
CVE-2026-139360: Unscored | Vulnix