Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 80f3afd72bd4149c57daf852905476b43bb47647 before d43afc412d439ffca1567e7ca8652be22f272b3b; affected 80f3afd72bd4149c57daf852905476b43bb47647 before 2d0f47e27c1fa718b29c69aa7c96a2c5161bc2c2; affected 80f3afd72bd4149c57daf852905476b43bb47647 before 708c17b52c60fe7a57e73b495bdee50f58feb48c; affected 80f3afd72bd4149c57daf852905476b43bb47647 before d3e26df2e8eb361e6bef096b2fd565476a1f14c4; affected 80f3afd72bd4149c57daf852905476b43bb47647 before e69e306a4cccb40a73511350cb280825a556ce3c; affected 80f3afd72bd4149c57daf852905476b43bb47647 before 53e06f8a3c2b085c31bf1284e2ebcb8036e99625; affected 80f3afd72bd4149c57daf852905476b43bb47647 before 7ba7b30ddb04646d4d638f4d8c4718a304bbbddd; affected 80f3afd72bd4149c57daf852905476b43bb47647 before 464c6ad2aa16e1e1df9d559289199356493d1e00; affected 954edc466128479872731d06f026d0e71840d153; affected 5.1.6 before 5.2 |
| Linux / Linux | affected 5.2; unaffected 0 before 5.2; unaffected 5.10.260 through 5.10.*; unaffected 5.15.210 through 5.15.*; unaffected 6.1.176 through 6.1.*; unaffected 6.6.143 through 6.6.*; unaffected 6.12.94 through 6.12.*; unaffected 6.18.36 through 6.18.*; unaffected 7.0.13 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d43afc412d439ffca1567e7ca8652be22f272b3b
- https://git.kernel.org/stable/c/2d0f47e27c1fa718b29c69aa7c96a2c5161bc2c2
- https://git.kernel.org/stable/c/708c17b52c60fe7a57e73b495bdee50f58feb48c
- https://git.kernel.org/stable/c/d3e26df2e8eb361e6bef096b2fd565476a1f14c4
- https://git.kernel.org/stable/c/e69e306a4cccb40a73511350cb280825a556ce3c
- https://git.kernel.org/stable/c/53e06f8a3c2b085c31bf1284e2ebcb8036e99625
- https://git.kernel.org/stable/c/7ba7b30ddb04646d4d638f4d8c4718a304bbbddd
- https://git.kernel.org/stable/c/464c6ad2aa16e1e1df9d559289199356493d1e00