CVE-2026-89874
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
media: v4l2-async: avoid deleting unlinked ASC entry on link error
v4l2_async_match_notify() creates ancillary media links before adding asc->asc_subdev_entry to sd->asc_list.
If ancillary link creation fails, the function jumps to err_call_unbind while asc_subdev_entry 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 list_del() on it can therefore dereference NULL instead of returning the original link creation error.
Do not delete asc_subdev_entry from err_call_unbind. 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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 28a1295795d85a25f2e7dd391c43969e95fcb341 < d273571e531405426983c6a45ec635c7d0415eed | affected |
| Linux | Linux | 28a1295795d85a25f2e7dd391c43969e95fcb341 < caac13f518d83974e9884d1eeda3d4cc3bb92978 | affected |
| Linux | Linux | 28a1295795d85a25f2e7dd391c43969e95fcb341 < 3345746e0957bce6c53644838e4955710a82a962 | affected |
| Linux | Linux | 28a1295795d85a25f2e7dd391c43969e95fcb341 < a57d94026cb4fd7b3d258f0db2ad391cbccfaba5 | affected |
| Linux | Linux | 28a1295795d85a25f2e7dd391c43969e95fcb341 < 47d82b605351c0e04f6365e42c8ffe2fcfdba615 | affected |
| Linux | Linux | 6.6 | affected |
| Linux | Linux | 0 < 6.6 | unaffected |
| Linux | Linux | 6.6.157 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.110 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.51 <= 6.18.* | unaffected |
| Linux | Linux | 7.2.5 <= 7.2.* | unaffected |
| Linux | Linux | 7.3-rc1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/d273571e531405426983c6a45ec635c7d0415eed
- https://git.kernel.org/stable/c/caac13f518d83974e9884d1eeda3d4cc3bb92978
- https://git.kernel.org/stable/c/3345746e0957bce6c53644838e4955710a82a962
- https://git.kernel.org/stable/c/a57d94026cb4fd7b3d258f0db2ad391cbccfaba5
- https://git.kernel.org/stable/c/47d82b605351c0e04f6365e42c8ffe2fcfdba615
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.