CVE-2022-48948
usb: gadget: uvc: Prevent buffer overflow in setup handler
Check your servers for CVE-2022-48948
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-48948 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cdda479f15cd13fa50a913ca85129c0437cc7b91, before 4972e3528b968665b596b5434764ff8fd9446d35 affected from cdda479f15cd13fa50a913ca85129c0437cc7b91, before 06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5 affected from cdda479f15cd13fa50a913ca85129c0437cc7b91, before bc8380fe5768c564f921f7b4eaba932e330b9e4b affected from cdda479f15cd13fa50a913ca85129c0437cc7b91, before b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be affected from cdda479f15cd13fa50a913ca85129c0437cc7b91, before c79538f32df12887f110dcd6b9c825b482905f24 affected from cdda479f15cd13fa50a913ca85129c0437cc7b91, before 6b41a35b41f77821db24f2d8f66794b390a585c5 affected from cdda479f15cd13fa50a913ca85129c0437cc7b91, before 7b1f773277a72f9756d47a41b94e43506cce1954 affected from cdda479f15cd13fa50a913ca85129c0437cc7b91, before d1a92bb8d697f170d93fe922da763d7d156b8841 affected from cdda479f15cd13fa50a913ca85129c0437cc7b91, before 4c92670b16727365699fe4b19ed32013bab2c107
Other versions: unaffected
|
| Linux |
affected 2.6.35 unaffected before 2.6.35 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.161 up to and including 5.10.* unaffected from 5.15.85 up to and including 5.15.* unaffected from 6.0.15 up to and including 6.0.* unaffected from 6.1.1 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-48948 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48948
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-48948
trivy image --scanners vuln IMAGE | grep CVE-2022-48948
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4972e3528b968665b596b5434764ff8fd9446d35 git.kernel.org
- https://git.kernel.org/stable/c/06fd17ee92c8f1704c7e54ec0fd50ae0542a49a5 git.kernel.org
- https://git.kernel.org/stable/c/bc8380fe5768c564f921f7b4eaba932e330b9e4b git.kernel.org
- https://git.kernel.org/stable/c/b8fb1cba934ea122b50f13a4f9d6fc4fdc43d2be git.kernel.org
- https://git.kernel.org/stable/c/c79538f32df12887f110dcd6b9c825b482905f24 git.kernel.org
- https://git.kernel.org/stable/c/6b41a35b41f77821db24f2d8f66794b390a585c5 git.kernel.org
- https://git.kernel.org/stable/c/7b1f773277a72f9756d47a41b94e43506cce1954 git.kernel.org
- https://git.kernel.org/stable/c/d1a92bb8d697f170d93fe922da763d7d156b8841 git.kernel.org
- https://git.kernel.org/stable/c/4c92670b16727365699fe4b19ed32013bab2c107 git.kernel.org
Source: the record CVE-2022-48948 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse