7.8high
misc: fastrpc: Remove buffer from list prior to unmap operation
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2419e55e532de14fdf336e09e453aa2831c73a25 before 1edb654b2b41baee2ab5cf418baaf6e57dfbd802, from 2419e55e532de14fdf336e09e453aa2831c73a25 before 4716c23c206a2f99ca54ebfdd8b5ba9dd0102240, from 2419e55e532de14fdf336e09e453aa2831c73a25 before 99f8de36c84cb9b872157aa6c3578c2480cee4b8, from 2419e55e532de14fdf336e09e453aa2831c73a25 before 97273624f7b356eaf8261609a75cfcb8738a165a, from 2419e55e532de14fdf336e09e453aa2831c73a25 before fe70329055977fc1e8dc6291318d0dd75470795a, from 2419e55e532de14fdf336e09e453aa2831c73a25 before 9bf22a7d950cec2d1efeca7f16bb20fcca84c36a, from 2419e55e532de14fdf336e09e453aa2831c73a25 before 0beaa9bd7eb10d9b5e6352ed5161f3f3bbd4c3c5, from 2419e55e532de14fdf336e09e453aa2831c73a25 before 6102ceb4eab845743ee57acd3863fbd06e93c927 and 1 more Not affected: before 5.5, from 5.10.267 up to 5.10.*, from 5.15.218 up to 5.15.*, from 6.1.185 up to 6.1.*, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.* | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: misc: fastrpc: Eliminar búfer de la lista antes de la operación de desmapeo fastrpc_req_munmap_impl() es llamada para desmapear cualquier búfer. El búfer está siendo eliminado de la lista después de que es desmapeado del DSP. Esto puede crear condiciones de carrera potenciales si múltiples hilos invocan el desmapeo concurrentemente, donde un hilo puede eliminar la entrada de la lista mientras la operación de desmapeo de otro hilo aún está en curso. Solucionar esto al eliminar la entrada del búfer de la lista antes de llamar a la operación de desmapeo. Si el desmapeo falla, la entrada es reañadida a la lista para que el espacio de usuario pueda reintentar el desmapeo, o alternativamente, el búfer será limpiado durante la liberación del dispositivo cuando el proceso DSP sea terminado y todas las asignaciones del lado del DSP sean liberadas junto con los búferes restantes en la lista.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74647 changed 2026-08-27 | CVE Terms of Use |
| NVD | CVE-2026-74647 changed 2026-10-14 | Public domain |