misc: fastrpc: Remove buffer from list prior to unmap operation
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fe70329055977fc1e8dc6291318d0dd75470795a, Kernel 0beaa9bd7eb10d9b5e6352ed5161f3f3bbd4c3c5, Kernel 1edb654b2b41baee2ab5cf418baaf6e57dfbd802 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Remove buffer from list prior to unmap operation fastrpc_req_munmap_impl() is called to unmap any buffer. The buffer is getting removed from the list after it is unmapped from DSP. This can create potential race conditions if multiple threads invoke unmap concurrently, where one thread may remove the entry from the list while another thread's unmap operation is still ongoing. Fix this by removing the buffer entry from the list before calling the unmap operation. If the unmap fails, the entry is re-added to the list so that userspace can retry the unmap, or alternatively, the buffer will be cleaned up during device release when the DSP process is torn down and all DSP-side mappings are freed along with remaining buffers in the list.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2419e55e532de14fdf336e09e453aa2831c73a25 <fe70329055977fc1e8dc6291318d0dd75470795a, >=2419e55e532de14fdf336e09e453aa2831c73a25 <0beaa9bd7eb10d9b5e6352ed5161f3f3bbd4c3c5, >=2419e55e532de14fdf336e09e453aa2831c73a25 <1edb654b2b41baee2ab5cf418baaf6e57dfbd802, >=2419e55e532de14fdf336e09e453aa2831c73a25 <4716c23c206a2f99ca54ebfdd8b5ba9dd0102240, >=2419e55e532de14fdf336e09e453aa2831c73a25 <6102ceb4eab845743ee57acd3863fbd06e93c927, >=2419e55e532de14fdf336e09e453aa2831c73a25 <97273624f7b356eaf8261609a75cfcb8738a165a, >=2419e55e532de14fdf336e09e453aa2831c73a25 <99f8de36c84cb9b872157aa6c3578c2480cee4b8, >=2419e55e532de14fdf336e09e453aa2831c73a25 <9bf22a7d950cec2d1efeca7f16bb20fcca84c36a, =5.5 | fe70329055977fc1e8dc6291318d0dd75470795a, 0beaa9bd7eb10d9b5e6352ed5161f3f3bbd4c3c5, 1edb654b2b41baee2ab5cf418baaf6e57dfbd802, 4716c23c206a2f99ca54ebfdd8b5ba9dd0102240, 6102ceb4eab845743ee57acd3863fbd06e93c927, 97273624f7b356eaf8261609a75cfcb8738a165a, 99f8de36c84cb9b872157aa6c3578c2480cee4b8, 9bf22a7d950cec2d1efeca7f16bb20fcca84c36a |
| linux-kernel: Kernel | >=5.16.0 <6.1.185, >=5.5.0 <5.10.267, >=6.13.0 <6.18.45, >=6.19.0 <7.1.9, >=6.2.0 <6.6.152, >=6.7.0 <6.12.104, >=5.11.0 <5.15.218 | 6.1.185, 5.10.267, 6.18.45, 7.1.9, 6.6.152, 6.12.104, 5.15.218 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket