dmaengine: dw-edma: Add spinlock to protect DONE_INT_MASK and ABORT_INT_MASK
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f60c7463d44fbc1585d247d0bd6976f7a1099472, Kernel 1553ca96e9df158d8f37137cf4bf5fb0dc981d94, Kernel 21a9834f56d6249aaa6ca7c2d8c182d66c48c3e1 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7e4b8a4fbe2cecab0959e862604803d063f50029 <f60c7463d44fbc1585d247d0bd6976f7a1099472, >=7e4b8a4fbe2cecab0959e862604803d063f50029 <1553ca96e9df158d8f37137cf4bf5fb0dc981d94, >=7e4b8a4fbe2cecab0959e862604803d063f50029 <21a9834f56d6249aaa6ca7c2d8c182d66c48c3e1, >=7e4b8a4fbe2cecab0959e862604803d063f50029 <2247cc25a91fb1b5b86586ed55fdd5b725a7477c, >=7e4b8a4fbe2cecab0959e862604803d063f50029 <3989b4775bc2cdbdb4ddc4b1d2420a82b40913f2, >=7e4b8a4fbe2cecab0959e862604803d063f50029 <3ee0f478bb29b4ee892b178179a9a76ddd194149, >=7e4b8a4fbe2cecab0959e862604803d063f50029 <8ffba0171c6bbce5f093c6dba5a02c0805b31203, >=7e4b8a4fbe2cecab0959e862604803d063f50029 <ddbc4a8a4fe296f1fa2e59f7d176fc7c773df640, =5.3 | f60c7463d44fbc1585d247d0bd6976f7a1099472, 1553ca96e9df158d8f37137cf4bf5fb0dc981d94, 21a9834f56d6249aaa6ca7c2d8c182d66c48c3e1, 2247cc25a91fb1b5b86586ed55fdd5b725a7477c, 3989b4775bc2cdbdb4ddc4b1d2420a82b40913f2, 3ee0f478bb29b4ee892b178179a9a76ddd194149, 8ffba0171c6bbce5f093c6dba5a02c0805b31203, ddbc4a8a4fe296f1fa2e59f7d176fc7c773df640 |
| linux-kernel: Kernel | >=5.16.0 <6.1.178, >=5.3.0 <5.10.266, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=5.11.0 <5.15.217 | 6.1.178, 5.10.266, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.15.217 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket