CVE-2022-48805
Linux Kernel USB ax88179 Out-of-Bounds Access Vulnerability
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.
INFO
Published Date :
July 16, 2024, 12:15 p.m.
Last Modified :
March 6, 2025, 12:53 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2022-48805 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-48805
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Tcl SystemVerilog Makefile Assembly C VHDL Shell CMake Python Batchfile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-48805
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-48805
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 06, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 from (excluding) 5.4.180 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 from (excluding) 5.10.101 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 from (excluding) 5.15.24 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.9 from (excluding) 4.9.303 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 from (excluding) 4.14.268 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 from (excluding) 4.19.231 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 from (excluding) 5.16.10 Added Reference Type CVE: https://git.kernel.org/stable/c/1668781ed24da43498799aa4f65714a7de201930 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1668781ed24da43498799aa4f65714a7de201930 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/57bc3d3ae8c14df3ceb4e17d26ddf9eeab304581 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/57bc3d3ae8c14df3ceb4e17d26ddf9eeab304581 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/63f0cfb36c1f1964a59ce544156677601e2d8740 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/63f0cfb36c1f1964a59ce544156677601e2d8740 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/711b6bf3fb052f0a6b5b3205d50e30c0c2980382 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/711b6bf3fb052f0a6b5b3205d50e30c0c2980382 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/758290defe93a865a2880d10c5d5abd288b64b5d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/758290defe93a865a2880d10c5d5abd288b64b5d Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/9681823f96a811268265f35307072ad80713c274 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9681823f96a811268265f35307072ad80713c274 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/a0fd5492ee769029a636f1fb521716b022b1423d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a0fd5492ee769029a636f1fb521716b022b1423d Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/ffd0393adcdcefab7e131488e10dcfde5e02d6eb Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ffd0393adcdcefab7e131488e10dcfde5e02d6eb Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/1668781ed24da43498799aa4f65714a7de201930 Added Reference https://git.kernel.org/stable/c/57bc3d3ae8c14df3ceb4e17d26ddf9eeab304581 Added Reference https://git.kernel.org/stable/c/63f0cfb36c1f1964a59ce544156677601e2d8740 Added Reference https://git.kernel.org/stable/c/711b6bf3fb052f0a6b5b3205d50e30c0c2980382 Added Reference https://git.kernel.org/stable/c/758290defe93a865a2880d10c5d5abd288b64b5d Added Reference https://git.kernel.org/stable/c/9681823f96a811268265f35307072ad80713c274 Added Reference https://git.kernel.org/stable/c/a0fd5492ee769029a636f1fb521716b022b1423d Added Reference https://git.kernel.org/stable/c/ffd0393adcdcefab7e131488e10dcfde5e02d6eb -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 16, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/711b6bf3fb052f0a6b5b3205d50e30c0c2980382 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/63f0cfb36c1f1964a59ce544156677601e2d8740 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1668781ed24da43498799aa4f65714a7de201930 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/a0fd5492ee769029a636f1fb521716b022b1423d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/758290defe93a865a2880d10c5d5abd288b64b5d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ffd0393adcdcefab7e131488e10dcfde5e02d6eb [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/9681823f96a811268265f35307072ad80713c274 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/57bc3d3ae8c14df3ceb4e17d26ddf9eeab304581 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-48805
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-48805
weaknesses.