media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 53dbe08504442dc7ba4865c09b3bbf5fe849681b · < d6cb086aa52bd51378a4c9e2b25d2def97770205| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
On Mediatek devices with a system companion processor (SCP) the mtk_scp structure has to be removed explicitly to avoid a resource leak. Free the structure in case the allocation of the firmware structure fails during the firmware initialization.
From the CVE record · Linux
The Linux kernel’s Mediatek video codec driver can leak an SCP-related resource if firmware structure allocation fails during initialization on a device with a system companion processor. The input does not establish whether an attacker can trigger this failure or specify any network, authentication, or user-interaction conditions.
Engineers running Linux on Mediatek devices with a system companion processor should check their kernel; affected versions are not specified.