ASoC: mediatek: mt8192: Release reserved memory on cleanup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
c2ab521120eb83103bc5927bb7b7aa84043f495f| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: mediatek: mt8192: Release reserved memory on cleanup
The MT8192 AFE probe calls of_reserved_mem_device_init() and falls back to preallocated buffers when no reserved memory region is available. When the reserved memory assignment succeeds, however, the driver never releases it.
Register a devm cleanup action after a successful reserved-memory assignment so the assignment is released on probe failure and driver unbind.
From the CVE record · Linux
The Linux kernel’s MT8192 AFE driver does not release reserved memory after a successful assignment when probing fails or the driver is unbound. The input does not describe an attacker action, access requirements, or user interaction.
Engineers running Linux kernels with the MT8192 AFE driver should check whether their kernel includes this fix; affected versions are not specified.