Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 7e4b8a4fbe2cecab0959e862604803d063f50029 before 3989b4775bc2cdbdb4ddc4b1d2420a82b40913f2; affected 7e4b8a4fbe2cecab0959e862604803d063f50029 before f60c7463d44fbc1585d247d0bd6976f7a1099472; affected 7e4b8a4fbe2cecab0959e862604803d063f50029 before 2247cc25a91fb1b5b86586ed55fdd5b725a7477c; affected 7e4b8a4fbe2cecab0959e862604803d063f50029 before 3ee0f478bb29b4ee892b178179a9a76ddd194149; affected 7e4b8a4fbe2cecab0959e862604803d063f50029 before 21a9834f56d6249aaa6ca7c2d8c182d66c48c3e1; affected 7e4b8a4fbe2cecab0959e862604803d063f50029 before ddbc4a8a4fe296f1fa2e59f7d176fc7c773df640; affected 7e4b8a4fbe2cecab0959e862604803d063f50029 before 1553ca96e9df158d8f37137cf4bf5fb0dc981d94; affected 7e4b8a4fbe2cecab0959e862604803d063f50029 before 8ffba0171c6bbce5f093c6dba5a02c0805b31203 |
| Linux / Linux | affected 5.3; unaffected 0 before 5.3; unaffected 5.10.266 through 5.10.*; unaffected 5.15.217 through 5.15.*; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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