In the Linux kernel, the following vulnerability has been...
Moderate severity
Unreviewed
Published
Nov 19, 2024
to the GitHub Advisory Database
•
Updated Nov 27, 2024
Description
Published by the National Vulnerability Database
Nov 19, 2024
Published to the GitHub Advisory Database
Nov 19, 2024
Last updated
Nov 27, 2024
In the Linux kernel, the following vulnerability has been resolved:
media: vivid: fix buffer overwrite when using > 32 buffers
The maximum number of buffers that can be requested was increased to
64 for the video capture queue. But video capture used a must_blank
array that was still sized for 32 (VIDEO_MAX_FRAME). This caused an
out-of-bounds write when using buffer indices >= 32.
Create a new define MAX_VID_CAP_BUFFERS that is used to access the
must_blank array and set max_num_buffers for the video capture queue.
This solves a crash reported by:
References