CVE-2026-89874: media: v4l2-async: avoid deleting unlinked ASC entry on link error

Published Sep 16, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

media: v4l2-async: avoid deleting unlinked ASC entry on link error

v4l2asyncmatchnotify() creates ancillary media links before adding asc->ascsubdeventry to sd->asclist.

If ancillary link creation fails, the function jumps to errcallunbind while ascsubdeventry has not been linked yet. Async connections are zero-allocated, so the list entry still has NULL next and prev pointers on this path. Calling listdel() on it can therefore dereference NULL instead of returning the original link creation error.

Do not delete ascsubdeventry from errcallunbind. There is no list insertion to undo on this path; the bound callback and sub-device registration are the operations that need to be rolled back.

Event History

Sep 16, 2026
CVE Published
via MITRE·10:31 AM
Data Sourced
via MITRE·10:31 AM
Description

Frequently Asked Questions

1

What condition is required to reach the vulnerable path?

Ancillary media-link creation must fail during v4l2_async_match_notify() before asc->asc_subdev_entry has been added to the sub-device's asc_list. The subsequent error handling then attempts to delete the unlinked list entry.

2

What is the practical effect of this failure?

Because the async connection is zero-allocated, the unlinked list entry has NULL next and previous pointers. Calling list_del() on it can dereference NULL rather than returning the original ancillary link-creation error.

3

Is the normal successful registration path involved?

No. The issue is specific to the error path taken when ancillary media-link creation fails before list insertion occurs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203