CVE-2026-99508: media: ipu-bridge: Fix use-after-free in IVSC error path
In the Linux kernel, the following vulnerability has been resolved:
media: ipu-bridge: Fix use-after-free in IVSC error path
ipubridgegetivscacpidev() returns an ACPI device with a reference held. If no matching CSI device is found, ipubridgecheckivscdev() drops that reference before passing the device to deverr(). Concurrent CSI device and ACPI namespace removal can drop the other references, making this the final put. deverr() then reads the freed struct acpidevice and its kobject name.
This was reproduced without kprobes by racing normal CSI platform-device unregistration and ACPI configfs table removal against the production ipubridgeinit() entry. KASAN reported the final free through devicerelease(), followed by invalid reads through deverr().
Emit the error message while the lookup reference is still held, then drop the reference as before.
Source reproducers and vulnerable/fixed serial logs, with only the build hostname redacted, are available at: https://github.com/kimaiden1984-boop/linux-ipu-bridge-acpi-uaf-reproducer
The fixed target builds with W=1 on x86-64. This was not tested on physical IPU hardware. The tests establish runtime reachability but do not measure occurrence frequency on shipping systems or establish exploitability.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2 - Compensating control
In the media: ipu-bridge IVSC error path, emit the error message with dev_err() while the lookup reference is still held, then drop the reference.