CVE-2022-48805
net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
Check your servers for CVE-2022-48805
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-48805 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:
net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
ax88179_rx_fixup() contains several out-of-bounds accesses that can be triggered by a malicious (or defective) USB device, in particular:
- The metadata array (hdr_off..hdr_off+2*pkt_cnt) can be out of bounds, causing OOB reads and (on big-endian systems) OOB endianness flips. - A packet can overlap the metadata array, causing a later OOB endianness flip to corrupt data used by a cloned SKB that has already been handed off into the network stack. - A packet SKB can be constructed whose tail is far beyond its end, causing out-of-bounds heap data to be considered part of the SKB's data.
I have tested that this can be used by a malicious USB device to send a bogus ICMPv6 Echo Request and receive an ICMPv6 Echo Reply in response that contains random kernel heap data. It's probably also possible to get OOB writes from this on a little-endian system somehow - maybe by triggering skb_cow() via IP options processing -, but I haven't tested that.
Exploitation
EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 26.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 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 e2ca90c276e1fc410d7cd3c1a4eee245ec902a20, before 711b6bf3fb052f0a6b5b3205d50e30c0c2980382 affected from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20, before 63f0cfb36c1f1964a59ce544156677601e2d8740 affected from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20, before 1668781ed24da43498799aa4f65714a7de201930 affected from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20, before a0fd5492ee769029a636f1fb521716b022b1423d affected from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20, before 758290defe93a865a2880d10c5d5abd288b64b5d affected from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20, before ffd0393adcdcefab7e131488e10dcfde5e02d6eb affected from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20, before 9681823f96a811268265f35307072ad80713c274 affected from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20, before 57bc3d3ae8c14df3ceb4e17d26ddf9eeab304581
Other versions: unaffected
|
| Linux |
affected 3.9 unaffected before 3.9 unaffected from 4.9.303 up to and including 4.9.* unaffected from 4.14.268 up to and including 4.14.* unaffected from 4.19.231 up to and including 4.19.* unaffected from 5.4.180 up to and including 5.4.* unaffected from 5.10.101 up to and including 5.10.* unaffected from 5.15.24 up to and including 5.15.* unaffected from 5.16.10 up to and including 5.16.* unaffected 5.17 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-48805 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48805
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-48805
trivy image --scanners vuln IMAGE | grep CVE-2022-48805
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/711b6bf3fb052f0a6b5b3205d50e30c0c2980382 git.kernel.org
- https://git.kernel.org/stable/c/63f0cfb36c1f1964a59ce544156677601e2d8740 git.kernel.org
- https://git.kernel.org/stable/c/1668781ed24da43498799aa4f65714a7de201930 git.kernel.org
- https://git.kernel.org/stable/c/a0fd5492ee769029a636f1fb521716b022b1423d git.kernel.org
- https://git.kernel.org/stable/c/758290defe93a865a2880d10c5d5abd288b64b5d git.kernel.org
- https://git.kernel.org/stable/c/ffd0393adcdcefab7e131488e10dcfde5e02d6eb git.kernel.org
- https://git.kernel.org/stable/c/9681823f96a811268265f35307072ad80713c274 git.kernel.org
- https://git.kernel.org/stable/c/57bc3d3ae8c14df3ceb4e17d26ddf9eeab304581 git.kernel.org
Source: the record CVE-2022-48805 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