CVE-2022-48948
usb: gadget: uvc: Prevent buffer overflow in setup handler
Mitigation
- Upgrade Linux to 4c92670b16727365699fe4b19ed32013bab2c107 or later.
Who should check
- Anyone running Linux >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 4972e3528b968665b596b5434764ff8fd9446d35; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < bc8380fe5768c564f921f7b4eaba932e330b9e4b; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < c79538f32df12887f110dcd6b9c825b482905f24; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 6b41a35b41f77821db24f2d8f66794b390a585c5; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 7b1f773277a72f9756d47a41b94e43506cce1954; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < d1a92bb8d697f170d93fe922da763d7d156b8841; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 4c92670b16727365699fe4b19ed32013bab2c107
- Anyone running Linux 2.6.35
Vulnerability facts
- Affected
- Linux >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 4972e3528b968665b596b5434764ff8fd9446d35; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < bc8380fe5768c564f921f7b4eaba932e330b9e4b; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < c79538f32df12887f110dcd6b9c825b482905f24; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 6b41a35b41f77821db24f2d8f66794b390a585c5; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 7b1f773277a72f9756d47a41b94e43506cce1954; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < d1a92bb8d697f170d93fe922da763d7d156b8841; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 4c92670b16727365699fe4b19ed32013bab2c107; Linux 2.6.35
- Fixed in
- Linux 4972e3528b968665b596b5434764ff8fd9446d35, Linux 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5, Linux 6b41a35b41f77821db24f2d8f66794b390a585c5, Linux 7b1f773277a72f9756d47a41b94e43506cce1954, Linux 4c92670b16727365699fe4b19ed32013bab2c107
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
- CWE
- CWE-120
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 4972e3528b968665b596b5434764ff8fd9446d35; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < bc8380fe5768c564f921f7b4eaba932e330b9e4b; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < c79538f32df12887f110dcd6b9c825b482905f24; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 6b41a35b41f77821db24f2d8f66794b390a585c5; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 7b1f773277a72f9756d47a41b94e43506cce1954; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < d1a92bb8d697f170d93fe922da763d7d156b8841; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 4c92670b16727365699fe4b19ed32013bab2c107 | — | cvelist |
| Linux | 2.6.35 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-48948. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-48948.md Affected: Linux >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 4972e3528b968665b596b5434764ff8fd9446d35; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < bc8380fe5768c564f921f7b4eaba932e330b9e4b; >= cdda479f15cd13fa50a913c… Fixed in: Linux 4972e3528b968665b596b5434764ff8fd9446d35, Linux 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5, Linux 6b41a35b41f77821db24f2d8f66794b390a585c5, Linux 7b1f773277a72f9756d47a41b94e43506cce1954, Linux 4c92670b16727365699fe4b19ed32013bab2c107 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/4972e3528b968665b596b5434764ff8fd9446d35
- https://git.kernel.org/stable/c/06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5
- https://git.kernel.org/stable/c/bc8380fe5768c564f921f7b4eaba932e330b9e4b
- https://git.kernel.org/stable/c/b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be
- https://git.kernel.org/stable/c/c79538f32df12887f110dcd6b9c825b482905f24
- https://git.kernel.org/stable/c/6b41a35b41f77821db24f2d8f66794b390a585c5
- https://git.kernel.org/stable/c/7b1f773277a72f9756d47a41b94e43506cce1954
- https://git.kernel.org/stable/c/d1a92bb8d697f170d93fe922da763d7d156b8841
- https://git.kernel.org/stable/c/4c92670b16727365699fe4b19ed32013bab2c107
FAQ
Is CVE-2022-48948 being exploited?
There is no confirmed exploitation: CVE-2022-48948 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-48948?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-48948?
Linux >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 4972e3528b968665b596b5434764ff8fd9446d35; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < bc8380fe5768c564f921f7b4eaba932e330b9e4b; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < c79538f32df12887f110dcd6b9c825b482905f24; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 6b41a35b41f77821db24f2d8f66794b390a585c5; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 7b1f773277a72f9756d47a41b94e43506cce1954; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < d1a92bb8d697f170d93fe922da763d7d156b8841; >= cdda479f15cd13fa50a913ca85129c0437cc7b91, < 4c92670b16727365699fe4b19ed32013bab2c107; Linux 2.6.35.
Is there a fix for CVE-2022-48948?
Yes. Fixed in Linux 4972e3528b968665b596b5434764ff8fd9446d35, Linux 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5, Linux 6b41a35b41f77821db24f2d8f66794b390a585c5, Linux 7b1f773277a72f9756d47a41b94e43506cce1954, Linux 4c92670b16727365699fe4b19ed32013bab2c107. Upgrade Linux to 4c92670b16727365699fe4b19ed32013bab2c107 or later.
How do I check if I'm affected by CVE-2022-48948?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.