net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.14.268, 4.19.231, 4.9.303, 5.10.101, 5.15.24, 5.16.10, 5.4.180
- CVEs
- CVE-2022-48805
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:46 UTC · Revision 1
Source evidence
net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
core-osv · Original sourcePublished 16 Jul 2024, 11:43 UTC
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.
osv:CVE-2022-48805
Kernel
Fixed versions: 4.9.303, 4.14.268, 4.19.231, 5.4.180, 5.10.101, 5.15.24, 5.16.10
Complete source record
{
"id": "6606dbab4ec1272d0fe2346b8f4fa1bf636f5b73cbb365641baabd0d18b6c094",
"url": "https://osv.dev/vulnerability/CVE-2022-48805",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup",
"summary": "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.",
"evidence": "osv:CVE-2022-48805",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.9.303",
"evidence": "/affected/1/ranges"
},
{
"value": "4.14.268",
"evidence": "/affected/1/ranges"
},
{
"value": "4.19.231",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.180",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.101",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.24",
"evidence": "/affected/1/ranges"
},
{
"value": "5.16.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2022-48805",
"aliases": [
"CVE-2022-48805"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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/cve-osv-conversion/osv-output/CVE-2022-48805.json"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48805.json"
}
}
],
"modified": "2026-10-28T02:30:30.295186087Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1668781ed24da43498799aa4f65714a7de201930",
"https://git.kernel.org/stable/c/57bc3d3ae8c14df3ceb4e17d26ddf9eeab304581",
"https://git.kernel.org/stable/c/63f0cfb36c1f1964a59ce544156677601e2d8740",
"https://git.kernel.org/stable/c/711b6bf3fb052f0a6b5b3205d50e30c0c2980382",
"https://git.kernel.org/stable/c/758290defe93a865a2880d10c5d5abd288b64b5d",
"https://git.kernel.org/stable/c/9681823f96a811268265f35307072ad80713c274",
"https://git.kernel.org/stable/c/a0fd5492ee769029a636f1fb521716b022b1423d",
"https://git.kernel.org/stable/c/ffd0393adcdcefab7e131488e10dcfde5e02d6eb",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48805.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-48805",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48805.json"
}
},
"related_cves": [
{
"value": "CVE-2022-48805",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 496974,
"published_at": "2024-07-16T11:43:56.95+00:00"
}