Back
CVE-2022-48948
usb: gadget: uvc: Prevent buffer overflow in setup handler
High7.8EPSS 0.27%
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 81% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
- affected cdda479f15cd13fa50a913ca85129c0437cc7b91 – < 4972e3528b968665b596b5434764ff8fd9446d35
- affected cdda479f15cd13fa50a913ca85129c0437cc7b91 – < 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5
- affected cdda479f15cd13fa50a913ca85129c0437cc7b91 – < bc8380fe5768c564f921f7b4eaba932e330b9e4b
- affected cdda479f15cd13fa50a913ca85129c0437cc7b91 – < b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be
- affected cdda479f15cd13fa50a913ca85129c0437cc7b91 – < c79538f32df12887f110dcd6b9c825b482905f24
- affected cdda479f15cd13fa50a913ca85129c0437cc7b91 – < 6b41a35b41f77821db24f2d8f66794b390a585c5
- affected cdda479f15cd13fa50a913ca85129c0437cc7b91 – < 7b1f773277a72f9756d47a41b94e43506cce1954
- affected cdda479f15cd13fa50a913ca85129c0437cc7b91 – < d1a92bb8d697f170d93fe922da763d7d156b8841
- affected cdda479f15cd13fa50a913ca85129c0437cc7b91 – < 4c92670b16727365699fe4b19ed32013bab2c107
- affected 2.6.35
- unaffected < 2.6.35
- unaffected 4.9.337 – ≤ 4.9.*
- unaffected 4.14.303 – ≤ 4.14.*
- unaffected 4.19.270 – ≤ 4.19.*
- unaffected 5.4.229 – ≤ 5.4.*
- unaffected 5.10.161 – ≤ 5.10.*
- unaffected 5.15.85 – ≤ 5.15.*
- unaffected 6.0.15 – ≤ 6.0.*
- unaffected 6.1.1 – ≤ 6.1.*
- unaffected 6.2 – ≤ *
References (9)
- https://git.kernel.org/stable/c/4972e3528b968665b596b5434764ff8fd9446d35 (opens in a new tab)
- https://git.kernel.org/stable/c/06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5 (opens in a new tab)
- https://git.kernel.org/stable/c/bc8380fe5768c564f921f7b4eaba932e330b9e4b (opens in a new tab)
- https://git.kernel.org/stable/c/b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be (opens in a new tab)
- https://git.kernel.org/stable/c/c79538f32df12887f110dcd6b9c825b482905f24 (opens in a new tab)
- https://git.kernel.org/stable/c/6b41a35b41f77821db24f2d8f66794b390a585c5 (opens in a new tab)
- https://git.kernel.org/stable/c/7b1f773277a72f9756d47a41b94e43506cce1954 (opens in a new tab)
- https://git.kernel.org/stable/c/d1a92bb8d697f170d93fe922da763d7d156b8841 (opens in a new tab)
- https://git.kernel.org/stable/c/4c92670b16727365699fe4b19ed32013bab2c107 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-48948)Record last updated .