Bug 2393159 (CVE-2025-38680) - CVE-2025-38680 kernel: media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()
Summary: CVE-2025-38680 kernel: media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_...
Keywords:
Status: NEW
Alias: CVE-2025-38680
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-04 16:01 UTC by OSIDB Bzimport
Modified: 2025-09-06 00:46 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-04 16:01:43 UTC
In the Linux kernel, the following vulnerability has been resolved:

media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()

The buffer length check before calling uvc_parse_format() only ensured
that the buffer has at least 3 bytes (buflen > 2), buf the function
accesses buffer[3], requiring at least 4 bytes.

This can lead to an out-of-bounds read if the buffer has exactly 3 bytes.

Fix it by checking that the buffer has at least 4 bytes in
uvc_parse_format().


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