7.8high
net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.33% (higher than 18% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 before 711b6bf3fb052f0a6b5b3205d50e30c0c2980382, from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 before 63f0cfb36c1f1964a59ce544156677601e2d8740, from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 before 1668781ed24da43498799aa4f65714a7de201930, from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 before a0fd5492ee769029a636f1fb521716b022b1423d, from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 before 758290defe93a865a2880d10c5d5abd288b64b5d, from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 before ffd0393adcdcefab7e131488e10dcfde5e02d6eb, from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 before 9681823f96a811268265f35307072ad80713c274, from e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 before 57bc3d3ae8c14df3ceb4e17d26ddf9eeab304581 and 1 more Not affected: before 3.9, from 4.9.303 up to 4.9.*, from 4.14.268 up to 4.14.*, from 4.19.231 up to 4.19.*, from 5.4.180 up to 5.4.*, from 5.10.101 up to 5.10.* | CVE List |
| linux linux_kernel | from 3.9 before 4.9.303, from 4.10 before 4.14.268, from 4.15 before 4.19.231, from 4.20 before 5.4.180, from 5.5 before 5.10.101, from 5.11 before 5.15.24, from 5.16 before 5.16.10, 5.17 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: usb: ax88179_178a: Reparar accesos fuera de los límites en RX fixup ax88179_rx_fixup() contiene varios accesos fuera de los límites que pueden ser activados por un archivo malicioso (o defectuoso). Dispositivo USB, en particular: - La matriz de metadatos (hdr_off..hdr_off+2*pkt_cnt) puede estar fuera de los límites, provocando lecturas OOB y (en sistemas big-endian) cambios de endianidad OOB. - Un paquete puede superponerse a la matriz de metadatos, lo que provoca un cambio de endianidad OOB posterior que corrompe los datos utilizados por un SKB clonado que ya se ha transferido a la pila de red. - Se puede construir un paquete SKB cuya cola esté mucho más allá de su extremo, lo que hace que los datos del montón fuera de los límites se consideren parte de los datos del SKB. He probado que esto puede ser utilizado por un dispositivo USB malicioso para enviar una solicitud de eco ICMPv6 falsa y recibir una respuesta de eco ICMPv6 en respuesta que contiene datos aleatorios del montón del kernel. Probablemente también sea posible obtener escrituras OOB a partir de esto en un sistema little-endian de alguna manera, tal vez activando skb_cow() a través del procesamiento de opciones de IP, pero no lo he probado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-48805 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-48805 changed 2026-06-17 | Public domain |