CVE-2024-50288

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
19/11/2024
Last modified:
27/11/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> media: vivid: fix buffer overwrite when using &gt; 32 buffers<br /> <br /> The maximum number of buffers that can be requested was increased to<br /> 64 for the video capture queue. But video capture used a must_blank<br /> array that was still sized for 32 (VIDEO_MAX_FRAME). This caused an<br /> out-of-bounds write when using buffer indices &gt;= 32.<br /> <br /> Create a new define MAX_VID_CAP_BUFFERS that is used to access the<br /> must_blank array and set max_num_buffers for the video capture queue.<br /> <br /> This solves a crash reported by:<br /> <br /> https://bugzilla.kernel.org/show_bug.cgi?id=219258

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.8 (including) 6.11.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:*