CVE-2022-48948

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

HIGH
7.8
CVSS Score
Published: October 21, 2024 at 08:05 PM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.35 ≤ v < 4.14.3032.6.35 ≤ v < 4.19.2702.6.35 ≤ v < 4.9.3372.6.35 ≤ v < 5.10.1612.6.35 ≤ v < 5.15.852.6.35 ≤ v < 5.4.2292.6.35 ≤ v < 6.0.152.6.35 ≤ v < 6.1.12.6.35 ≤ v < 6.24.10 ≤ v < 4.14.3034.15 ≤ v < 4.19.2704.20 ≤ v < 5.4.2295.11 ≤ v < 5.15.855.16 ≤ v < 6.0.155.5 ≤ v < 5.10.1616.1cdda479f15cd13fa50a913ca85129c0437cc7b91
Vendor states this is fixed in 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5 (fixed)
Vendor states this is fixed in 4972e3528b968665b596b5434764ff8fd9446d35 (fixed)
Vendor states this is fixed in 4c92670b16727365699fe4b19ed32013bab2c107 (fixed)
Vendor states this is fixed in 6b41a35b41f77821db24f2d8f66794b390a585c5 (fixed)
Vendor states this is fixed in 7b1f773277a72f9756d47a41b94e43506cce1954 (fixed)
Vendor states this is fixed in b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be (fixed)
Vendor states this is fixed in bc8380fe5768c564f921f7b4eaba932e330b9e4b (fixed)
Vendor states this is fixed in c79538f32df12887f110dcd6b9c825b482905f24 (fixed)
Vendor states this is fixed in d1a92bb8d697f170d93fe922da763d7d156b8841 (fixed)
Vendor states this is fixed in 2.6.35 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.9.337 (unaffected)
Vendor states this is fixed in 5.10.161 (unaffected)
Vendor states this is fixed in 5.15.85 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.15 (unaffected)
Vendor states this is fixed in 6.1.1 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4972e3528b968665b596b5434764ff8fd9446d35
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4c92670b16727365699fe4b19ed32013bab2c107
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6b41a35b41f77821db24f2d8f66794b390a585c5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7b1f773277a72f9756d47a41b94e43506cce1954
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bc8380fe5768c564f921f7b4eaba932e330b9e4b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c79538f32df12887f110dcd6b9c825b482905f24

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-120

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card