HIGH Introduced in 6.17
ipu7 Notifier UAF
CVE-2026-89522
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
KernelScan AI7.8HIGH
01Description
In the Linux kernel, the following vulnerability has been resolved: media: staging/ipu7: fix async notifier UAF on probe error path isys_register_devices() registers the V4L2 async notifier via isys_notifier_init(). If a subsequent probe step such as isys_fw_log_init() fails, isys_probe() jumps to the out_cleanup label which only calls isys_unregister_devices(). That helper tears down the video devices, subdevices, V4L2 device and media device, but never unregisters or cleans up the async notifier. As a result the notifier stays chained in the global notifier_list while the enclosing struct ipu7_isys is freed by devres, leading to list corruption and a use-after-free the next time the list is walked. The remove path already does the right thing by calling isys_notifier_cleanup() before isys_unregister_devices(). Mirror that on the probe error path so the notifier is unregistered and cleaned up before the device is torn down.
02KernelScan AI Analysis
Risk summary
A use-after-free in the Intel IPU7 image processing system driver occurs when a device probe fails after V4L2 async notifier registration, leaving the notifier chained in a global list after its parent structure is freed. Systems with Intel IPU7 hardware are at risk of kernel memory corruption or crashes when the global notifier list is subsequently traversed.
Vulnerability analysis
When the Intel IPU7 input system driver probes its hardware, it registers a V4L2 async notifier early in the initialization sequence. If a later probe step fails, the error cleanup path tears down the video and media devices but never unregisters the notifier, leaving it chained in a global kernel list. The enclosing device structure is then freed automatically, so the next time the list is walked the kernel dereferences stale memory, causing list corruption and a use-after-free. The fix adds the missing notifier cleanup call to the probe error path so the notifier is unregistered before the device structure is torn down, matching the existing remove path. This issue is reachable only on systems with Intel IPU7 hardware and requires a probe failure to occur after notifier registration.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.18 | 6.17 | 6.18.50 | 2a8dd9fd12f3 |
| 7.2 | 6.17 | 7.2.4 | 323c411fb631 |
| mainline | 6.17 | 7.3-rc1 | d7f48aa7d60c |