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 __v4l2subdevstate_alloc(), 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 v4l2subdevcallstatetry().