Linux
mtd: rawnand: lpc32xx_slc: fail DMA transfer on completion timeout
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: lpc32xx_slc: fail DMA transfer on completion timeout lpc32xx_xmit_dma() waits for the DMA completion callback but ignores wait_for_completion_timeout(). A timed out DMA transfer is therefore unmapped and reported as successful to the NAND read/write path. Return -ETIMEDOUT when the completion wait expires. Terminate the DMA channel before unmapping the scatterlist so the timed out transfer cannot continue to access the buffer after the error is returned.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2944a44da09e46b6db2fd2c3334f242b09e05c43, < 307e4f4c1d4e1575b3495ecc6e41aa2adc40f491
- >= 2944a44da09e46b6db2fd2c3334f242b09e05c43, < c367af37ce7238c96c6071337149099467160746
- >= 2944a44da09e46b6db2fd2c3334f242b09e05c43, < 623c4d8e740debb4af28981e3d4e209f9d0260a4
- >= 2944a44da09e46b6db2fd2c3334f242b09e05c43, < bd4a622786f92e1f183f7557ab89dd32891cef60
- >= 2944a44da09e46b6db2fd2c3334f242b09e05c43, < 8f5c3ee53a5dc1a0f7cfd780485f2c8b5d17f91d
- >= 2944a44da09e46b6db2fd2c3334f242b09e05c43, < cf7258f57d18026b8f77c0e80ff1805e9caf7250
- >= 2944a44da09e46b6db2fd2c3334f242b09e05c43, < cb2031f8b226efbd13735c07b075e5f14ec11f6d
- >= 2944a44da09e46b6db2fd2c3334f242b09e05c43, < 17a8ce84964f243c8f89dc7353ac7e8d3137bc74
Fixed in 307e4f4c1d4e1575b3495ecc6e41aa2adc40f491, c367af37ce7238c96c6071337149099467160746, 623c4d8e740debb4af28981e3d4e209f9d0260a4, bd4a622786f92e1f183f7557ab89dd32891cef60, 8f5c3ee53a5dc1a0f7cfd780485f2c8b5d17f91d, cf7258f57d18026b8f77c0e80ff1805e9caf7250, cb2031f8b226efbd13735c07b075e5f14ec11f6d, 17a8ce84964f243c8f89dc7353ac7e8d3137bc74
- 3.7
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 307e4f4c1d4e1575b3495ecc6e41aa2adc40f491 or c367af37ce7238c96c6071337149099467160746 or 623c4d8e740debb4af28981e3d4e209f9d0260a4 or bd4a622786f92e1f183f7557ab89dd32891cef60 or 8f5c3ee53a5dc1a0f7cfd780485f2c8b5d17f91d or cf7258f57d18026b8f77c0e80ff1805e9caf7250 or cb2031f8b226efbd13735c07b075e5f14ec11f6d or 17a8ce84964f243c8f89dc7353ac7e8d3137bc74 or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.