media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1e269581b3aa5962fdc52757ab40da286168c087, Kernel 5.4.297, Kernel 5.15.190 and 14 more.
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().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c0efd232929c2cd87238de2cccdaf4e845be5b0c <1e269581b3aa5962fdc52757ab40da286168c087, >=2.6.27 <5.4.297, >=5.11 <5.15.190, >=5.16 <6.1.149, >=5.5 <5.10.241, >=6.13 <6.15.11, >=6.16 <6.16.2, >=6.2 <6.6.103, >=6.7 <6.12.43, =2.6.26, >=c0efd232929c2cd87238de2cccdaf4e845be5b0c <ffdd82182953df643aa63d999b6f1653d0c93778, >=c0efd232929c2cd87238de2cccdaf4e845be5b0c <cac702a439050df65272c49184aef7975fe3eff2, >=c0efd232929c2cd87238de2cccdaf4e845be5b0c <a97e062e4ff3dab84a2f1eb811e9eddc6699e2a9, >=c0efd232929c2cd87238de2cccdaf4e845be5b0c <9ad554217c9b945031c73df4e8176a475e2dea57, >=c0efd232929c2cd87238de2cccdaf4e845be5b0c <8343f3fe0b755925f83d60b05e92bf4396879758, >=c0efd232929c2cd87238de2cccdaf4e845be5b0c <782b6a718651eda3478b1824b37a8b3185d2740c, >=c0efd232929c2cd87238de2cccdaf4e845be5b0c <6d4a7c0b296162354b6fc759a1475b9d57ddfaa6, >=c0efd232929c2cd87238de2cccdaf4e845be5b0c <424980d33b3f816485513e538610168b03fab9f1 | 1e269581b3aa5962fdc52757ab40da286168c087, 5.4.297, 5.15.190, 6.1.149, 5.10.241, 6.15.11, 6.16.2, 6.6.103, 6.12.43, ffdd82182953df643aa63d999b6f1653d0c93778, cac702a439050df65272c49184aef7975fe3eff2, a97e062e4ff3dab84a2f1eb811e9eddc6699e2a9, 9ad554217c9b945031c73df4e8176a475e2dea57, 8343f3fe0b755925f83d60b05e92bf4396879758, 782b6a718651eda3478b1824b37a8b3185d2740c, 6d4a7c0b296162354b6fc759a1475b9d57ddfaa6, 424980d33b3f816485513e538610168b03fab9f1 |
| debian | debian_linux | =11.0 | |
| linux-kernel: Kernel | >=6.7.0 <6.12.43, >=6.2.0 <6.6.103, >=6.16.0 <6.16.2, >=6.13.0 <6.15.11, >=5.5.0 <5.10.241, >=5.16.0 <6.1.149, >=5.11.0 <5.15.190, >=2.6.26 <5.4.297 | 6.12.43, 6.6.103, 6.16.2, 6.15.11, 5.10.241, 6.1.149, 5.15.190, 5.4.297 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket