[LTS 9.2-RT] media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_… #129
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
jira VULN-9666
cve CVE-2024-53104
commit-author Benoit Sevens bsevens@google.com
commit ecf2b43
This can lead to out of bounds writes since frames of this type were not taken into account when calculating the size of the frames buffer in uvc_parse_streaming.
Fixes: c0efd23 ("V4L/DVB (8145a): USB Video Class driver")
Signed-off-by: Benoit Sevens bsevens@google.com
Cc: stable@vger.kernel.org
Acked-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
Reviewed-by: Laurent Pinchart laurent.pinchart@ideasonboard.com
Signed-off-by: Hans Verkuil hverkuil@xs4all.nl
(cherry picked from commit ecf2b43)
Signed-off-by: Greg Rose g.v.rose@ciq.com
Builds and Loads
Full auto kernel test run commands and logs:
lts-9_2-rt-commands.log
lts-9_2-rt-build.log
Nothing remarkable about the kernel selftest logs.