CVE-2024-50288

published 19 Nov 2024 · updated 5 Aug 2026

media: vivid: fix buffer overwrite when using > 32 buffers

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 96d8569563916fe2f8fe17317e20e43f54f9ba4b and Kernel e6bacd8f2178b22859fe6d9f755f19dfcd9d3862.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.8, >=cea70ed416b428f8214be196d62cc7ffaa11f1b8 <96d8569563916fe2f8fe17317e20e43f54f9ba4b, >=cea70ed416b428f8214be196d62cc7ffaa11f1b8 <e6bacd8f2178b22859fe6d9f755f19dfcd9d386296d8569563916fe2f8fe17317e20e43f54f9ba4b, e6bacd8f2178b22859fe6d9f755f19dfcd9d3862

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50288 severity on Zeptric[![CVE-2024-50288](https://zeptric.io/badge/cve/CVE-2024-50288.svg)](https://zeptric.io/cve/CVE-2024-50288)