CVE-2026-89522
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
media: staging/ipu7: fix async notifier UAF op sondefoutpad
isys_register_devices() registreert de V4L2 async notifier via
isys_notifier_init(). Als een volgende sondestap zoals
isys_fw_log_init() mislukt, isys_probe() springt naar het label out_cleanup
die alleen isys_unregister_devices() aanroept. Die helper scheurt de
videoapparaten, subapparaten, V4L2-apparaat en media-apparaat, maar nooit
verwijdert of ruimt de asynchrone kennisgever op. Als gevolg hiervan blijft de kennisgever geketend in de wereldwijde notifier_list terwijl
de omsluitende struct ipu7_isys wordt bevrijd door devres, wat leidt tot lijst
corruptie en een use-after-free de volgende keer dat de lijst wordt gelopen. Het verwijderpad doet al het juiste door te bellen
isys_notifier_cleanup() vóór isys_unregister_devices(). Spiegel dat op
het sondefoutpad, zodat de kennisgever niet geregistreerd en opgeruimd is
voordat het apparaat wordt afgebroken.
Origineel (Engels) tonen
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.