CVE-2022-49391Published Feb 26, 2025 · Feb 26Updated Oct 28
remoteproc: mtk_scp: Fix a potential double free
Linux
High7.8Fix available
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
remoteproc: mtk_scp: Fix a potential double free
'scp->rproc' is allocated using devm_rproc_alloc(), so there is no need to free it explicitly in the remove function.
From the CVE record · Linux
The Linux kernel’s mtk_scp remoteproc remove function could free an object that is also managed by devm_rproc_alloc(), creating a potential double free. The input does not specify an attacker capability or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the mtk_scp remoteproc driver should check their versions; affected versions are not specified.