AZL-114926: CVE-2026-99466 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
media: microchip-csi2dc: fix async notifier leak on probe error path
csi2dcofparse() ends up calling csi2dcpreparenotifier(), which registers the V4L2 async notifier with v4l2asyncnfregister(). The probe error label csi2dcprobecleanupnotifier is reached after csi2dcofparse() has already succeeded (e.g. when media entity init, csi2dcpower() or v4l2asyncregistersubdev() fail), but it calls only v4l2asyncnfcleanup() and never v4l2asyncnfunregister().
The notifier therefore stays chained in the global notifierlist while the enclosing struct csi2dcdevice is freed, leading to list corruption and a use-after-free when the list is next walked.
Unregister the notifier before cleaning it up on the error path, matching the teardown already done in csi2dcremove().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
On the probe error path, call v4l2_async_nf_unregister() before v4l2_async_nf_cleanup() to unregister the notifier before cleaning it up.