CVE-2026-138929: media: mali-c55: Check the parameters buffer address before copying
In the Linux kernel, the following vulnerability has been resolved:
media: mali-c55: Check the parameters buffer address before copying
malic55paramsbufprepare() copies the parameters buffer supplied by userspace into the driver's scratch buffer, using the result of vb2planevaddr() as the source without checking it. The queue accepts VB2DMABUF, and vb2dcvaddr() returns NULL for an exporter that cannot be vmapped, so the memcpy() dereferences NULL.
Reject the buffer at prepare time instead.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
At prepare time, reject the parameters buffer if vb2_plane_vaddr() returns NULL before copying it into the driver's scratch buffer.