What’s Vulnerable › Vulnerabilities
CVE-2024-50288: media: vivid: fix buffer overwrite when using > 32 buffers
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-19 · updated 2026-08-04
- Weakness: CWE-787
Description
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 products
- Linux kernel: from 6.8 before 6.11.8; 6.12-rc1, 6.12-rc2, 6.12-rc3, 6.12-rc4, 6.12-rc5, 6.12-rc6 — fixed in 6.11.8
How to fix
Upgrade to a fixed version: Linux kernel 6.11.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/96d8569563916fe2f8fe17317e20e43f54f9ba4b
- https://git.kernel.org/stable/c/e6bacd8f2178b22859fe6d9f755f19dfcd9d3862
Get alerted when CVE-2024-50288 or the next vulnerability affects your stack