CVEvulnerability

CVE-2022-48805

7.8 HIGH Published 2024-07-16 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-07-16
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-125

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 configurations

• linux linux kernel (>= 3.9 < 4.9.303) • linux linux kernel (>= 4.10 < 4.14.268) • linux linux kernel (>= 4.15 < 4.19.231) • linux linux kernel (>= 4.20 < 5.4.180) • linux linux kernel (>= 5.5 < 5.10.101) • linux linux kernel (>= 5.11 < 5.15.24) • linux linux kernel (>= 5.16 < 5.16.10) • linux linux kernel 5.17

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References