CVE-2024-50288: media: vivid: fix buffer overwrite when using > 32 buffers
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:
https://bugzilla.kernel.org/show_bug.cgi?id=219258
Security readout for executives and security teams
Plain-English summary
A flaw in Linux’s vivid media driver can write beyond an internal array when more than 32 video-capture buffers are used. The documented result is a kernel crash; the CVSS assessment also reflects possible confidentiality, integrity, and availability impact. Exploitation requires local, low-privileged access.
Executive priority
Prioritize affected multi-user, development, testing, or media-processing systems where local users can access vivid functionality. Treat internet-only exposure as unlikely from the supplied evidence. Remediate through normal high-severity kernel patching, accelerating systems with untrusted local users or accessible media devices.
Technical view
The capture queue allowed up to 64 buffers, while the must_blank array retained a 32-entry limit. Buffer indices 32 or higher therefore caused a CWE-787 out-of-bounds write. The referenced kernel changes introduce a consistent MAX_VID_CAP_BUFFERS limit for the array and queue.
Likely exposure
Exposure requires an affected Linux build, the vulnerable vivid capture path, and a local user able to request more than 32 buffers. The supplied version data references 6.8, 6.11.8, and 6.12 but is insufficiently clear to define a reliable range; confirm against vendor advisories and fix commits.
Exploitation context
The CVSS 3.1 score is 7.8 with local access, low complexity, low privileges, and no user interaction. The supplied sources document an out-of-bounds write and reported crash. This CVE is not listed as KEV, and the bundle provides no evidence of active exploitation or public weaponization.
Researcher notes
The source establishes an index-bound mismatch: a 64-buffer queue accessed a 32-entry array. A crash is confirmed, but stronger impact such as privilege escalation is not demonstrated in the bundle. Review both stable commits and downstream backports because version metadata alone is ambiguous. Avoid treating CVSS impact assumptions as proof of practical exploitation.
Mitigation direction
Update to a vendor-supported Linux kernel that incorporates the referenced stable fixes.
Check distribution or appliance vendor guidance for exact corrected package versions.
Restrict local access to systems where the vulnerable vivid media path is available.
If operationally acceptable, disable unnecessary vivid functionality until the corrected kernel is deployed.
Validation and detection
Inventory kernel builds on systems where vivid media functionality may be available.
Confirm corrected packages contain one of the referenced stable fixes or an equivalent backport.
Verify whether the vivid driver and affected video-capture queue are enabled or accessible.
After updating, confirm systems boot normally and report the intended corrected kernel build.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-787: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-787 · source CWE mapping
Out-of-bounds Write
Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.