CVE-2026-138906: media: verisilicon: rockchip: Fix leaks in init
In the Linux kernel, the following vulnerability has been resolved:
media: verisilicon: rockchip: Fix leaks in init
If one of the dmaalloccoherent in the init function fails then the previously allocated ones leak.
Fix by freeing them in the error path.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the init function’s error path, free previously allocated DMA buffers if a dma_alloc_coherent call fails.