ASoC: Intel: avs: Disable periods-elapsed work when closing PCM
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.12
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: Intel: avs: Disable periods-elapsed work when closing PCM
avs_dai_fe_shutdown() handles the shutdown procedure for HOST HDAudio stream while period-elapsed work services its IRQs. As the former frees the DAI's private context, these two operations shall be synchronized to avoid slab-use-after-free or worse errors.
From the CVE record · Linux
The Linux kernel’s Intel avs audio driver can free a DAI’s private context during PCM shutdown while period-elapsed work is still servicing interrupts. This can cause a slab use-after-free or worse errors; the input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with the Intel avs audio driver should check their versions; affected versions are not specified.