media: amd: isp4: release partial allocations in isp4if_alloc_fw_gpumem()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a1f8750668e552837df781783909f2f680958006 and Kernel fea97ee13c5332f67850733d6cefc1fe99460bde.
In the Linux kernel, the following vulnerability has been resolved: media: amd: isp4: release partial allocations in isp4if_alloc_fw_gpumem() isp4if_alloc_fw_gpumem() allocates several GPU memory pools in sequence. If one of them fails, it jumps to error_no_memory and returns -ENOMEM without releasing the pools that were already allocated, leaking them. Release the already-allocated pools before returning. isp4if_gpu_mem_free() is a no-op on pools that were not allocated, so calling isp4if_dealloc_fw_gpumem() here safely frees exactly the pools that succeeded. isp4if_gpu_mem_free() previously logged an error for a NULL entry, which is a normal case during partial-allocation cleanup, so make it silent.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.2, >=4c5feef6a62c22b578344891232872056415a3dd <a1f8750668e552837df781783909f2f680958006, >=4c5feef6a62c22b578344891232872056415a3dd <fea97ee13c5332f67850733d6cefc1fe99460bde | a1f8750668e552837df781783909f2f680958006, fea97ee13c5332f67850733d6cefc1fe99460bde |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket