CVE-2022-48948

Source
https://cve.org/CVERecord?id=CVE-2022-48948
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48948.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48948
Downstream
Related
Published
2024-10-21T20:05:37.122Z
Modified
2026-03-20T12:22:02.864586Z
Summary
usb: gadget: uvc: Prevent buffer overflow in setup handler
Details

In the Linux kernel, the following vulnerability has been resolved:

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

Setup function uvcfunctionsetup permits control transfer requests with up to 64 bytes of payload (UVCMAXREQUESTSIZE), data stage handler for OUT transfer uses memcpy to copy req->actual bytes to uvcevent->data.data array of size 60. This may result in an overflow of 4 bytes.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48948.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cdda479f15cd13fa50a913ca85129c0437cc7b91
Fixed
4972e3528b968665b596b5434764ff8fd9446d35
Fixed
06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5
Fixed
bc8380fe5768c564f921f7b4eaba932e330b9e4b
Fixed
b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be
Fixed
c79538f32df12887f110dcd6b9c825b482905f24
Fixed
6b41a35b41f77821db24f2d8f66794b390a585c5
Fixed
7b1f773277a72f9756d47a41b94e43506cce1954
Fixed
d1a92bb8d697f170d93fe922da763d7d156b8841
Fixed
4c92670b16727365699fe4b19ed32013bab2c107

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48948.json"