dmaengine: dw-edma: Initialize IRQ data before requesting IRQs
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.51, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: dmaengine: dw-edma: Initialize IRQ data before requesting IRQs dw_edma_irq_request() passes struct dw_edma_irq to request_irq() before dw_edma_channel_setup() fills the back pointer. A shared interrupt can therefore enter the handler with dw_irq->dw still NULL, leading to a NULL pointer dereference. Set the back pointer before installing each handler.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf · fixed in b86280b12ccf33b68b309b7cb0e4476894dfe77c; From e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf · fixed in 07e50cef557def076418c67051a336e4c6bd50e1; From e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf · fixed in 17ef63843c0fcbf1efdfbbfb0f5584a5ea2c91ba; From e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf · fixed in d232bc6cf4562132ef50644484dfd4b23a593295; From e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf · fixed in fac202d73e7a649b7d4010325c6c6dcd9334fe65; From e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf · fixed in d91fb6c0d10dad32929dc5c6850f89df34e1bfcd; From e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf · fixed in 647217abea849d3d45f8cb0b8ee5b78d50f26985
- Linux Linux
5.3
- KernelLinux
From 5.3.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5
References 7
git.kernel.org
- stable/c/b86280b12ccf33b68b309b7cb0e4476894dfe77c
- stable/c/07e50cef557def076418c67051a336e4c6bd50e1
- stable/c/17ef63843c0fcbf1efdfbbfb0f5584a5ea2c91ba
- stable/c/d232bc6cf4562132ef50644484dfd4b23a593295
- stable/c/fac202d73e7a649b7d4010325c6c6dcd9334fe65
- stable/c/d91fb6c0d10dad32929dc5c6850f89df34e1bfcd
- stable/c/647217abea849d3d45f8cb0b8ee5b78d50f26985