In the Linux kernel, the following vulnerability has been resolved: media: v4l2-subdev: Fix alloc failure check in v4l2subdevcallstatetry() v4l2subdevcallstatetry() macro allocates a subdev state with _v4l2subdevstatealloc(), but does not check the returned value. If _v4l2subdevstatealloc fails, it returns an ERRPTR, and that would cause v4l2subdevcallstatetry() to crash. Add proper error handling to v4l2subdevcallstate_try().