# CVE-2024-50288: media: vivid: fix buffer overwrite when using > 32 buffers

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2024-11-19T01:30:32.682Z
- Modified: 2026-08-05T11:43:06.881Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from cea70ed416b428f8214be196d62cc7ffaa11f1b8 before e6bacd8f2178b22859fe6d9f755f19dfcd9d3862; from cea70ed416b428f8214be196d62cc7ffaa11f1b8 before 96d8569563916fe2f8fe17317e20e43f54f9ba4b; 6.8 (not affected: before 6.8; from 6.11.8 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.8 before 6.11.8; 6.12

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e6bacd8f2178b22859fe6d9f755f19dfcd9d3862> (patch)
- <https://git.kernel.org/stable/c/96d8569563916fe2f8fe17317e20e43f54f9ba4b> (patch)

## Sources

- CVE List: [CVE-2024-50288](https://www.cve.org/CVERecord?id=CVE-2024-50288), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-50288](https://nvd.nist.gov/vuln/detail/CVE-2024-50288), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-50288 · Whole record: https://cve.day/CVE-2024-50288.json · Rebuilt by cve.day 2026-11-25T22:58:48.415Z
