In the Linux kernel, the following vulnerability has been resolved: media: v4l: async: Fix NULL pointer dereference in adding ancillary links In v4l2_async_create_ancillary_links(), ancillary links are created for lens and flash sub-devices. These are sub-device to sub-device links and if the async notifier is related to a V4L2 device, the source sub-device of the ancillary link is NULL, leading to a NULL pointer dereference. Check the notifier's sd field is non-NULL in v4l2_async_create_ancillary_links(). [Sakari Ailus: Reword the subject and commit messages slightly.]
https://git.kernel.org/stable/c/fe0f92fd5320b393e44ca210805e653ea90cc982
https://git.kernel.org/stable/c/b87e28050d9b0959de24574d587825cfab2f13fb
https://git.kernel.org/stable/c/9b4667ea67854f0b116fe22ad11ef5628c5b5b5f
https://git.kernel.org/stable/c/249212ceb4187783af3801c57b92a5a25d410621