CVE-2026-138930: media: mali-c55: Free the ISP control handler on unregister
In the Linux kernel, the following vulnerability has been resolved:
media: mali-c55: Free the ISP control handler on unregister
malic55ispinitcontrols() initialises isp->handler and adds the capabilities control, but malic55unregisterisp() never frees it. Neither v4l2deviceunregistersubdev() nor v4l2subdevcleanup() touches sd->ctrlhandler, so the handler and its control are leaked on every unbind or module removal. The probe error path already frees it, and the TPG subdevice does so in its own unregister function.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Free the ISP control handler in mali_c55_unregister_isp() during unregister to prevent leaks on unbind or module removal.