media: chips-media: wave5: Release m2m_ctx after Instance Removed from 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.12.1146.18.537.2In the Linux kernel, the following vulnerability has been resolved:
media: chips-media: wave5: Release m2m_ctx after Instance Removed from List
Possible use after free if IRQ thread manages to obtain spinlock between m2m_ctx release and wave5_release function removing stream instance from list of active instances. The IRQ thread looks for the m2m_ctx which is freed so null pointer dereference occurs.
From the CVE record · Linux
The Linux kernel’s wave5 media driver can release m2m_ctx before removing its stream instance from the active list. If an IRQ thread acquires the spinlock during that interval, it may access the freed context, causing a null pointer dereference. The input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with the wave5 media driver should check their installations; affected versions are not specified.