Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: dw-edma: Add spinlock to protect DONE_INT_MASK and ABORT_INT_MASK The DONE_INT_MASK and ABORT_INT_MASK registers are shared by all DMA channels, and modifying them requires a read-modify-write sequence. Because this operation is not atomic, concurrent calls to dw_edma_v0_core_start() can introduce race conditions if two channels update these registers simultaneously. Add a spinlock to serialize access to these registers and prevent race conditions. [den: update dw_edma.lock comment]
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7e4b8a4fbe2cecab0959e862604803d063f50029 to < 3989b4775bc2cdbdb4ddc4b1d2420a82b40913f2affected7e4b8a4fbe2cecab0959e862604803d063f50029 to < f60c7463d44fbc1585d247d0bd6976f7a1099472affected7e4b8a4fbe2cecab0959e862604803d063f50029 to < 2247cc25a91fb1b5b86586ed55fdd5b725a7477caffected7e4b8a4fbe2cecab0959e862604803d063f50029 to < 3ee0f478bb29b4ee892b178179a9a76ddd194149affected7e4b8a4fbe2cecab0959e862604803d063f50029 to < 21a9834f56d6249aaa6ca7c2d8c182d66c48c3e1affected7e4b8a4fbe2cecab0959e862604803d063f50029 to < ddbc4a8a4fe296f1fa2e59f7d176fc7c773df640affected7e4b8a4fbe2cecab0959e862604803d063f50029 to < 1553ca96e9df158d8f37137cf4bf5fb0dc981d94affected7e4b8a4fbe2cecab0959e862604803d063f50029 to < 8ffba0171c6bbce5f093c6dba5a02c0805b31203affected
Linux Linux
Default version status: affected
5.3affected0 to < 5.3unaffected5.10.266 to ≤ 5.10.*unaffected5.15.217 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3989b4775bc2cdbdb4ddc4b1d2420a82b40913f2 ↗
- https://git.kernel.org/stable/c/f60c7463d44fbc1585d247d0bd6976f7a1099472 ↗
- https://git.kernel.org/stable/c/2247cc25a91fb1b5b86586ed55fdd5b725a7477c ↗
- https://git.kernel.org/stable/c/3ee0f478bb29b4ee892b178179a9a76ddd194149 ↗
- https://git.kernel.org/stable/c/21a9834f56d6249aaa6ca7c2d8c182d66c48c3e1 ↗
- https://git.kernel.org/stable/c/ddbc4a8a4fe296f1fa2e59f7d176fc7c773df640 ↗
- https://git.kernel.org/stable/c/1553ca96e9df158d8f37137cf4bf5fb0dc981d94 ↗
- https://git.kernel.org/stable/c/8ffba0171c6bbce5f093c6dba5a02c0805b31203 ↗