CVE-2024-50288

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50288
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50288.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-50288
Downstream
Related
Published
2024-11-19T01:30:32Z
Modified
2025-10-15T17:57:10.014538Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
media: vivid: fix buffer overwrite when using > 32 buffers
Details

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 mustblank array that was still sized for 32 (VIDEOMAX_FRAME). This caused an out-of-bounds write when using buffer indices >= 32.

Create a new define MAXVIDCAPBUFFERS that is used to access the mustblank array and set maxnumbuffers for the video capture queue.

This solves a crash reported by:

https://bugzilla.kernel.org/show_bug.cgi?id=219258
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cea70ed416b428f8214be196d62cc7ffaa11f1b8
Fixed
e6bacd8f2178b22859fe6d9f755f19dfcd9d3862
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cea70ed416b428f8214be196d62cc7ffaa11f1b8
Fixed
96d8569563916fe2f8fe17317e20e43f54f9ba4b

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.11.1
v6.11.2
v6.11.3
v6.11.4
v6.11.5
v6.11.6
v6.11.7
v6.12-rc1
v6.7
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.11.8