CVE-2022-48948

published 21 Oct 2024 · updated 11 May 2026

usb: gadget: uvc: Prevent buffer overflow in setup handler

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5, Kernel 4972e3528b968665b596b5434764ff8fd9446d35, Kernel 4c92670b16727365699fe4b19ed32013bab2c107 and 6 more.

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uvc: Prevent buffer overflow in setup handler Setup function uvc_function_setup permits control transfer requests with up to 64 bytes of payload (UVC_MAX_REQUEST_SIZE), data stage handler for OUT transfer uses memcpy to copy req->actual bytes to uvc_event->data.data array of size 60. This may result in an overflow of 4 bytes.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.35, >=cdda479f15cd13fa50a913ca85129c0437cc7b91 <06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5, >=cdda479f15cd13fa50a913ca85129c0437cc7b91 <4972e3528b968665b596b5434764ff8fd9446d35, >=cdda479f15cd13fa50a913ca85129c0437cc7b91 <4c92670b16727365699fe4b19ed32013bab2c107, >=cdda479f15cd13fa50a913ca85129c0437cc7b91 <6b41a35b41f77821db24f2d8f66794b390a585c5, >=cdda479f15cd13fa50a913ca85129c0437cc7b91 <7b1f773277a72f9756d47a41b94e43506cce1954, >=cdda479f15cd13fa50a913ca85129c0437cc7b91 <b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be, >=cdda479f15cd13fa50a913ca85129c0437cc7b91 <bc8380fe5768c564f921f7b4eaba932e330b9e4b, >=cdda479f15cd13fa50a913ca85129c0437cc7b91 <c79538f32df12887f110dcd6b9c825b482905f24, >=cdda479f15cd13fa50a913ca85129c0437cc7b91 <d1a92bb8d697f170d93fe922da763d7d156b884106fd17ee92c8f1704c7e54ec0fd50ae0542a49a5, 4972e3528b968665b596b5434764ff8fd9446d35, 4c92670b16727365699fe4b19ed32013bab2c107, 6b41a35b41f77821db24f2d8f66794b390a585c5, 7b1f773277a72f9756d47a41b94e43506cce1954, b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be, bc8380fe5768c564f921f7b4eaba932e330b9e4b, c79538f32df12887f110dcd6b9c825b482905f24, d1a92bb8d697f170d93fe922da763d7d156b8841

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-48948 severity on Zeptric[![CVE-2022-48948](https://zeptric.io/badge/cve/CVE-2022-48948.svg)](https://zeptric.io/cve/CVE-2022-48948)