media: mediatek: vcodec: adding lock to protect encoder context list
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.276.8.66.9In the Linux kernel, the following vulnerability has been resolved:
media: mediatek: vcodec: adding lock to protect encoder context list
Add a lock for the ctx_list, to avoid accessing a NULL pointer within the 'vpu_enc_ipi_handler' function when the ctx_list has been deleted due to an unexpected behavior on the SCP IP block.
From the CVE record · Linux
The Linux kernel’s MediaTek video codec encoder can access a NULL pointer in vpu_enc_ipi_handler if unexpected SCP IP block behavior causes the encoder context list to be deleted. The input does not specify an attacker action, access requirements, or user interaction.
Engineers running the Linux kernel with the MediaTek video codec encoder should check their installations; affected versions were not provided.