{"id":"AZL-117091","summary":"CVE-2026-139360 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: omap2-mcspi: handle DMA setup failures\n\nThe DMA paths ignore failures from dmaengine_slave_config(), descriptor\npreparation and dmaengine_submit(), and carry FIXME comments about\nfalling back to PIO. A failed setup can leave a half-started transfer\nor wait for a completion that never arrives.\n\nCheck each step and clean up with dmaengine_terminate_sync() on error.\nPrepare both descriptors before issuing either channel. Fall back to\nPIO only for host-mode transfers that have a TX buffer, when no DMA has\nbeen started and cleanup succeeded. RX-only and target-mode transfers\nreturn the error instead, since the bus may already be clocking.\n\nThe FIFO is enabled before the DMA attempt, but the PIO path polls\nper-word TXS/RXS and does not expect FIFO mode. Disable the FIFO, with\nthe channel off while its bits change, before falling back.\n\nTested on an AM642 board with a TI 6.12.57 vendor kernel built with\nthis patch and booted from RAM. On a McSPI bus using DMA, 200\niterations of 4096-byte TX and 1024-byte RX spidev transfers completed\nwith no errors, timeouts or kernel warnings. With a temporary change\nthat fails every DMA-sized TX setup, 60 spidev writes fell back to PIO\nwith no errors or timeouts. That test used a bus with no device\nattached and did not show a difference with and without the FIFO\ndisable, which is based on reading the code.","modified":"2026-12-01T14:17:41.570697570Z","published":"2026-11-30T14:19:02Z","upstream":["CVE-2026-139360"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139360"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117091.json"}}],"schema_version":"1.9.2"}