Description
In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: fix DMA address corruption due to find_vma misuse fastrpc_get_args() uses find_vma() to look up the VMA for a user-provided pointer and compute a DMA address offset. When the address falls in a gap before the returned VMA, (ptr & PAGE_MASK) - vma->vm_start underflows, corrupting the DMA address sent to the DSP. Replace find_vma() with vma_lookup(), which returns NULL when the address is not contained within any VMA.
Affected products
- Linux / Linux80f3afd72bd4149c57daf852905476b43bb47647 – 2d0f47e27c1fa718b29c69aa7c96a2c5161bc2c2
- Linux / Linux80f3afd72bd4149c57daf852905476b43bb47647 – 708c17b52c60fe7a57e73b495bdee50f58feb48c
- Linux / Linux80f3afd72bd4149c57daf852905476b43bb47647 – d3e26df2e8eb361e6bef096b2fd565476a1f14c4
- Linux / Linux80f3afd72bd4149c57daf852905476b43bb47647 – e69e306a4cccb40a73511350cb280825a556ce3c
- Linux / Linux80f3afd72bd4149c57daf852905476b43bb47647 – 53e06f8a3c2b085c31bf1284e2ebcb8036e99625
- Linux / Linux80f3afd72bd4149c57daf852905476b43bb47647 – 7ba7b30ddb04646d4d638f4d8c4718a304bbbddd
- Linux / Linux80f3afd72bd4149c57daf852905476b43bb47647 – 464c6ad2aa16e1e1df9d559289199356493d1e00
- Linux / Linux954edc466128479872731d06f026d0e71840d153 – 954edc466128479872731d06f026d0e71840d153
- Linux / Linux5.1.6 – 5.2
- Linux / Linux5.2 – 5.2
- Linux / Linux0 – 5.2
- Linux / Linux5.15.210 – 5.15.*
- Linux / Linux6.1.176 – 6.1.*
- Linux / Linux6.6.143 – 6.6.*
- Linux / Linux6.12.94 – 6.12.*
- Linux / Linux6.18.36 – 6.18.*
- Linux / Linux7.0.13 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/2d0f47e27c1fa718b29c69aa7c96a2c5161bc2c2
- MISChttps://git.kernel.org/stable/c/708c17b52c60fe7a57e73b495bdee50f58feb48c
- MISChttps://git.kernel.org/stable/c/d3e26df2e8eb361e6bef096b2fd565476a1f14c4
- MISChttps://git.kernel.org/stable/c/e69e306a4cccb40a73511350cb280825a556ce3c
- MISChttps://git.kernel.org/stable/c/53e06f8a3c2b085c31bf1284e2ebcb8036e99625
- MISChttps://git.kernel.org/stable/c/7ba7b30ddb04646d4d638f4d8c4718a304bbbddd
- MISChttps://git.kernel.org/stable/c/464c6ad2aa16e1e1df9d559289199356493d1e00