CVE-2022-48805

net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup

State
Published
Severity
Not scored
Published
Jul 16, 2024
Updated
May 11, 2026
Reserved
Jul 16, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 to before 711b6bf3fb052f0a6b5b3205d50e30c0c2980382Affected
  • e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 to before 63f0cfb36c1f1964a59ce544156677601e2d8740Affected
  • e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 to before 1668781ed24da43498799aa4f65714a7de201930Affected
  • e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 to before a0fd5492ee769029a636f1fb521716b022b1423dAffected
  • e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 to before 758290defe93a865a2880d10c5d5abd288b64b5dAffected
  • e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 to before ffd0393adcdcefab7e131488e10dcfde5e02d6ebAffected
  • e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 to before 9681823f96a811268265f35307072ad80713c274Affected
  • e2ca90c276e1fc410d7cd3c1a4eee245ec902a20 to before 57bc3d3ae8c14df3ceb4e17d26ddf9eeab304581Affected
LinuxLinux
  • 3.9Affected
  • before 3.9Not affected
  • 4.9.303 through 4.9.*Not affected
  • 4.14.268 through 4.14.*Not affected
  • 4.19.231 through 4.19.*Not affected
  • 5.4.180 through 5.4.*Not affected
  • 5.10.101 through 5.10.*Not affected
  • 5.15.24 through 5.15.*Not affected
  • 5.16.10 through 5.16.*Not affected
  • 5.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.