misc: fastrpc: fix DMA address corruption due to find_vma misuse
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e69e306a4cccb40a73511350cb280825a556ce3c, Kernel 5.2, Kernel 2d0f47e27c1fa718b29c69aa7c96a2c5161bc2c2 and 13 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=80f3afd72bd4149c57daf852905476b43bb47647 <e69e306a4cccb40a73511350cb280825a556ce3c, >=5.1.6 <5.2, >=80f3afd72bd4149c57daf852905476b43bb47647 <2d0f47e27c1fa718b29c69aa7c96a2c5161bc2c2, >=80f3afd72bd4149c57daf852905476b43bb47647 <464c6ad2aa16e1e1df9d559289199356493d1e00, >=80f3afd72bd4149c57daf852905476b43bb47647 <53e06f8a3c2b085c31bf1284e2ebcb8036e99625, >=80f3afd72bd4149c57daf852905476b43bb47647 <708c17b52c60fe7a57e73b495bdee50f58feb48c, >=80f3afd72bd4149c57daf852905476b43bb47647 <7ba7b30ddb04646d4d638f4d8c4718a304bbbddd, >=80f3afd72bd4149c57daf852905476b43bb47647 <d3e26df2e8eb361e6bef096b2fd565476a1f14c4, >=80f3afd72bd4149c57daf852905476b43bb47647 <d43afc412d439ffca1567e7ca8652be22f272b3b, =5.2, =954edc466128479872731d06f026d0e71840d153 | e69e306a4cccb40a73511350cb280825a556ce3c, 5.2, 2d0f47e27c1fa718b29c69aa7c96a2c5161bc2c2, 464c6ad2aa16e1e1df9d559289199356493d1e00, 53e06f8a3c2b085c31bf1284e2ebcb8036e99625, 708c17b52c60fe7a57e73b495bdee50f58feb48c, 7ba7b30ddb04646d4d638f4d8c4718a304bbbddd, d3e26df2e8eb361e6bef096b2fd565476a1f14c4, d43afc412d439ffca1567e7ca8652be22f272b3b |
| linux-kernel: Kernel | >=5.11.0 <5.15.210, >=5.16.0 <6.1.176, >=5.2.0 <5.10.260, >=6.13.0 <6.18.36, >=6.19.0 <7.0.13, >=6.2.0 <6.6.143, >=6.7.0 <6.12.94, >=5.1.6 <5.2 | 5.15.210, 6.1.176, 5.10.260, 6.18.36, 7.0.13, 6.6.143, 6.12.94, 5.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket