CVE-2022-48948 json
usb: gadget: uvc: Prevent buffer overflow in setup handler
published 2024-10-21 2 y ago modified 2026-06-17 4 mo ago also EUVD-2022-53827
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.161, 5.15.85, 6.0.15, 6.1.1, 6.2
- linux Debian 14, Debian 13, Debian 12 6.1.4-1
debian advisories DEBIAN-CVE-2022-48948
- linux Ubuntu 18.04 LTS 4.15.0-208.220
- linux Ubuntu 20.04 LTS 5.4.0-144.161
- linux Ubuntu 22.04 LTS 5.15.0-67.74
- linux-aws Ubuntu 18.04 LTS 4.15.0-1153.166
- linux-aws Ubuntu 20.04 LTS 5.4.0-1097.105
- linux-aws Ubuntu 22.04 LTS 5.15.0-1031.35
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1101.110
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1030.37
ubuntu advisories UBUNTU-CVE-2022-48948
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-64kb SLE Module for Basesystem 15 SP5 5.14.21-150500.55.88.1
- kernel-syms SLE Module for Development Tools 15 SP5 5.14.21-150500.55.88.1
- kernel-source SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5 5.14.21-150500.55.88.1
- kernel-default SLE Module for Legacy 15 SP5, SLE Module for Basesystem 15 SP5, SLE Micro 5.5 +2 more 5.14.21-150500.55.88.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP5 5.14.21-150500.55.88.1
- kernel-obs-build SLE Module for Development Tools 15 SP5 5.14.21-150500.55.88.1
- kernel-default-base SLE Module for Basesystem 15 SP5, SLE Micro 5.5 5.14.21-150500.55.88.1.150500.6.39.4
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.141.1
suse advisories SUSE-SU-2024:4364-1SUSE-SU-2024:4131-1SUSE-SU-2024:4082-1SUSE-SU-2024:3985-1SUSE-SU-2024:3983-1
- git.kernel.org/stable/c/4972e3528b968665b596b5434764ff8fd9446d35 commit
- git.kernel.org/stable/c/06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5 commit
- git.kernel.org/stable/c/bc8380fe5768c564f921f7b4eaba932e330b9e4b commit
- git.kernel.org/stable/c/b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be commit
- git.kernel.org/stable/c/c79538f32df12887f110dcd6b9c825b482905f24 commit
- git.kernel.org/stable/c/6b41a35b41f77821db24f2d8f66794b390a585c5 commit
- git.kernel.org/stable/c/7b1f773277a72f9756d47a41b94e43506cce1954 commit
- git.kernel.org/stable/c/d1a92bb8d697f170d93fe922da763d7d156b8841 commit
- git.kernel.org/stable/c/4c92670b16727365699fe4b19ed32013bab2c107 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-48948 updated cvss 7.8
kernel: usb: gadget: uvc: Prevent buffer overflow in setup handler
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
- Technology feeds
References
-
git.kernel.org
/stable/c/4972e3528b968665b596b5434764ff8fd9446d35
patch
-
git.kernel.org
/stable/c/06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5
patch
-
git.kernel.org
/stable/c/bc8380fe5768c564f921f7b4eaba932e330b9e4b
patch
-
git.kernel.org
/stable/c/b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be
patch
-
git.kernel.org
/stable/c/c79538f32df12887f110dcd6b9c825b482905f24
patch
-
git.kernel.org
/stable/c/6b41a35b41f77821db24f2d8f66794b390a585c5
patch
-
git.kernel.org
/stable/c/7b1f773277a72f9756d47a41b94e43506cce1954
patch
-
git.kernel.org
/stable/c/d1a92bb8d697f170d93fe922da763d7d156b8841
patch
-
git.kernel.org
/stable/c/4c92670b16727365699fe4b19ed32013bab2c107
patch
Sources
- CVE List CVE-2022-48948
- NVD CVE-2022-48948
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.