Bug 2327181 (CVE-2024-50288) - CVE-2024-50288 kernel: media: vivid: fix buffer overwrite when using > 32 buffers
Summary: CVE-2024-50288 kernel: media: vivid: fix buffer overwrite when using > 32 buf...
Keywords:
Status: NEW
Alias: CVE-2024-50288
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2327239
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-19 02:02 UTC by OSIDB Bzimport
Modified: 2024-11-21 19:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-11-19 02:02:14 UTC
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

Comment 1 Avinash Hanwate 2024-11-19 05:27:44 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024111950-CVE-2024-50288-1c5d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.