CVE-2022-48805

Source
https://cve.org/CVERecord?id=CVE-2022-48805
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48805.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48805
Downstream
Related
Published
2024-07-16T11:43:56.950Z
Modified
2026-04-11T12:41:19.023203Z
Summary
net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
Details

In the Linux kernel, the following vulnerability has been resolved:

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

ax88179rxfixup() contains several out-of-bounds accesses that can be triggered by a malicious (or defective) USB device, in particular:

  • The metadata array (hdroff..hdroff+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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48805.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e2ca90c276e1fc410d7cd3c1a4eee245ec902a20
Fixed
711b6bf3fb052f0a6b5b3205d50e30c0c2980382
Fixed
63f0cfb36c1f1964a59ce544156677601e2d8740
Fixed
1668781ed24da43498799aa4f65714a7de201930
Fixed
a0fd5492ee769029a636f1fb521716b022b1423d
Fixed
758290defe93a865a2880d10c5d5abd288b64b5d
Fixed
ffd0393adcdcefab7e131488e10dcfde5e02d6eb
Fixed
9681823f96a811268265f35307072ad80713c274
Fixed
57bc3d3ae8c14df3ceb4e17d26ddf9eeab304581

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48805.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.9.0
Fixed
4.9.303
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.268
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.231
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.180
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.101
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.24
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.16.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48805.json"