Multiple Dmabuf Kernel Address UAF Vulnerability
Qualcomm, Inc. Snapdragon
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Qualcomm, Inc. Snapdragon Snapdragon Compute, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Wearables |
| No fix yet |
Original description
In the function call related to CAM_REQ_MGR_RELEASE_BUF there is no check if the buffer is being used. So when a function called cam_mem_get_cpu_buf to get the kernel va to use, another thread can call CAM_REQ_MGR_RELEASE_BUF to unmap the kernel va which cause UAF of the kernel address.