CVE-2026-138917: media: rockchip: rga: quiesce IRQ before releasing m2m state
In the Linux kernel, the following vulnerability has been resolved:
media: rockchip: rga: quiesce IRQ before releasing m2m state
rgaremove() releases the m2m state before the IRQ is freed. The IRQ is devm-managed and is only released once rgaremove() returns, so rgaisr() can still run while the m2m device state is being torn down.
Store the IRQ number in struct rockchiprga, unregister the video device first, and free the IRQ before releasing the m2m state so the handler cannot run against the freed state.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In rga_remove(), unregister the video device and free the stored IRQ before releasing the m2m state, so the IRQ handler cannot run against freed state.