CVE-2026-138912: media: amphion: prevent unbind while video instances are open
In the Linux kernel, the following vulnerability has been resolved:
media: amphion: prevent unbind while video instances are open
An open video instance holds a plain pointer to its devm-allocated core. Unbinding the core or its parent through sysfs can release that memory while the instance remains open. A later ioctl or close then uses the stale pointer.
The video file operations pin the module, but sysfs unbind bypasses that protection. Suppress manual bind and unbind for both platform drivers, and warn if core removal ever encounters a live instance.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Prevent manual sysfs bind and unbind operations for both Amphion platform drivers, particularly while video instances are open.